You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ramos Miguel-FMR068c <fm...@motorola.com> on 2001/04/24 22:06:12 UTC

Eliminate system from ServletContext

Hello all:

I installed a sample program on the tomcat server, but now I want to remove
it. 

I delete the entry from the server.xml and restarted the server, but it
seems that
didn't result.

What's the right procedure to delete a previous installed program from the
ServletContext?

Thanks again.

Miguel Ramos.

Re: Eliminate system from ServletContext

Posted by Ed Gomolka <eg...@gyldan.com>.
I'm not sure what you're trying to do.
Do you mean that you originally added a new webapp and it's still there 
after you deleted
it from the server.xml file?
By default Tomcat 3.2.1 will find all webapps in your $TOMCAT_HOME/webapps 
directory,
even if they are not identified in the server.xml file. If you want to make 
your sample
unavailable, you need to remove it entirely from the webapps area.

Ed
(egomolka@gyldan.com)

At 01:06 PM 4/24/01 -0700, Ramos Miguel-FMR068c wrote:
>Hello all:
>
>I installed a sample program on the tomcat server, but now I want to remove
>it.
>
>I delete the entry from the server.xml and restarted the server, but it
>seems that
>didn't result.
>
>What's the right procedure to delete a previous installed program from the
>ServletContext?
>
>Thanks again.
>
>Miguel Ramos.



Re: Eliminate system from ServletContext

Posted by Nikolai Turchanikov <ni...@opensourceapplications.com>.
Hi, there,

Obviously, you have context auto mount enabled. To avoid removing
directory, yet to disable context, comment out the following expression 
in server.xml:

<!-- No auto context
  <ContextInterceptor className="org.apache.tomcat.context.AutoSetup" />
-->

Nikolai

Mark Howell wrote:

> remove the application directory containing it from the webapps 
> directory.
> 
> -Mark Howell
> mark at nullcraft.org
> 
> On Tue, 24 Apr 2001, Ramos Miguel-FMR068c wrote:
> 
>> Hello all:
>> 
>> I installed a sample program on the tomcat server, but now I want to remove
>> it. 
>> 
>> I delete the entry from the server.xml and restarted the server, but it
>> seems that
>> didn't result.
>> 
>> What's the right procedure to delete a previous installed program from the
>> ServletContext?
>> 
>> Thanks again.
>> 
>> Miguel Ramos.
>> 


Re: Eliminate system from ServletContext

Posted by Mark Howell <ma...@nullcraft.org>.
remove the application directory containing it from the webapps 
directory.

-Mark Howell
mark at nullcraft.org

On Tue, 24 Apr 2001, Ramos Miguel-FMR068c wrote:

> Hello all:
> 
> I installed a sample program on the tomcat server, but now I want to remove
> it. 
> 
> I delete the entry from the server.xml and restarted the server, but it
> seems that
> didn't result.
> 
> What's the right procedure to delete a previous installed program from the
> ServletContext?
> 
> Thanks again.
> 
> Miguel Ramos.
>