cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5063] New: - Distribution .war broken in Tomcat 4
Date Sun, 25 Nov 2001 04:50:47 GMT
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


Mime
View raw message