The server/xxx/conf directory is in the classpath so using ClassLoader.getRource() is a good way to access configuration files in that directory.
Alternately, you can get the server/xxx/conf location via the jboss.server.conf.url system property, and then us a File object to access the file.