[jboss-jira] [JBoss JIRA] Commented: (JBAS-7572) Presence of jboss-classloading.xml in a jar in WEB-INF/lib breaks classloading for web app

Michael Neale (JIRA) jira-events at lists.jboss.org
Wed Dec 23 16:53:30 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12501562#action_12501562 ] 

Michael Neale commented on JBAS-7572:
-------------------------------------

yes avoiding it in the jar gets rid of it for now. The main issue is people losing time tracking this down until AS is updated with a fix, but now with forum + this a google search may find this problem. 

Thanks for the help and attention everyone. 

> Presence of jboss-classloading.xml in a jar in WEB-INF/lib breaks classloading for web app
> ------------------------------------------------------------------------------------------
>
>                 Key: JBAS-7572
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7572
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ClassLoading
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Michael Neale
>            Assignee: Ales Justin
>            Priority: Critical
>
> It was the marshalling jar (specifically) from infinispan that first triggered this for me. Was fine in AS 4.x etc... seems to be 5.1 (and EAP5)
> Shows up when deploying as something like: 
> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/Users/michaelneale/Downloads/jboss-5.1.0.GA/server/default/deploy/infinispan.war/
>       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
>       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
> <snip>
> Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:700)
>       at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
> <snip>
> org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.getRelevantServlets(JAXWSDeployerHookPreJSE.java:121)
>       at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.isWebServiceDeployment(JAXWSDeployerHookPreJSE.java:97)
>       at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:65)
>       at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
> ..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list