This content has been marked as final.
Show 2 replies
-
1. Re: Best way to locate application specific property files
jaikiran May 29, 2014 4:44 AM (in response to fisherab)The server sets certain system properties during booting. One of them is jboss.server.config.dir property wildfly/server/src/main/java/org/jboss/as/server/ServerEnvironment.java at 8.x · wildfly/wildfly · GitHub whose value you can get by calling the System.getProperty("jboss.server.config.dir") API within your application.
-
2. Re: Best way to locate application specific property files
fisherab May 29, 2014 5:23 AM (in response to jaikiran)Thanks I see that there is also a property for the log dir and, further, by the presence of such properties I can know that I am in the jboss/wildlfy container.