On Fri, 26 Apr 2002, Iv�n Escobedo wrote: > Hi dudes, i have this situation, every time o modify a class, i have > to stop and restart Tomcat, so the class be refreshed. > > So, > 1. is there a way to "restart" Tomcat? I think this is not good, > cause i have apache running, so i have to stop apache, and then > tomcat, then start tomcat and finally apache. > > 2. Is there a way to tell tomcat to reload classes automatically? > maybe a parameter in the web.xml or server.xml. > > Note: I am running apache and tomcat on Windows 2000
What version of Tomcat? I recently set up 4.0(.3), and it does reloading. You have to configure it in conf/server.xml though, and it needs to be done per context. The Context tag has a reloadable attribute that you can set to "true" (or "false", I guess -- "false" is the default). Not real sure about earlier versions of Tomcat, although I believe reloading in them was problematic. Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ 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
