File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
The requested resource (/welcome) is not available." HTTP Status 404 - /welcome
Do I need to restart TOMCAT???????
Struts-config.xml
eclipse tomcat context reloading on each jsp save :(
Tomcat configuration in Eclipse