Re: Deploying a war in TC4

2004-11-12 Thread Paul Taylor
I am still unable to get this to unpack automatically, I have to unpack it myself before starting Tomcat and then it is ok in my web.xml I have web-app servlet servlet-nameController/servlet-name servlet-classcom.testapp.Controller/servlet-class

Deploying a war in TC4

2004-11-05 Thread Paul Taylor
Hi I was originally deploying an application in Tomcat 4 using the exploded directory structure. Ive now created a war and tried to deploy that instead. First attempt it didnt do anything I then changed docbase from appname to appname.war in server.xml and on starting tomcat it tried to deploy

RE: Deploying a war in TC4

2004-11-05 Thread Shapira, Yoav
Hi, How can I get round this ? Two ways: either configure the Host in server.xml to unpackWARs (which is the default I think even for Tomcat 4.x). Or write your app to the Servlet Spec, which means no File constructions except in the javax.servlet.context.tempdir directory. Yoav This

Re: Deploying a war in TC4

2004-11-05 Thread Paul Taylor
Thanks I use a File() constructor because the same class is used in a standalone situation Ive checked my server.xml and it already seems to have unpacking set. !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true should my