DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9359>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9359

Manifest should contain Class-Path entry

           Summary: Manifest should contain Class-Path entry
           Product: Struts
           Version: 1.1 Beta 1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I came across this problem when I deployed my ear to JBoss. The EAR contains all
the required jar files plus a war file which *does not* contain any jar files.
Instead, I put struts.jar and commons-*.jar in the ear.

The reason: I have multiple war files--web apps which share the struts libraries.

The problem: JBoss errors out during deployment when trying to locate a Digester
class from commons-<whatever>.jar. This is because struts.jar's
META-INF/MANIFEST.MF does not contain a 'Class-Path:' entry and there's is no
chance to configure this in the ear. A workaround would be to reconfigure the
application server, but that's ugly.

Proposed solution: use the Java Extension Mechansim and add the following line
to the manifest file of the deployed struts library:

    Class-Path: <list of commons-* libraries>


Thanks, tom

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to