On 12/3/10 5:23 AM, Konstantin Kolinko wrote:
> 2010/12/3 Bill Wang <bw57...@gmail.com>:
>> 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
> tomcat.apache.org, 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.


p

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to