I have this problem b4, but someone told me add reloadable="true" in DefaultContext tag
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<DefaultContext reloadable="true"/>
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
----- Original Message -----
From: "Rui Oliveira" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 3:49 PM
Subject: RE: Tomcat does not Auto-reload.
> When is this destroy method invoked? If I copy the newer version of the
> servlet to the WEB-INF/classes directory, how will a destroy method be
> helpful?
>
> Rui
>
> > -----Original Message-----
> > From: kf platypus [mailto:[EMAIL PROTECTED]]
> > Sent: quarta-feira, 12 de Junho de 2002 15:29
> > To: [EMAIL PROTECTED]
> > Subject: Re: Tomcat does not Auto-reload.
> >
> > That's due in part to the servlet architectures caching mechanism.
> > Typically
> > we added a method to each servlet to destroy it. I don't know if
> there's a
> > better method than that though as I know I would like to see one
> because
> > they bith seem a bit ghetto.
> >
> > Regards!
> >
> >
> > >From: "Rui Oliveira" <[EMAIL PROTECTED]>
> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: Tomcat does not Auto-reload.
> > >Date: Wed, 12 Jun 2002 15:26:23 +0100
> > >
> > >Hello,
> > >
> > >
> > >
> > >My Tomcat does not auto-reloads the servlets. Whenever I compile my
> > >servlets, I place them under the WEB-INF/classes dir, but they simple
> do
> > >not auto-reload. I have to restart TOMCAT before the update takes
> > >effect.
> > >
> > >
> > >
> > >Can someone tell me why?
> > >
> > >
> > >
> > >I'm using Tomcat 4.0.1 on RedHat 7.2 (kernel 2.4.7). GLibc 2.2.4.
> > >
> > >
> > >
> > >
> > >
> > >Thx
> > >
> > >Rui
> > >
> >
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp.
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:tomcat-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:tomcat-user-
> > [EMAIL PROTECTED]>
> >
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>