Tim,
  Ok, I found that in conf/Catalina/ the subdirectories are the vhosts.
 In the vhost subdir I found a <context>.xml file for the ghost
context.  I removed this file and restarted Tomcat and the ghost
context disappeared.  Just to test I redropped the war file in the
vhost webapps dir.  The context appears under manager and everything
works.  I rechecked the vhost subdir under conf/Catalina/ but no
<context>.xml showed up.  Once I went into the admin app and committed
a change then the <context>.xml was created under conf/Catalina/.  It
would seem to me that the Undeploy command in the manager app should be
removing the <context>.xml file under conf/Catalina/<vhost>.  It is not
doing that.  Should this be filed as a bug?

Gerry Reno


--- Tim Funk <[EMAIL PROTECTED]> wrote:
> For a ultra clean sweep (i think) ...
> 
> - Stop tomcat.
> - Look for any directories in the webapps dir (or alternate defined
> by 
> server.xml)
> - Look in conf's sub-directories for xml files.
> - Look for any war files
> 
> You shouldn't need to do these 2 because these shouldn't happen
> (IIRC) ...
> - Look for any .xml files in the  webapps dir (or alternate defined
> by 
> server.xml) - then examine the contents
> - Take <Context> references out of server.xml
> 
> -Tim
> 
> Gerry Reno wrote:
> >   In one of my vhosts I have a webapp that was installed by
> dropping a
> > war into the appropriate directory for this vhost.  The webapp
> works
> > fine.  I subsequently wanted to remove this webapp for the vhost so
> I
> > went into the  vhost manager app and selected 'Undeploy' link.  It
> > responded with "FAIL - Cannot undeploy document base for path
> > /mywebapp".  So then I tried manually deleting the webapp by
> removing
> > the WAR file and directory and deleting the vhost tomcat work area.
> 
> > Restarted Tomcat and the webapp was still listed.  You could start
> it
> > but it didn't do anything when you tried to access the context.  I
> > tried clicking on 'Undeploy' again - no luck - same error message
> as
> > before.  So now I stuck.  This ghost of a context refuses to go
> away
> > even though I think I have removed every trace of it that I can
> find. 
> > Any suggestions?
> > 
> > thx,
> > Gerry Reno
> >  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to