JBoss Community

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

created by Christian Reiter in Beginner's Corner - View the full discussion

I've found one possible way:

The file can be placed in jboss\server\default\conf\ and then loaded by using

URL configFileURL = Thread.currentThread().getContextClassLoader().getResource(<CONFIG_FILENAME>);

from within the application.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community