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.

  1. we can pass system properties -d parameter vm arguments tomcat, example "-dmy.prop.name=value" or
  2. place system properties in property file , specify path of property file in vm arguments, example -dcom.propertyfiles="path of property file"

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -