[jboss-user] [Installation, Configuration & DEPLOYMENT] - Accessing properties files at ${jboss.server.home.dir}/conf

jej2003 do-not-reply at jboss.com
Thu Apr 17 08:10:34 EDT 2008


I am trying to access a properties value at ${jboss.server.home.dir}/conf.  My current application has an entry that points to this properties file and it works if I hard code the path (say c\:/jboss-4.0.3sp1/server/default/conf/propertiesfile), but I can't seem to get it to work with a relative path and I can't seem to get it to work with ${jboss.server.home.dir}.  Is it safe to assume that ${jboss.server.home.dir} doesn't get expanded in proeprties files?  And what is the path of my application once it's deployed?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144816#4144816

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144816



More information about the jboss-user mailing list