tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jann VanOver <Jann.VanO...@loudeye.com>
Subject RE: ** Does Tomcat need Restart **
Date Wed, 18 Apr 2001 21:23:31 GMT
I hacked my tomcat startup script to blow away the work directory before
restarting.  Now I don't have to remember to do that anymore.

-----Original Message-----
From: Darrell Porter [mailto:dporter@wiseconnect.com]
Sent: Wednesday, April 18, 2001 10:52 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: ** Does Tomcat need Restart **


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:farajm@netvision.net.il]
Sent: Wednesday, April 18, 2001 10:44 AM
To: tomcat-user@jakarta.apache.org
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" <scottjudd@amered.com>
To: <tomcat-user@jakarta.apache.org>; <benoit.jacquemont@smile.fr>
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" <benoit.jacquemont@smile.fr>
> > 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
> >
>
>

Mime
View raw message