当多个WAR文件在Tomcat运行,
每个WAR期待一个如何在多个WAR文件运行时传递-D参数?
-Dconfig-path=/path/app.conf.ini
是否有可能以一种独特的-D参数值传递给每一个运行的应用程序的?
tomcat
webapps
APPLICATION_1.war -Dconfig-path=/path/app.conf1.ini
APPLICATION_2.war -Dconfig-path=/path/app.conf2.ini
APPLICATION_3.war -Dconfig-path=/path/app.conf3.ini
不,它设置一个JVM范围的系统属性。 – EJP