tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: reload servlet automatically
Date Mon, 29 Oct 2001 17:06:35 GMT


On Sun, 28 Oct 2001, Markus Kramer wrote:

> Date: Sun, 28 Oct 2001 08:57:49 +0100
> From: Markus Kramer <markus.kramer@firemail.de>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>,
>      markus.kramer@firemail.de
> To: tomcat-user@jakarta.apache.org
> Subject: reload servlet automatically
>
> hi,
>
> I've a problem reloading my servlets without restarting tomcat.
> <Context path="/myapp"
> 	docBase="/usr/local/httpd/htdocs/myapp"
> 	debug="1"
> 	reloadable="true"
> 	trusted="true" >
> </Context>
> If i recompile my servlet, tomcat doesn't use the new .class-file.
>
> I have tomcat 3.2.3 running and cannot upgrade to tomcat 4.
>

In general, Tomcat 3.2 only checks for updated classes at request time, so
you actually have to perform a request to trigger the check.  In addition,
it doesn't catch all cases of updated classes (although it's usually
pretty good at checking the servlet class you are requesting this time).

> thanks,
> Markus
>

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message