Where to put my application specific properties files outside WAR/EAR in JBoss EAP
Issue
- Is there a place or directory which can be used to put the properties files or additional files which are supposed to be loaded via classloader.
- How can we make these properties files accessible to various applications deployed on JBoss EAP6.
- Unable to read the properties file from module
my.confwhich is placed inside the$JBOSS_HOME/modulesdirectory and facing the below exception:
unable to find sample.properties
- How to add custom properties files for each application in EAP 6?
- In EAP 5.0 , there was a conf folder, where we could add custom properties files for each application we deploy. How can we achieve the same in
JBoss EAP 6domain mode?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.