File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat restart problem" Watch "Tomcat restart problem" New topic

Tomcat restart problem

Joseph Bashir
Ranch Hand

Joined: Jun 16, 2004
Posts: 41

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

Joined: Dec 11, 2004
Posts: 13410

Yes, the Tomcat manager application allows you to restart individual applications.

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:
subject: Tomcat restart problem
jQuery in Action, 3rd edition