tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.
Date Fri, 03 Dec 2010 10:38:25 GMT
On 12/3/10 5:23 AM, Konstantin Kolinko wrote:
> 2010/12/3 Bill Wang <>:
>> Is it possible?
> I do not think that it is possible.
> Maybe you are running more than 2 tomcat instances (e.g. failed to
> stop some old one properly).
> Maybe one of them runs with wrong $CATALINA_HOME or wrong
> $CATALINA_BASE. Maybe one of them runs with root (nobody should
> configure their tomcats like that, but mention here for completeness).
> What are your exact Tomcat versions? What connectors do you use? How
> do you start them? (jsvc, scripts; are those versions from
>, or repacked ones).
> Maybe you had symlinks somewhere. Maybe you deleted the xml files from
> ${catalina.base}/conf/Catalina/localhost. That also will cause
> undeployment.
> Anyway, when Tomcat autodeploys or undeploys a webapp, it prints
> relevant messages in its logs.

What was the docBase in ${catalina.base}/conf/Catalina/localhost/myapp.xml?

If you had a full path to the file in both, then both servers could have
been loading the same .war, rather than the copy in the other location.

This might cause both apps to unload, but it wouldn't delete .war files.


View raw message