Re: Tomcat 5.5: exploded WAR directory persists



bruce_phipps@xxxxxxxxxxx wrote:

Tomcat 5.5.
I copy my WAR file myApp.war to $CATALINA_HOME/webapps
Browse to the servlet and test it.
Tomcat "explodes" the jar to create a myApp/ directory. But this
directory is not cleaned up when I stop Tomcat.

In the develop-deploy WAR-test cycle I need to keep deleting the
"exploded" directory.

Why do you need to delete it?

Is there a way to avoid this?

I'm new to this area too but my experience is that if I replace the WAR then
a couple of seconds later it gets re-expanded automatically

(That is, I understand, because of some tomcat configuration setting
somewhere)


Thanks
Bruce

--
Bill Medland
.



Relevant Pages

  • jsp - I feel like an ass!
    ... I created a servlet, "test.class" ... and I would like to deploy it onto my tomcat server. ... I have restarted tomcat numerous times, and it still does not show up ... How do I create a war file properly, so that it can deploy into the ...
    (comp.lang.java.programmer)
  • Re: [opensuse] how do I install a .war file?
    ... how can I go about installing it? ... While Tomcat per se is not required, some servlet container is. ... The content of a WAR file has more requirements than that of a simple ...
    (SuSE)
  • Re: Using web service compiled for Tomcat in a different container
    ... >I've created a web service using Sun java web services developer pack ... >and successfully installed it into Tomcat. ... >for Tomcat, into another servlet holder. ... see WEB-INF/web.xml within the .war file. ...
    (comp.lang.java.programmer)
  • Tomcat 4.1.27
    ... Im sort of new to servlet programming and Tomcat (messed with servlets a little ... a quick and dirty on how Contexts work especially in Tomcat. ... appears to default to the war file name as the context. ...
    (comp.lang.java.softwaretools)
  • Tomcat 4.1.27
    ... Im sort of new to servlet programming and Tomcat (messed with servlets a little ... a quick and dirty on how Contexts work especially in Tomcat. ... appears to default to the war file name as the context. ...
    (comp.lang.java.softwaretools)