It's all about the answers!

Ask a question

IQueryService Error connecting to WAS install


Shawn Lauzon (38174) | asked Aug 02 '07, 6:53 p.m.
I've gotten Jazz 1.0beta1 to work just fine with Tomcat, so now I'm trying to get it to work with WebSphere. The install seems to work great. I start the app, and I only get one error which looks harmless:

00000299 ServletWrappe I SRVE0242I: : Initialization successful.
00000299 WebApp W Error while adding servlet mapping --> /* Please set fileServingEnabled=false in the ibm-web-ext.xmi file w
hich is under WEB-INF folder.

Then I try to connect Team Concert to it, and I get "return code 500" and this in the log:

00000297 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: equinoxbridgeservlet. Exception thrown : java.lang.IllegalArgumentException: The service 'com.ibm.team.repository.service.internal.ContributorService@6ee46ee4' failed to find the required service 'interface com.ibm.team.repository.common.service.IQueryService'. Check <prerequisites> in plugin.xml.
at com.ibm.team.repository.service.AbstractService.getService(AbstractService.java:498)
at com.ibm.team.repository.service.internal.ContributorService.executeQueryForItemId(ContributorService.java:262)
at com.ibm.team.repository.service.internal.ContributorService.attributeToItemId(ContributorService.java:308)
at com.ibm.team.repository.service.internal.ContributorService.fetchContributorItemIdByUserId(ContributorService.java:172)
at com.ibm.team.repository.servlet.TeamServerServlet.getContributor(TeamServerServlet.java:53)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1022)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:177)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:91)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:110)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
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:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

00000297 WebApp E -: java.lang.IllegalArgumentException: The service 'com.ibm.team.repository.service.internal.ContributorService@6ee46ee4' failed to find the required service 'interface com.ibm.team.repository.common.service.IQueryService'. Check <prerequisites> in plugin.xml.
at com.ibm.team.repository.service.AbstractService.getService(AbstractService.java:498)
at com.ibm.team.repository.service.internal.ContributorService.executeQueryForItemId(ContributorService.java:262)
at com.ibm.team.repository.service.internal.ContributorService.attributeToItemId(ContributorService.java:308)
at com.ibm.team.repository.service.internal.ContributorService.fetchContributorItemIdByUserId(ContributorService.java:172)
at com.ibm.team.repository.servlet.TeamServerServlet.getContributor(TeamServerServlet.java:53)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1022)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:177)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:91)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:110)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
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:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

Suggestions anyone?

EDIT: Just realized that the list of services is too short. Here's what actually started:
* com.ibm.team.analysis.common.service.IAnalysisService
* com.ibm.team.apt.internal.common.rest.IImageService
* com.ibm.team.datawarehouse.common.service.IDataWarehouseService
* com.ibm.team.datawarehouse.service.IDataWarehouseAdminService
* com.ibm.team.process.internal.common.service.IProcessExtensionSchemaContentService
* com.ibm.team.reports.common.internal.IReportsContentService
* com.ibm.team.repository.common.internal.IContentRestService
* com.ibm.team.repository.common.internal.IInternalPermissionService
* com.ibm.team.repository.common.service.IPermissionService
* com.ibm.team.repository.common.service.IQueryService
* com.ibm.team.repository.common.transport.ITeamContentService
* com.ibm.team.repository.migration.blackboard.IMigrationDataStore
* com.ibm.team.repository.migration.internal.service.IInternalMigrationDataStore
* com.ibm.team.repository.service.IContentService
* com.ibm.team.repository.service.ITeamServerStatusContentService
* com.ibm.team.repository.service.internal.IInternalContentService
* com.ibm.team.repository.service.internal.counters.ICounterContentService
* com.ibm.team.repository.service.internal.counters.ICounterService
* com.ibm.team.repository.service.internal.counters.IStateCacheCounterContentService
* com.ibm.team.repository.service.internal.counters.IStateCacheCounterService
* com.ibm.team.repository.service.internal.diagnostics.IDBLockContentService
* com.ibm.team.repository.service.internal.diagnostics.IFetchDBLockStatusService
* com.ibm.team.repository.service.internal.diagnostics.IFetchQueryStatisticsService
* com.ibm.team.repository.service.internal.diagnostics.IFetchTableSizesStatisticsService
* com.ibm.team.repository.service.internal.diagnostics.IQueryStatisticsCounterContentService
* com.ibm.team.repository.service.internal.rdbmap.util.IMappingDisplayService
* com.ibm.team.workitem.common.internal.model.IImageContentService

4 answers



permanent link
Christophe Elek (2.9k12921) | answered Aug 15 '07, 1:53 p.m.
JAZZ DEVELOPER
lauzon@us.ibm-dot-com.no-spam.invalid (shawnlauzon) wrote in news:f9vg0k
$qd2$2@localhost.localdomain:

bump. Anyone at least know how to debug?

Nope :( Worth opening a work item
I noticed some very strange stuff when I install jazz.war in WebSphere
I besically have to stop the server and then restart it
Also, noticed we seem to have fixed some webSphere issue in M2 :)

--
Christophe Elek
Serviceability Architect
IBM Software Group - Rational

permanent link
Shawn Lauzon (38174) | answered Aug 15 '07, 2:09 p.m.
bump. Anyone at least know how to debug?

permanent link
Shawn Lauzon (38174) | answered Aug 20 '07, 5:29 p.m.
Just download and installed M2. Same problem. I'll open an issue.

permanent link
Shawn Lauzon (38174) | answered Aug 21 '07, 8:13 a.m.
User error. I just realized I didn't follow the WAS instructions which were previously posted; specifically, I didn't set

-Dcom.ibm.team.workitem.common.behavior.useCustomAccessProfiles=false
-Dcom.ibm.team.server.configURL=file:///C:/IBM/jazz/teamserver.properties

as the JVM arguments. After I did so, it just started working.

Your answer


Register or to post your answer.