I have war in my deploy directory called cdhpweb.war. I would like to be able to access that war from a url like http://webserver.me.com/mywar
I have added a Context tag to the server.xml in the jbossweb-tomcat50.sar directory
But I get exceptions when I start the server for each file in the war.
14:23:53,197 WARN [][JARDeployer] Failed to add deployable jar: file:/opt/jboss-3.2.5/server/cdhp/tmp/deploy/tmp63486ExtendLdapEdirSchema.class
java.util.zip.ZipException: error in opening zip file
I am running jboss-3.2.5_tomcat.5.0.26 on a SuSE 9.1 linux box using the
j2sdk1.4.2_05 Sun jvm.
The standard way to do this is to deploy your WAR file in an EAR, and use application.xml to determine the context name. Then put the EAR file in the usual JBoss deploy directory.
Mike