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

services no longer being regsteried in m2

After migration to m2 Some of our services are not registering and we're
getting exceptions like the following...

Any ideas as to what could be wrong?


14:33:13,512 INFO
uration.OverridablePropertyFileServerConfiguration - Loading
configuration from
file:/Users/sppatel/workspaces/qm/.metadata/.plugins/org.eclipse.pde.core/QM
Web/org.eclipse.osgi/bundles/60/data/teamserver.properties
14:33:33,461 ERROR
tory.common.transport.services.TeamServiceRegistry - Error registering
service: com.ibm.rqm.test.common.service.ITestPlanService
com.ibm.team.repository.common.transport.TeamServiceRegistryException:
Failed to create service instance com.ibm.rqm.test:
com.ibm.rqm.test.service.internal.TestPlanService
at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.createImplementation(ServiceProviderElementDescriptor.java:117)
at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.getImplementation(ServiceProviderElementDescriptor.java:138)
at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerImplementation(TeamServiceRegistry.java:388)
at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerOldStyleServices(TeamServiceRegistry.java:416)
at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<init>(TeamServiceRegistry.java:84)
at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<clinit>(TeamServiceRegistry.java:46)
at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.init(AbstractTeamServerServlet.java:864)
at
com.ibm.team.repository.servlet.TeamServerServlet.init(TeamServerServlet.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:195)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.eclipse.core.runtime.CoreException: Plug-in
"com.ibm.rqm.test.service" was unable to instantiate class
"com.ibm.rqm.test.service.internal.TestPlanService".
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:168)
at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.createImplementation(ServiceProviderElementDescriptor.java:107)
... 27 more

0 votes



One answer

Permanent link
To add, the services do seem to get registered and are accessible though
Junit Tests, however, not when launching the web client and we run into
the exception then.


Sachin Patel wrote:
After migration to m2 Some of our services are not registering and we're
getting exceptions like the following...

Any ideas as to what could be wrong?


14:33:13,512 INFO
uration.OverridablePropertyFileServerConfiguration - Loading
configuration from
file:/Users/sppatel/workspaces/qm/.metadata/.plugins/org.eclipse.pde.core/QM
Web/org.eclipse.osgi/bundles/60/data/teamserver.properties
14:33:33,461 ERROR
tory.common.transport.services.TeamServiceRegistry - Error registering
service: com.ibm.rqm.test.common.service.ITestPlanService
com.ibm.team.repository.common.transport.TeamServiceRegistryException:
Failed to create service instance com.ibm.rqm.test:
com.ibm.rqm.test.service.internal.TestPlanService
at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.createImplementation(ServiceProviderElementDescriptor.java:117)

at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.getImplementation(ServiceProviderElementDescriptor.java:138)

at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerImplementation(TeamServiceRegistry.java:388)

at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerOldStyleServices(TeamServiceRegistry.java:416)

at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<init>(TeamServiceRegistry.java:84)

at
com.ibm.team.repository.common.transport.services.TeamServiceRegistry.<clinit>(TeamServiceRegistry.java:46)

at
com.ibm.team.repository.servlet.AbstractTeamServerServlet.init(AbstractTeamServerServlet.java:864)

at
com.ibm.team.repository.servlet.TeamServerServlet.init(TeamServerServlet.java:126)

at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:195)

at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)

at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.eclipse.core.runtime.CoreException: Plug-in
"com.ibm.rqm.test.service" was unable to instantiate class
"com.ibm.rqm.test.service.internal.TestPlanService".
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)

at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)

at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

at
com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:168)

at
com.ibm.team.repository.common.transport.internal.registry.ServiceProviderElementDescriptor.createImplementation(ServiceProviderElementDescriptor.java:107)

... 27 more

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,952

Question asked: Aug 13 '07, 7:04 p.m.

Question was seen: 8,300 times

Last updated: Aug 13 '07, 7:04 p.m.

Confirmation Cancel Confirm