• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web hosting and changing web.xml file?

 
sven studde
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my development environment, when I make changes to web.xml, I have to shut down and restart Tomcat to get it to read the changes. How does that work when a website is hosted commercially? In other words, if I make changes to my web.xml file, and then I upload it to the web host, how do I get the changes to take effect?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat (as with most containers) gives you the ability to reload individual applications.

Many companies will have some kind of redunancy that allows them to bring down different servers. Other servers will handle the traffic until the one that's been brought down comes back up online.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are serious about deploying applications be sure to choose a hosting company that gives you control over your environment.

If using Tomcat, the manager application will allow you to stop and start individual applications without the need to restart the entire server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic