anonymous wrote :
| System.getProperty("jboss.server.home.dir")
|
| Should this not produce the home directory of JBoss "out-of-the-box", or do
I need to perform some sort of manual initialization for this setting (ie - look into a
file, pull a manually set config value for the dir, then set the property)?
It should work out-of-box.
Where are you calling this method? Is it a jsp/servlet or some class running on the
server? Or is it some standalone client (in which case, this wont be available)?
And which version of JBoss and Java are you using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131272#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...