Hi,
I am trying to print jboss.server.dir variable but the output is null
i am doing System.out.println(System.getProperty("jboss.server.dir"));
I am executing this piece of code in a simple POJO class deployed in JBOSS App server 1.4.
Any pointer to this is greatly appreciated
Thanks
Darshan
There's no property named jboss.server.dir. Are you looking for jboss.home.dir? Have a look at the various system properties that jboss sets at:
http://docs.jboss.org/jbossas/javadoc/4.0.2/constant-values.html#org.jboss.system.server.ServerConfig.HOME_DIR