[jboss-jira] [JBoss JIRA] (JBAS-9460) [JBOSS6] DuplicateClass when starting JBoss 6.1 with a WAR / EAR containings struts 2 & tiles application

Paul Gier (Moved) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 17:05:09 EST 2011


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

Paul Gier moved JBPAPP-7579 to JBAS-9460:
-----------------------------------------

              Project: Legacy JBoss Application Server 6   (was: JBoss Enterprise Application Platform)
                  Key: JBAS-9460  (was: JBPAPP-7579)
    Affects Version/s: 6.1.0
                           (was: EAP 6.0.0 DR 6)
        Fix Version/s:     (was: TBD EAP 6)
       Docs QE Status:   (was: NEW)

    
> [JBOSS6] DuplicateClass when starting JBoss 6.1 with a WAR / EAR containings struts 2 & tiles application
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-9460
>                 URL: https://issues.jboss.org/browse/JBAS-9460
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.1.0
>         Environment: Windows Vista
> JDK1.6
>            Reporter: blured blured
>              Labels: deploy, ear, linkageerror, struts, war
>         Attachments: poc_jboss_ear.ear, poc_jboss_web.war, server.log
>
>
> Based on the provided attached sample, if I put the war file on my deploy directory, start the server and try to redeploy the war I've got lot of Linkage errors for nearly all the class files used :
> <<
> 2011-11-22 20:06:07,850 WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (HDScanner) Unexpected error during load of:org.apache.commons.digester.RegexMatcher: java.lang.LinkageError: loader (instance of  org/jboss/classloader/spi/base/BaseClassLoader): attempted  duplicate class definition for name: "org/apache/commons/digester/RegexMatcher"
>     at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_21]
>     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_21]
>     at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_21]
>     at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52) [jboss-classloader.jar:2.2.1.GA]
>     at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:650) [jboss-classloader.jar:2.2.1.GA]
>     at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:609) [jboss-classloader.jar:2.2.1.GA]
>     at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_21]
> ..
> >>
> If I start JBoss without the war and then try to deploy it many time it doesn't fail, however as soon that the server start with the war, the linkage errors come.
> Is it a bug or a misconfiguration of my war ?
> Regards,
> Blured.

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