aspose file tools*
The moose likes Tomcat and the fly likes Using application manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Using application manager" Watch "Using application manager" New topic
Author

Using application manager

jim gemlo
Greenhorn

Joined: Feb 24, 2004
Posts: 20
I have made changes to a web.xml file and want it to be reread but dont want to stop the whole application server. Is it possible. I dont have it deployed as a WAR file.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
The application manager lets you stop and restart a "web application" - I'm assuming it re-reads the web.xml when you restart it - easy enough to check. I do know it totally rebuilds the servlet instance, so it should re-read web.xml.
Bill


Java Resources at www.wbrogden.com
jim gemlo
Greenhorn

Joined: Feb 24, 2004
Posts: 20
It does not re-read the web.xml file. Atleast in the documentation I have read. I am refering to when you click stop in the gui. Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
Well, I just tried a simple example, and if you stop and start a web application with the Tomcat manager, it DOES re-read the web.xml.
So there is your solution.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using application manager
 
Similar Threads
seperate logging
TagLib in WCS
Do i allowed to copy a hibernate source
Run JAR file in Applet
How to bundle some file with jar?