I am running jboss-tomcat-2.2 on Windows NT 4 SP6a with Sun JDK 1.3 (1.3.0-C)
I want to auto deploy my .war file (without it being part of a .ear file) but
when I copy the file to C:\jboss-tomcat-2.2\jboss-2.2\deploy I get the following
error report:
[Auto deploy] Auto deploy of file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/par.war
[J2EE Deployer Default] Deploy J2EE application: file:/C:/jboss-tomcat-2.2/jboss
-2.2/deploy/par.war
[J2EE Deployer Default] Create application par.war
[J2EE Deployer Default] inflate and install module par.war
[Auto deploy] Deployment failed:file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/par.w
ar
[Auto deploy] java.io.IOException: invalid header field
[Auto deploy] at java.util.jar.Attributes.read(Attributes.java:354)
[Auto deploy] at java.util.jar.Manifest.read(Manifest.java:161)
[Auto deploy] at java.util.jar.Manifest.<init>(Manifest.java:56)
[Auto deploy] at org.jboss.deployment.Installer.execute(Installer.java:178)
[Auto deploy] at org.jboss.deployment.InstallerFactory.install(InstallerFactor
y.java:101)
[Auto deploy] at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDepl
oyer.java:356)
[Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:17
4)
[Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy] at java.lang.Thread.run(Thread.java:484)
The deployer seems to think that there is something wrong with my MANIFEST.MF
file which is:
Manifest-Version: 1.0
Created-By: Ant 1.3
Class-Path lib/staff-client.jar
I searched the mailing list archive for the error "invalid field header" but the
only suggestions were about wrong versions of crimson/jaxp (which I can't see
are relevant for parsing MANIFEST.MF) and I'm using the jars that came with
jboss-tomcat-2.2.
Can anyone let me know what I'm doing wrong?
Thanks
Les.
******************************************************************************************************************************************************
This e-mail has been prepared using information believed by the author
to be reliable and accurate, but CWB makes no warranty as to accuracy or
completeness. In particular CWB does not accept responsibility for
changes made to this e-mail after it was sent. Any opinions expressed in
this document are those of the author and do not necessarily reflect the
opinions of the company or its affiliates. They may be subject to change
without notice.
*******************************************************************************************************************************************************
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user