[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6403) ClassNotFoundException while processing JNDI resource refs preventing deployment of war in ear

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Wed Jan 21 08:44:05 EST 2009


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

Remy Maucherat resolved JBAS-6403.
----------------------------------

    Fix Version/s: JBossAS-5.0.1.GA
       Resolution: Done


Put in the suggested patch.

> ClassNotFoundException while processing JNDI resource refs preventing deployment of war in ear
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6403
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6403
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-5.0.0.GA
>         Environment: n/a, but if you are curious: jdk 1.6.0_10 Linux (Fedora 9)
>            Reporter: cbrettin
>            Assignee: Remy Maucherat
>             Fix For: JBossAS-5.0.1.GA
>
>
> Deployment of applications containing war that has resource references (of types defined inside war) fails due to ClassNotFoundException:
> This looks exactly like EJBTHREE-1671(ResourceHandler) but affecting WebResourceHandler - it fails to use the Container class loader. The same one line change (pass container loader to Class.forName) seems to fix the issue.
> Stack trace:
> java.lang.ClassNotFoundException: au.gov.tas.dpiwe.ws.proxy.EngineManager
>         at java.lang.Class.forName(Class.java:169)
>         at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHandler.java:212)
>         ... 61 more
>         at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHandler.java:267)
>         at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:307)
>         at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:544)
>         at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)

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