You don't need to restart tomcat, you can just restart your context
which is quite fast. Look at the "manager" webapp.

Also, I believe tomcat 4.x will restart your context automatically
when it detects new classes in the WEB-INF/classes directory.

On Wed, Dec 04, 2002 at 11:26:46AM +0800, Frans Verhoef wrote:
> I am not sure whether tomcat can regonise changes within beans, but it's easy to 
>restart
> tomcat. Just create an alias for restarting tomcat.
> Like if using bash, you can put the following line in .bashrc:
>
>         alias restart_tomcat="/usr/local/tomcat/bin/shutdown.sh ;
> /usr/local/tomcat/bin/startup.sh"
>
> if using C shell, you can put the following in .chhrc:
>
>         alias restart_tomcat /usr/local/tomcat/bin/shutdown.sh ;
> /usr/local/tomcat/bin/startup.sh
>
> Then you don't have to explicitly retype the 2 commands every time, but you can just
> type "restart_tomcat"
>
> Frans
>
> > Is there a way to have a bean recognized (when changes are done) without
> > having to restart Tomcat4? Is not is there an easy way to restart tomcat. I
> > know I have seen this in some documentation but after an two hours of
> > looking I have failed to find the answer. I have a Linux (Redhat 8)/Tomcat
> > environment (both latest releases). I have setup Tomcat4 so that it starts
> > on bootup. There is no DOS window to see status so I use log4J.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to