WorkDirSetup is a module specific to Tomcat 3.3.
I'm not sure if something similar exists in Tomcat 4.x.
I didn't see anything after a quick search.  You
could implement your own LifecycleListener that
could accomplish this or add it to your startup
script if you wanted it a startup.

I'm not certain, but I believe Tomcat 4.x won't
let you serve old JSP classes for which the JSP
file is no longer around.  So "cleaning" the work
directory may not be as necessary.

Cheers,
Larry

> -----Original Message-----
> From: Marcelo Demestri [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 1:51 PM
> To: Tomcat Users List
> Subject: Re: tomcat 3.3 and caching
> 
> 
>     If this tag works in Tomcat 4.0.1?
>     I read the manual section "Server Configuration 
> Reference" and don't
> find this tag.
>     It's a "children" for another principal tag, like 
> "Server" or "Service"?
>     Thanks...
> 
>             Marcelo
> 
> ----- Original Message -----
> From: "Larry Isaacs" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 09, 2002 4:43 AM
> Subject: RE: tomcat 3.3 and caching
> 
> 
> > You can also change:
> >
> >         <WorkDirSetup cleanWorkDir="false" />
> >
> > to:
> >
> >         <WorkDirSetup cleanWorkDir="true" />
> >
> > in your server.xml.  The "work" directory for a context will
> > be deleted when the context is started and shutdown.
> > This means a context reload will clean its "work"
> > directory.
> >
> > Cheers,
> > Larry
> >
> > > -----Original Message-----
> > > From: Paul Sanwald [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, January 08, 2002 4:53 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: tomcat 3.3 and caching
> > >
> > >
> > > hello everyone,
> > >    I have noticed that tomcat 3.3 doesn't clear out the work
> > > directory upon
> > > restarting. this causes some jsp files that I have 
> removed to still be
> > > served, even though they have been deleted. I am assuming
> > > this is because
> > > the "work" directory still contains the class files for said
> > > pages. is this
> > > all correct?
> > >
> > > if so, I am going to modify the shutdown script to clean 
> out the work
> > > directory so deleted files will no longer be served.
> > >
> > > --paul
> > >
> > > --
> > > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > >
> >
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to