Okay, so this just took me about 3 wasted hours to figure out. Turns out other 
jars that were packed in my WAR had multiple line descriptions in the jar 
MANIFEST that was copied form the pom <description> tag in maven. When tomcat 
tried to load the war artifact  got some lousy invalid header message that 
forced me to travel far far away. But now i'm back and happy again with a 
working Alpha that has been a year and a half in the making. 
   
  
Duncan Krebs <[EMAIL PROTECTED]> wrote:
  Hi,
I'm using Maven2 to build a war for my webapp. It builds fine using mvn install 
but when I try to deploy it in my servlet container (tomcat 5028) the app will 
not load and it gives me an error invalid header field. I looked at the 
manifest file produced by the build process and noticed the description was 
multiple lines. I changed that and it is still giving me the error. Below is 
the generated file, can anyone see anything wrong? 

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: Duncan Krebs
Build-Jdk: 1.4.2_06
Extension-Name: duncware-com-war
Specification-Title: MyDomain.com
Specification-Vendor: MyCompany Inc
Implementation-Vendor: MyCompany Inc
Implementation-Title: artifact-war
Implementation-Version: 1.0

Here is a little bit of the stack trace.... 

SEVERE: Error in dependencyCheck
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:383)

Any ideas would be greatly appreciated. 


---------------------------------
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! 
Messenger with Voice.

                        
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Reply via email to