You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2001/11/25 05:50:47 UTC
DO NOT REPLY [Bug 5063] New: -
Distribution .war broken in Tomcat 4
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=5063>.
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=5063
Distribution .war broken in Tomcat 4
Summary: Distribution .war broken in Tomcat 4
Product: Cocoon 2
Version: 2.1alpha CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: Blocker
Priority: Other
Component: core
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: jeff@socialchange.net.au
Hi,
The 'cocoon.war' file produced by './build.sh dists' contains
WEB-INF/lib/servlet_2_2.jar. If this war is run under Tomcat 4, you'll get
startup errors like:
java.lang.VerifyError: (class: org/apache/jasper/servlet/JspServlet, method:
init signature: (Ljavax/servlet/ServletConfig;)V) Incompatible argument to function
There's also other unnecessary jar files, like ant.jar.
The 'webapp' target *does* correctly build the .war file, excluding the files.
It seems the 'dists' target tries to build it's own .war, and gets it wrong.
--Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org