Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

The type name contributor and the namespace URI com.ibm.team.repository do not resolve to IItemType

Plain java standalone (Java 1.6 and RTC 6.0.1) works fine locally, but it doesn't when hosted on WebSphere (8.5.5.0)

I'm getting this error:

[6/28/17 9:29:13:610 MDT] 00000137 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined.
[6/28/17 9:29:13:641 MDT] 00000137 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined.
[6/28/17 9:29:29:907 MDT] 00000137 StandaloneFil W com.ibm.team.repository.common.internal.util.StandaloneExtensionRegistry getBundleLocalization Could not open META-INF/MANIFEST.MF for bundle: jar:file:/C:/IBM/WebSphere/AppServer/lib/pc-appext.jar!/plugin.xml
[6/28/17 9:29:29:922 MDT] 00000137 StandaloneFil W com.ibm.team.repository.common.internal.util.StandaloneExtensionRegistry getBundleLocalization Could not open META-INF/MANIFEST.MF for bundle: jar:file:/C:/IBM/WebSphere/AppServer/lib/rrd-appext.jar!/plugin.xml
[6/28/17 9:29:33:876 MDT] 00000137 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /results.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: com.ibm.team.repository.client.internal.ContributorManager (initialization failure)
 at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
 at com.ibm._jsp._results._jspService(_results.java:137)
 at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
 at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
 at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:642)
 at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: java.lang.NoClassDefFoundError: com.ibm.team.repository.client.internal.ContributorManager (initialization failure)
 at java.lang.J9VMInternals.initialize(J9VMInternals.java:176)
 at com.ibm.team.repository.client.internal.TeamRepository.(TeamRepository.java:427)
 at com.ibm.team.repository.client.internal.TeamRepositoryService.createSharedTeamRepository(TeamRepositoryService.java:526)
 at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:113)
 at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:132)
 at rtcWiz.CreateWorkItem.run(CreateWorkItem.java:139)
 at rtcWiz.CreateWorkItem.createWI(CreateWorkItem.java:110)
 at com.ibm._jsp._results._jspService(_results.java:124)
 ... 29 more
Caused by: java.lang.IllegalArgumentException: The type name Contributor and the namespace URI com.ibm.team.repository do not resolve to an IItemType.
 at com.ibm.team.repository.common.internal.querypath.AbstractQueryPathModel$Implementation.getItemType(AbstractQueryPathModel.java:192)
 at com.ibm.team.repository.common.query.IQuery$Factory.newInstance(IQuery.java:93)
 at com.ibm.team.repository.client.internal.ContributorManager.createAllContributorsQuery(ContributorManager.java:72)
 at com.ibm.team.repository.client.internal.ContributorManager.(ContributorManager.java:60)
 at java.lang.J9VMInternals.initializeImpl(Native Method)
 at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
 ... 36 more

0 votes

Comments

The way you deployed the .jar file looks wrong to me. What is the purpose of this .jar file? If you're developing an extension, you have to go back to the workshop and double check how it should be done.

Its not a jar its a war file, I have searched the forum for similar questions but no clear answer, I've read the extension work shop as well but nothing relate to this.

The purpose of this application is to create Work Items on the server with some parameters given by the user using a form inside a Servlet/JSP/JSF. Ultimately I would like to guide the users to create WBS through UI and procedures I see fit. another word create my own conveyor belt for the generation of Work Items.

This is my main concern right now:

java.lang.NoClassDefFoundError: com.ibm.team.repository.client.internal.ContributorManager (initialization failure)    

None of those suggestions helped, can you please be more specific about what am I doing wrong?

You don't provide any useful information in your question. So start thinking  How should I ask a question in the Forum if I want to receive useful answers? and acting accordingly. Otherwise Google, or a search at Stackoverflow might be an option. 

showing 5 of 7 show 2 more comments

Accepted answer

Permanent link

class loader policy, and loading the servlet.jar were parts of the problem, not sure why loading the servlet jar stops the app from initializing

Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link

 How should I ask a question in the Forum if I want to receive useful answers?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,950

Question asked: Jun 28 '17, 12:37 p.m.

Question was seen: 3,238 times

Last updated: Feb 22 '18, 12:42 p.m.

Confirmation Cancel Confirm