I am facing a problem with defining different system properties for 2 different instances of the same web application.
In my deploy directory I have two extracted war files and the application expects a system property (accessed with System.getProperty()) to be set that holds a directory path and this must be different for the 2 applications.
With tomcat I'm doing it like this:
<Context path="/QA" .....> <Parameter name="streetstation.config.dir" value="U:\eRefFE\.." override="true"/> </Context> <Context path="/SR" .....> <Parameter name="streetstation.config.dir" value="V:\eRefFE\.." override="true"/> </Context>
The name of your exploded war folder (minus the .war) should define your context name. For two instances to exist on the same app server, I'm pretty sure the contexts must be different, and this would provide you with a different path... Then again, I might be misunderstanding your question.