tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ScottAnd...@BC.com>
Subject RE: tomcat external property file
Date Mon, 02 Oct 2006 19:19:12 GMT
You can pass it as a variable in tomcat's startup.sh (unix, linux) or
startup.bat (windows) in the bin directory.  Modify that file and add
something like this right before the last line:

#Added link to external property file
JAVA_OPTS='-Dmy.props.dir=/opt/tomcat/properties'
export JAVA_OPTS

-----Original Message-----
From: yaliu07 [mailto:yaliu07@lycos.com] 
Sent: Monday, October 02, 2006 11:44 AM
To: users@tomcat.apache.org
Subject: tomcat external property file


hi.  i like to have tomcat to load an external property file that i can
declare some variable only local to the machine, such as image path.

can anybody give me any help how to load an external property file when
tomcat starts??

thanks
-- 
View this message in context:
http://www.nabble.com/tomcat-external-property-file-tf2371317.html#a6606
189
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


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


Mime
View raw message