[jboss-jira] [JBoss JIRA] Commented: (JBAS-4208) Manifest Class-Path ignored in packaged EAR file, used in exploded EAR file

John Cater (JIRA) jira-events at lists.jboss.org
Fri Mar 16 16:03:32 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4208?page=comments#action_12356415 ] 
            
John Cater commented on JBAS-4208:
----------------------------------

Error appears to be in jboss:vfs, file src/main/java/org/jboss/virtual/VFSUtils.java, line 142, and is marked with a TODO comment.

> Manifest Class-Path ignored in packaged EAR file, used in exploded EAR file
> ---------------------------------------------------------------------------
>
>                 Key: JBAS-4208
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4208
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ClassLoading
>    Affects Versions: JBossAS-5.0.0.Beta1
>            Reporter: John Cater
>         Assigned To: Scott M Stark
>         Attachments: ear-test.zip
>
>
> I am attaching a sample project that shows this issue.
> In short, a packaged EAR file that contains a JAR, which uses the Class-Path entry in the JAR's MANIFEST.MF file, will not correctly load the JAR's Class-Path entries, and instead throw NoClassDefFoundErrors.  The same EAR, when exploded, loads properly.
> To test:  in the attached project, run 'ant explode-ear'.  Attempt to load first the exploded ear, then the packaged ear, into JBoss.
> in the JMX Control panel, look for the test.ear:name=TestService MBean.  Execute the 'createThing' operation.  This can be validated with the 'seeThing' operation.
> In the correctly-working exploded EAR, createThing works properly.  In the packaged EAR, createThing fails with a NoClassDefFoundError.

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

        



More information about the jboss-jira mailing list