[jboss-user] [Beginners Corner] - configuration of a war, .properties in /default/conf ?
tomerbd2
do-not-reply at jboss.com
Fri Feb 15 09:57:35 EST 2008
Hi,
I have a war and inside the war i read configuration from a properties file.
I would like to have the properties file outside of the war (so wont need to unzip and rezip it for configuration changes). I do need these configuration changes at runtime.
What is the best way to do it? hold the .properties in a classpath? (I prefer not to do it). I thought of doing it like having the .properties file in the default/conf/ directory just like there is over there log4j.xml. How can I do that? How can I load configurations from the default/conf path? any environment variable that will point to that path? any standard way of doing it?
Thanks,
Tomer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129667#4129667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129667
More information about the jboss-user
mailing list