I have a file that is part of my deployed J2EE application and need to edit it at runtime. How can I get the configuration directory my application is running on at runtime?
Got it. Printed System.getProperties() and in there was jboss.server.home: the base folder of the configuration you are running.