Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using application manager

 
jim gemlo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jim gemlo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic