• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

restarting tomcat after modifying struts-onfig.xml file

hi!

I was wondering is there any way that prevents restarting tomcat after modifying struts-onfig.xml file? So I can keep working on w/o restarting tomcat?

thanks,
0
dkim18
Asked:
dkim18
2 Solutions
 
kiranhkCommented:
no, you cannot do that. becoz struts-onfig.xml file is parsed and loaded in the init method of the ActionServlet of the Struts Framework.
But you sure can stop your application using Tomcat Manager webapp and when u restart your application it will pick up the new struts-onfig.xml file.

The following links will give you all the info for what i told in brief above

http://struts.apache.org/api/index.html

http://struts.apache.org/download.cgi

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

0
 
pat5starCommented:
In your TOMCAT_HOME/conf/server.xml you can set reloadable="false" so that tomcat will not check files for changes and reload when it detects them. Is that what your after?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now