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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to