I want to add an application specific configuration file to the directory jboss/server/*/conf. Given that this directory will change depending on how the server is set up how can I access a file in the conf directory from with a webabb? Is there a way to find the absolute path to the directory from a webapp at runtime?
Sorry if this question has been asked before. I searched the archives but didn't find an answer.
You can query the system property jboss.server.config.url to determine the location of the server/xxx/conf directory.