The problem is "what do you mean by server environment?"
Presumably, you mean Tomcat, since this is the Tomcat forum. Tomcat specifically has the ability to setup multiple "environments" (Tomcat instances) by taking advantage of the CATALINA_HOME and CATALINA_BASE environment variables.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
Die Fledermaus does not fear such a tiny ad:
how do I do my own kindle-like thing - without amazon