[
https://issues.jboss.org/browse/AS7-4489?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated AS7-4489:
--------------------------------
Summary: BundleContext.ungetService() may lead to ModuleLoadException (was:
BundleContext.ungetService() may lead to JBOSGI011035)
BundleContext.ungetService() may lead to ModuleLoadException
------------------------------------------------------------
Key: AS7-4489
URL:
https://issues.jboss.org/browse/AS7-4489
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
{code}
20:37:00,826 ERROR [org.jboss.osgi.framework] JBOSGI011035: Cannot obtain class loader
for: HostBundleRevision[org.apache.aries.jndi:0.3.1]:
org.jboss.modules.ModuleLoadException: JBAS018760: Timeout waiting for module service:
deployment.org.apache.aries.jndi:0.3.1
at
org.jboss.as.server.moduleservice.ServiceModuleLoader$ModuleSpecLoadListener.getModuleSpec(ServiceModuleLoader.java:133)
at
org.jboss.as.server.moduleservice.ServiceModuleLoader.findModule(ServiceModuleLoader.java:174)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
[jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.as.server.moduleservice.ServiceModuleLoader.preloadModule(ServiceModuleLoader.java:158)
at org.jboss.modules.ModuleLoader.preloadExportedModule(ModuleLoader.java:233)
[jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:246)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.as.osgi.service.ModuleLoaderIntegration.preloadModule(ModuleLoaderIntegration.java:178)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.osgi.framework.internal.ModuleManagerPlugin.loadModule(ModuleManagerPlugin.java:505)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.AbstractBundleRevision.getModuleClassLoader(AbstractBundleRevision.java:217)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceManagerPlugin$3.getValue(ServiceManagerPlugin.java:288)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceState.ungetScopedValue(ServiceState.java:178)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceManagerPlugin.ungetService(ServiceManagerPlugin.java:410)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.AbstractBundleContext.ungetService(AbstractBundleContext.java:373)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at org.apache.aries.jndi.ContextProvider.close(ContextProvider.java:41)
at org.apache.aries.jndi.SingleContextProvider.close(SingleContextProvider.java:40)
at org.apache.aries.jndi.DelegateContext.close(DelegateContext.java:87)
at org.apache.aries.jndi.ContextManagerService.close(ContextManagerService.java:47)
at
org.apache.aries.jndi.ContextManagerServiceFactory.ungetService(ContextManagerServiceFactory.java:32)
at
org.jboss.osgi.framework.internal.ServiceState$ServiceFactoryHolder.ungetService(ServiceState.java:474)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceState.ungetScopedValue(ServiceState.java:183)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceManagerPlugin.ungetService(ServiceManagerPlugin.java:410)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceManagerPlugin.unregisterService(ServiceManagerPlugin.java:392)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.ServiceState.unregisterInternal(ServiceState.java:218)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.HostBundleState.removeServicesAndListeners(HostBundleState.java:468)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.HostBundleState.stopInternal(HostBundleState.java:422)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.BundleManager.uninstallBundle(BundleManager.java:418)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
at
org.jboss.osgi.framework.internal.UserBundleInstalledService.stop(UserBundleInstalledService.java:88)
[jbosgi-framework-core-1.3.0.CR2.jar:1.3.0.CR2]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira