JBoss Community

Re: How to deploy properties for application outside the EAR file?

created by Peter Johnson in Beginner's Corner - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community