Hi all, I got a failure in Tomcat deploying a .war-file. I don't know why Tomcat complains about this deployment. However, I know where it has problems. A .jar-file packaged with the war contains some information in the Manifest.mf which tomcat doesn't like. This .jar-file is generated by maven.
If I reduce the content of the manifest to a minimum (the first two lines) I'm not running into this problem. Does anybody has an idea why it fails? Another question is, why does junit appear in the extension list. I didn't set the war.bundle.jar property for JUnit to true. Thx in advance, Dominik Error Message from Tomcat: FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: start: : java.lang.IllegalArgumentException: log4j,junit,xalan,xercesImpl,xerces, xml-apis-Extension-Name Maven BL09, JDK 1.4.1_02, Tomcat 4.1.24 Below is the generated manifest file: Manifest-Version: 1.0 Created-By: Apache Jakarta Maven Built-By: Dominik Dahlem Package: ie.tcd.persl.xml Build-Jdk: 1.4.1_02 Extension-Name: xml-tools Specification-Version: Specification-Vendor: Trinity College Dublin, Computer Science Departm ent, Distributed Systems Group Specification-Title: This sub-project contains common XML helper libra ries. Implementation-Version: 0.1 Implementation-Vendor: Trinity College Dublin, Computer Science Depart ment, Distributed Systems Group Implementation-Vendor-Id: Extension-List: log4j,junit,xalan,xercesImpl,xerces,xml-apis log4j-Extension-Name: log4j log4j-Implementation-Version: 1.2.8 log4j-Implementation-URL: http://www.ibiblio.org/maven/log4j/jars/log4 j-1.2.8.jar junit-Extension-Name: junit junit-Implementation-Version: 3.8.1 junit-Implementation-URL: http://www.ibiblio.org/maven/junit/jars/juni t-3.8.1.jar xalan-Extension-Name: xalan xalan-Implementation-Version: 2.5.1 xalan-Implementation-URL: http://www.ibiblio.org/maven/xalan/jars/xala n-2.5.1.jar xercesImpl-Extension-Name: xercesImpl xercesImpl-Implementation-Version: 2.0.2 xercesImpl-Implementation-URL: http://www.ibiblio.org/maven/xerces/jar s/xercesImpl-2.0.2.jar xerces-Extension-Name: xerces xerces-Implementation-Version: 2.4.0 xerces-Implementation-URL: http://www.ibiblio.org/maven/xerces/jars/xe rces-2.4.0.jar xml-apis-Extension-Name: xml-apis xml-apis-Implementation-Version: 2.0.2 xml-apis-Implementation-URL: http://www.ibiblio.org/maven/xml-apis/jar s/xml-apis-2.0.2.jar +---------------------------------------------------------------------+ _/_/_/_/_/ _/_/_/ __/_/_/_/ Dominik Dahlem _/ _/ _/ _/ _/ M.Sc. student, Computer Science _/ _/ _/ _/ Trinity College Dublin _/ _/ _/ _/ tel : +353 (0)1 608 _/ _/ _/ _/ _/ email: [EMAIL PROTECTED] _/ _/_/_/ __/_/_/_/ www : http://www.cs.tcd.ie/~dahlemd +---------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
