It's all about the answers!

Ask a question

IllegalStateException: No OSGi service found with registered name com.ibm.team.jfs.app.config.IConfigurationPropertiesService


Anita Jey (1611315) | asked Aug 20 '12, 4:02 p.m.
Hello,

I have two plugins that work fine when I use it on Jetty. The plugins are a follow up to a work item save, and a precondition on a delivery. 

When I deploy them on my Tomcat server, they seem to get provisioned alright, and become "Active", but JTS never comes up. CCM is fine though. I get the following stack-trace trying to hit localhost/jts:
java.lang.IllegalStateException: No OSGi service was found with the registered name com.ibm.team.jfs.app.config.IConfigurationPropertiesService
	com.ibm.team.repository.common.transport.internal.registry.ConfigurationManager.getConfigPropertyService(ConfigurationManager.java:86)
	com.ibm.team.repository.common.transport.internal.registry.ConfigurationManager.getOverrideString(ConfigurationManager.java:390)
	com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.fetchPropertyOverride(ServiceConfiguration.java:94)
	com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.getOverrides(ServiceConfiguration.java:214)
	com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.getConfigurationValues(ServiceConfiguration.java:177)
	com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.getPropertiesMap(ServiceConfiguration.java:231)
	com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindConfigurationProperties(AbstractActivationManagerOwner.java:229)
	com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.performActivation(AbstractActivationManagerOwner.java:628)
	com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:691)
	com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:129)
	com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:281)
	com.ibm.team.repository.servlet.AbstractTeamServerServlet.getServletConfigurationService(AbstractTeamServerServlet.java:1296)
	com.ibm.team.repository.servlet.AbstractTeamServerServlet.isAdminAccessAllowed(AbstractTeamServerServlet.java:1429)
	com.ibm.team.repository.servlet.TeamServerServlet.logSecuritySettings(TeamServerServlet.java:467)
	com.ibm.team.repository.servlet.TeamServerServlet.init(TeamServerServlet.java:455)
	javax.servlet.GenericServlet.init(GenericServlet.java:160)
	org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:195)
	org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179)
	org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
	org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
	com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133)
	com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
	
Any ideas on what's going on? Thanks!

Accepted answer


permanent link
Robin Bobbitt (59679) | answered Aug 22 '12, 2:05 a.m.
Anita, please take a look at this post and see if it applies to your situation: https://jazz.net/forum/questions/81670/rtc-error-after-advisor-deployment
Anita Jey selected this answer as the correct answer

Comments
Anita Jey commented Aug 22 '12, 11:36 a.m.

Hello Robin, thanks for the link... I am pretty sure that I am provisioning/deploying it correctly. I have checked and re-checked my settings plenty of times in the past few days. I will ping the posters in that thread to get more details. If you have any other ideas, please do let me know. Thanks!

2 other answers



permanent link
Mallikarjuna Kandala (1161121) | answered Apr 08 '14, 9:15 a.m.
I observed this error message, when one of the jar files inside  \server\conf\ccm\sites\rtc-commonxxx\plugins which is required for RTC has wrong extension.

permanent link
SEC Servizi (97123760) | answered Apr 21 '15, 9:14 a.m.
We observed a similar behavior, too. Our root cause was:
ERROR com.ibm.team.repository.provision.internal.ProvisionService  - CRJAZ0287I Failed to install the bundle "file:/D%3a/IB3D7E~1/JAZZTE~1/server/conf/jazz/sites/secservizi-update-site/plugins/it.secservizi.rtc.cust.server_4.0.7.jar".
org.osgi.framework.BundleException: Error converting plugin at D:\IBMJAZZ407\JazzTeamServer\server\tomcat\work\Catalina\localhost\jazz\eclipse\configuration\org.eclipse.osgi\bundles\555\1\bundlefile.
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.generateManifest(EclipseStorageHook.java:446)
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest0(EclipseStorageHook.java:423)
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest(EclipseStorageHook.java:393)
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.createCachedManifest(EclipseStorageHook.java:388)
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getManifest(EclipseStorageHook.java:507)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.loadManifest(BaseStorage.java:306)
at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:82)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:921)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:888)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:167)
at com.ibm.team.repository.provision.internal.ProvisionService.installFeature(ProvisionService.java:494)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileProperties(ProvisionService.java:952)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:1009)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileNoWait(ProvisionService.java:1143)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:1081)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromContextConfigurationUrl(ProvisionService.java:1160)
at com.ibm.team.jfs.app.install.Activator$1.run(Activator.java:172)
at java.lang.Thread.run(Thread.java:761)
Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in D:\IBMJAZZ407\JazzTeamServer\server\tomcat\work\Catalina\localhost\jazz\eclipse\configuration\org.eclipse.osgi\bundles\555\1\bundlefile.
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:110)
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:711)
at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.generateManifest(EclipseStorageHook.java:443)
... 20 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:140)
at java.util.zip.ZipFile.<init>(ZipFile.java:157)
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.findPluginManifest(PluginConverterImpl.java:179)
at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:108)
... 22 more
It seems our plug-in had not been compiled properly.

Your answer


Register or 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.