[jboss-user] [Beginner's Corner] - Re: How to deploy properties for application outside the EAR file?

Christian Reiter do-not-reply at jboss.com
Fri Apr 15 05:20:29 EDT 2011


Christian Reiter [http://community.jboss.org/people/t3chris] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/600248#600248

--------------------------------------------------------------
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
[http://community.jboss.org/message/600248#600248]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110415/f3190bf3/attachment-0001.html 


More information about the jboss-user mailing list