wood burning stoves 2.0*
The moose likes Servlets and the fly likes web hosting and changing web.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web hosting and changing web.xml file?" Watch "web hosting and changing web.xml file?" New topic
Author

web hosting and changing web.xml file?

sven studde
Ranch Hand

Joined: Sep 26, 2006
Posts: 148
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web hosting and changing web.xml file?
 
Similar Threads
session
How can make .war file for IBM websphere configurable?
Servlet Path
about deployment descriptor
resolving an error without having the source code