java - Set custom property in Tomcat7 -
we running our application using tomcat-7 in windows environment. using shibboleth idp our application, due need set system property @ container level identify 1 new property called "idp.home". found property can set in "catalina.properties". set , running using "idp.home" property problem if use same compiled war file in machine, property "idp.home" not working.
cataline.properties
idp.home=../../idp
structure:
build --> idp
--> tomcat-->conf-->catalina.properties
queries: 1) custom property "idp.home" cached in tomcat where? 2) need set "idp.home" property in file along "catalina.properties" in tomcat.
3) there other way inform tomcat "idp.home"?
thanks in advance.
- we can pass system properties -d parameter vm arguments tomcat, example "-dmy.prop.name=value" or
- place system properties in property file , specify path of property file in vm arguments, example -dcom.propertyfiles="path of property file"
Comments
Post a Comment