Hi Danny
Setting the "reloadable=true" flag on your context will reload the .class
file of a servlet when it changes. It's still officially "experimental"
however, so YMMV.
This doesn't work for beans (as far as I know anyway), so you still have to
bounce Tomcat.
Cheers... Mike
> -----Original Message-----
> From: DANNY.SO@gurubase.com [mailto:DANNY.SO@gurubase.com]
> Sent: 29 September 2000 11:12
> To: tomcat-user@jakarta.apache.org
> Subject: How to avoid reboot of tomcat
>
>
> Hi all experienced tomcat user & developer
>
> It is highly appreciated that if someone can offer answers to
> my below
> questions.
>
> 1) l found that everytime, l changed the beans & classes used
> in my JSP, l need
> to reboot the tomcat to make the JVM reload the most
> up-to-date beans & classes.
> Is there any way to avoid rebooting the tomcat after l
> changed the beans and
> classes ?
>
> 2) Is there any way to detect whether or not there is any
> user using the
> tomcat ? (check whether there is any session object stored in
> tomcat) ?
>
>
> thanks a lot in advance.
>
> regards
> Danny
>
|