[jboss-jira] [JBoss JIRA] Updated: (AS7-939) IllegalStateException when deploying a module.

David Bosschaert (JIRA) jira-events at lists.jboss.org
Thu Jun 2 09:40:59 EDT 2011


     [ https://issues.jboss.org/browse/AS7-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated AS7-939:
---------------------------------

    Attachment: cxf-dosgi-ri-samples-greeter-interface-1.2.jar


This is the bundle deployed in the stack trace, but it seems to potentially happen with any bundle. Also it seems intermittent.

Note that the deployment happened as a single bundle in the hotdeploy directory after AS7 was started.

> IllegalStateException when deploying a module.
> ----------------------------------------------
>
>                 Key: AS7-939
>                 URL: https://issues.jboss.org/browse/AS7-939
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: David Bosschaert
>         Attachments: cxf-dosgi-ri-samples-greeter-interface-1.2.jar
>
>
> When deploying an OSGi bundle intermittently an IllegalStateException exception appears.
> 14:35:18,061 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: cxf-dosgi-ri-samples-greeter-interface:1.2.0
> 14:35:18,065 ERROR [org.jboss.msc.service] (MSC service thread 1-1) MSC00002: Invocation of listener "org.jboss.as.osgi.deployment.BundleStartTracker$1 at 196dcb4" failed: java.lang.IllegalStateException: Cannot load module: deployment.cxf-dosgi-ri-samples-greeter-interface:1.2.0
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.loadModules(ResolverPlugin.java:261)
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.applyResolverResults(ResolverPlugin.java:229)
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:161)
> 	at org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:563)
> 	at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:205)
> 	at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:506)
> 	at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:135)
> 	at org.jboss.as.osgi.deployment.BundleStartTracker$1.serviceStarted(BundleStartTracker.java:107)
> 	at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1322)
> 	at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:47)
> 	at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1850)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
> Caused by: org.jboss.modules.ModuleNotFoundException: deployment.cxf-dosgi-ri-samples-greeter-interface:1.2.0
> 	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:158) [:1.0.0.CR3]
> 	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:152) [:1.0.0.CR3]
> 	at org.jboss.osgi.framework.internal.ModuleManagerPlugin.loadModule(ModuleManagerPlugin.java:561)
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.loadModules(ResolverPlugin.java:259)
> 	... 13 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list