[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-437) Felix Web Console occasionally fails to start

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Mar 29 11:40:38 EDT 2011


Felix Web Console occasionally fails to start
---------------------------------------------

                 Key: JBOSGI-437
                 URL: https://issues.jboss.org/browse/JBOSGI-437
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Core Framework, jboss-osgi-webconsole
    Affects Versions: JBossOSGi 1.0.0 Beta10
         Environment: Fedora 13 with Sun/Oracle Java 1.6.0_20
            Reporter: David Bosschaert


When I run the JBoss OSGi installer (from master) with AS7 Beta2 integration and then start up AS7 the following error appears. 
When I restart everything works fine.

16:34:50,520 ERROR [org.jboss.as.osgi] (MSC service thread 1-1) Cannot start bundle: org.apache.felix.webconsole:3.1.6.SP1: org.osgi.framework.BundleException: Cannot start bundle: org.apache.felix.webconsole:3.1.6.SP1
	at org.jboss.osgi.framework.bundle.HostBundle.transitionToActive(HostBundle.java:332)
	at org.jboss.osgi.framework.bundle.HostBundle.startInternal(HostBundle.java:218)
	at org.jboss.osgi.framework.bundle.AbstractBundle.start(AbstractBundle.java:411)
	at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.processDeployment(OSGiDeploymentService.java:229)
	at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.serviceStarted(OSGiDeploymentService.java:180)
	at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1149)
	at org.jboss.msc.service.ServiceControllerImpl.access$2300(ServiceControllerImpl.java:44)
	at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1513)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
	at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
Caused by: java.lang.NullPointerException
	at org.jboss.osgi.framework.bundle.HostRevision.loadClass(HostRevision.java:112)
	at org.jboss.osgi.framework.bundle.AbstractBundle.loadClass(AbstractBundle.java:586)
	at org.jboss.osgi.framework.bundle.HostBundle.transitionToActive(HostBundle.java:298)
	... 10 more

16:34:50,592 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC00002: Invocation of listener "org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener at a218a5" failed: java.lang.IllegalStateException: Module already exists: jbosgi.org.apache.felix.webconsole:3.1.6.SP1
	at org.jboss.osgi.framework.bundle.OSGiModuleLoader.addModule(OSGiModuleLoader.java:47)
	at org.jboss.osgi.framework.plugin.internal.ModuleManagerPluginImpl.createHostModule(ModuleManagerPluginImpl.java:315)
	at org.jboss.osgi.framework.plugin.internal.ModuleManagerPluginImpl.addModule(ModuleManagerPluginImpl.java:202)
	at org.jboss.osgi.framework.plugin.internal.ResolverPluginImpl.addModules(ResolverPluginImpl.java:207)
	at org.jboss.osgi.framework.plugin.internal.ResolverPluginImpl.applyResolverResults(ResolverPluginImpl.java:186)
	at org.jboss.osgi.framework.plugin.internal.ResolverPluginImpl.resolve(ResolverPluginImpl.java:127)
	at org.jboss.osgi.framework.bundle.HostBundle.ensureResolved(HostBundle.java:129)
	at org.jboss.osgi.framework.bundle.HostBundle.startInternal(HostBundle.java:206)
	at org.jboss.osgi.framework.bundle.AbstractBundle.start(AbstractBundle.java:411)
	at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.processDeployment(OSGiDeploymentService.java:229)
	at org.jboss.as.osgi.deployment.OSGiDeploymentService$OSGiDeploymentListener.serviceStarted(OSGiDeploymentService.java:180)
	at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1149)
	at org.jboss.msc.service.ServiceControllerImpl.access$2300(ServiceControllerImpl.java:44)
	at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1513)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
	at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]





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


More information about the jboss-osgi-issues mailing list