[jboss-jira] [JBoss JIRA] (AS7-3450) OSGi-WAR fails to deploy

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jan 25 10:24:50 EST 2012


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

Thomas Diesler resolved AS7-3450.
---------------------------------

        Labels: jboss-as7 osgi  (was: jboss-as7 osgi webapp)
    Resolution: Duplicate Issue


Duplicates AS7-2434
                
> OSGi-WAR fails to deploy
> ------------------------
>
>                 Key: AS7-3450
>                 URL: https://issues.jboss.org/browse/AS7-3450
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: Rico Neubauer
>            Assignee: Thomas Diesler
>              Labels: jboss-as7, osgi
>         Attachments: OSGiWebApp-0.0.1-SNAPSHOT.war, server.log
>
>
> Trying to deploy a very simple WAR, containing one Servlet as OSGi-bundle on jboss-as-7.1.0.Beta1 fails with error on ClassLoading the servlet.
> osgi-subsystem activation is set to "eager", startlevel to "3".
> Will attach full log and test-WAR, here is an extract from the stacktrace:
> ERROR [org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC] (MSC service thread 1-12) Registration exception. Skipping.: java.lang.ClassNotFoundException: jboss.osgi.webapp.test.JNDIViewServlet from [Module "deployment.jboss.osgi.webapp.test.OSGiWebApp:0.0.1.SNAPSHOT" from Service Module Loader]
> 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.0.CR4]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485) [jboss-modules.jar:1.1.0.CR4]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421) [jboss-modules.jar:1.1.0.CR4]
> 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:155) [jboss-modules.jar:1.1.0.CR4]
> 	at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:114) [jbosgi-framework-core-1.1.0.jar:]
> 	at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:415) [jbosgi-framework-core-1.1.0.jar:]
> 	at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:151) [jbosgi-framework-core-1.1.0.jar:]

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

        


More information about the jboss-jira mailing list