tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Robinson <>
Subject Re: can't undeploy webapp with manager
Date Sun, 02 Dec 2007 22:52:48 GMT
Caldarale, Charles R wrote:
>> From: Tom Robinson [] 
>> Subject: Re: can't undeploy webapp with manager
>> I want a separate <Engine>.
> I'm still curious: why?
The <Service> represents my dedicated <Connector>(s) for my <Engine>. My
<Engine> is therefore wholly responsible for receiving and processing all
requests for the <Connector>'s in my <Service> (and not for any other service
connectors). Setting it up this way I know what my connector ports are being
used for. Maybe I'm mistaken on the usage for this specific flexibility in the
tomcat setup. Also, I think I had some problems isolating connector ports on
earlier tomcat versions (3 or 4?). I'm open to comments though, so please
elaborate on the above.

>> There is a need for more than one virtual host.
> Multiple <Host> elements are allowed inside a single <Engine>.
Correct. Earlier, I had two <Host>'s in my Parchment <Service>.

>> The ROOT.xml stays and redeploys the .war from the 
>> docBase. Why doesn't it get removed?
> Is there a permissions problem?  Make sure the Tomcat userid is allowed
> to delete the ROOT.xml file from that directory.
Doh! I had some earlier setup/config problems and did a fresh install of tomcat,
etc. Must have overlooked the permission changes on these directories. Now the
permissions are changed so the group ownership is correctly set to the tomcat
group (copied the ${CATALINA_HOME/conf/Catalina directory settings):

drwxrwxr-x 3 root tomcat 4096 Nov 29 22:28 Parchment
drwxrwxr-x 2 root tomcat 4096 Dec  2 21:47

Undeploy now stops the application and removes the ROOT.war but not the unpacked
war ROOT from appBase directory or the ROOT.xml from the
${CATALINA_HOME}/conf/[Engine]/[Host] directory.

OK - Listed applications for virtual host

A second undeploy immediately following the first removes the ROOT.xml from
${CATALINA_HOME}/conf/[Engine]/[Host] and the unpacked war ROOT directory from
the appBase. I guess this is somewhat of a success but not entirely what I'd expect.

OK - Listed applications for virtual host

Interestingly, I can start/stop the application after the first undeploy. Tomcat
uses the unpacked .war and the existing ROOT.xml.

I appreciate the feed back so thanks again,


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message