You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Sam Ewing <ja...@yahoo.com> on 2002/07/15 07:03:41 UTC

Deployed applications persisting across Tomcat restarts

I remember seeing a bug sometime back on deployed
applications not persisting across Tomcat restarts.
Has this been fixed?

The deployed app is copied into CATALINA_HOME/work
which is not loaded up by Tomcat- so how does Tomcat
find the context again? Is server.xml modified?

I haven't been able to get my deploy ant task to work
so can't try it out (keep getting 
java.net.UnknownHostException for deploy- all other
tasks work fine :(- but that is another issue.)

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Bugs in deploy task?

Posted by Sam Ewing <ja...@yahoo.com>.
Finally go the deploy ant task to work- cleared up a
lot of my misunderstanding. I found two bugs (or are
they mistakes on my part??) though:

1. The only path accepted by the ant deploy task is a
URL type (see sample below)

<target name="deploy" description="Deploy web
application"
          depends="build">
    <deploy url="${url}" username="${username}"
password="${password}"
            path="${path}"
war="http://localhost/myApp.war"/>
  </target>
   
2. The undeploy task removes the war file all right,
but the server.xml entry that is added is not removed.



--- Sam Ewing <ja...@yahoo.com> wrote:
> I remember seeing a bug sometime back on deployed
> applications not persisting across Tomcat restarts.
> Has this been fixed?
> 
> The deployed app is copied into CATALINA_HOME/work
> which is not loaded up by Tomcat- so how does Tomcat
> find the context again? Is server.xml modified?
> 
> I haven't been able to get my deploy ant task to
> work
> so can't try it out (keep getting 
> java.net.UnknownHostException for deploy- all other
> tasks work fine :(- but that is another issue.)
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>