You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/05/23 17:52:56 UTC
DO NOT REPLY [Bug 9359] New: -
Manifest should contain Class-Path entry
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: struts-dev@jakarta.apache.org
ReportedBy: tquas@yahoo.com
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>