You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "McGibbney, Lewis John" <Le...@gcu.ac.uk> on 2010/12/20 18:13:10 UTC
Webapp undeploy failure
Hello list,
Tried to do a bit of reading on this but the results have not come up. I am using version 6.0.26 on windows XP and all I am trying to do is undeploy (and delete from tomcat webapp folder) one webapp which is deployed every time I start my tomcat instance.
Having started my instance I use the following http://localhost:8080/manager/undeploy?path=C:/path/to/webapp, however I got the following error
FAIL - Context /wombra is defined in server.xml and may not be undeployed
Looking at server.xml I find that 'wombra' is the only webapp specified (I had 2 other apps running, one of which has now been successfully undeployed). In this case this particular webapp was built using Tapestry, is this possibly something to do with why I am getting the undeployment failure?
Thank you
Lewis
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
RE: Webapp undeploy failure
Posted by "McGibbney, Lewis John" <Le...@gcu.ac.uk>.
Hi
Thank you both for info. I didn't put the app into server.xml so I don't know how it got there but the problem is solved now. Thanks
Lewis
-----Original Message-----
From: Michael Ludwig [mailto:milu71@gmx.de]
Sent: 21 December 2010 00:11
To: users@tomcat.apache.org
Subject: Re: Webapp undeploy failure
Pid schrieb am 20.12.2010 um 19:39 (+0000):
> On 20/12/2010 17:13, McGibbney, Lewis John wrote:
> >
> > Looking at server.xml I find that 'wombra' is the only webapp
> > specified […]
> Don't define your app in server.xml.
To understand why, search the list archives for Caldarale and context,
and/or read the relevant section in the manual.
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
--
Michael Ludwig
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Re: Webapp undeploy failure
Posted by Michael Ludwig <mi...@gmx.de>.
Pid schrieb am 20.12.2010 um 19:39 (+0000):
> On 20/12/2010 17:13, McGibbney, Lewis John wrote:
> >
> > Looking at server.xml I find that 'wombra' is the only webapp
> > specified […]
> Don't define your app in server.xml.
To understand why, search the list archives for Caldarale and context,
and/or read the relevant section in the manual.
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
--
Michael Ludwig
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Webapp undeploy failure
Posted by Pid <pi...@pidster.com>.
On 20/12/2010 17:13, McGibbney, Lewis John wrote:
> Hello list,
>
> Tried to do a bit of reading on this but the results have not come up. I am using version 6.0.26 on windows XP and all I am trying to do is undeploy (and delete from tomcat webapp folder) one webapp which is deployed every time I start my tomcat instance.
>
>
> Having started my instance I use the following http://localhost:8080/manager/undeploy?path=C:/path/to/webapp, however I got the following error
>
>
> FAIL - Context /wombra is defined in server.xml and may not be undeployed
>
> Looking at server.xml I find that 'wombra' is the only webapp specified (I had 2 other apps running, one of which has now been successfully undeployed). In this case this particular webapp was built using Tapestry, is this possibly something to do with why I am getting the undeployment failure?
Don't define your app in server.xml.
p
> Thank you
>
> Lewis
>
>
>
> Glasgow Caledonian University is a registered Scottish charity, number SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>