Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Tomcat restart problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat restart problem" Watch "Tomcat restart problem" New topic
Author

Tomcat restart problem

Joseph Bashir
Ranch Hand

Joined: Jun 16, 2004
Posts: 41
Hi

My application uses Struts framework. Everytime I compile a java class, or I make changes in struts-config.xml file, I have to restart tomcat to enable java class and struts-config.xml file to show their effect. Is there any way taht I do not have to restart tomcat again and again.

I am using Tomcat 5.0.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Yes, the Tomcat manager application allows you to restart individual applications.
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html

Also, if you manually configure your Context, you can set reloadable to "true" which will cause your application to be automatically restarted any time an already loaded class file is updated.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat restart problem