The only method whereby I have gotten it to repeatedly work correctly is to
stop Tomcat, blow away the work directory and restart Tomcat.
What would be useful is a method in which Tomcat, upon restart,
automatically compiles all the JSPs in its defined contexts.
Darrell
-----Original Message-----
From: Meir Faraj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: ** Does Tomcat need Restart **
and for jsp how to do this ?
I've problem in reloading jsp (after few reloading)
even if I delete the created class from the work/ROOT/ dirrectory.
what I need to do ?
----- Original Message -----
From: "Scott Judd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:26 PM
Subject: Re: ** Does Tomcat need Restart **
> I'd like to offer two cents on this topic. I have seen both very
successful
> and very unsuccessful results when using servlet reloading on Tomcat.
First,
> make sure that the servlet classes reside in
/webapps/ROOT/WEB-INF/classes.
> Next, make sure that the web.xml file in the webapps/ROOT/WEB-INF folder
> contains the appropriate entry to register the servlet. Finally, make sure
> that the reloadable attribute for the given context is set to "true" in
> /conf/server.xml.
>
> Tomcat has demonstrated consistent success in reloading servlets that I
> invoke directly from the CLI of my browser, following the above
> prescription. If I try to vary this formula (place servlets in other
> directories, package servlet classes together, invoke a servlet from
another
> servlet) servlet reloading seems to get hosed and I end up restarting
Tomcat
> in order to "see" the new class files.
>
> scott
>
> G:\tomcat\webapps\ROOT\WEB-INF
>
> From: "Benoit Jacquemont" <[EMAIL PROTECTED]>
> > This feature exists, it is defined by the reloadable parameter for the
> > Context. But it is an alpha version feature, so you always need to
restart
> > Tomcat.
> >
> > Benoit
> >
>
> > > Hi,
> > >
> > > Is there any option in tomcat CONFIGURATION by which, I can
> > > instruct Tomcat
> > > to restart automatically whenever a servlet gets modified (i.e. I
> > > re-compile the servlet).
> > >
> > > I am running Tomcat and Apache on Linux OS.
> > >
> > > Regards,
> > > Marathe
> >
>
>