In production box i want to change the web.xml in a J2EE web application but i don’t want to restart the server or the application because this can create problem for lot of online users.
Suggest a way so that my web.xml changes should reflect in the web app.
In production box i want to change the web.xml in a J2EE web application
Share
Just to throw an idea out… You could embed your webserver (like embedded tomcat) and programmaticly restart it based upon some event. However, there will be a period of time where the webserver is down. Maybe create a new embedded tomcat instance using your new web.xml. You can now direct traffic to the new embedded webserver while you shutdown the old one.