Ingo Siebert wrote:
Thank you for the answers.

I see one additional problem. If I deploy two different versions of the web app on the same tomcat, it is not possible configurate them separately.

That's important for me, because I have only a limited number of servers and I have to deploy more than one version at the same time.

Any additional ideas?
If the different versions look for different config files, you shouldn't have any trouble there. Maybe add a suffix to the config filename that indicates the app version version it is for, and make sure the app looks for the correct file name.

D


Ingo


Mikolaj Rydzewski schrieb:
David kerber wrote:
Mikolaj Rydzewski wrote:
David kerber wrote:
-DmyApp.configFileName="e:\TomcatClients\myApp\myApp.properties"

Then my webapp can read the filename using a System.getProperty() call.
System properties are at JVM level, so it is quite possible to have two webapps which will use common property names.

Not if I'm careful when writing the apps and naming their properties files. Definitely could be a consideration, though, depending on the environment they're running in.
I just know the pain when it comes to host third party apps which use such configuration strategy.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to