Where to put my application specific properties files outside WAR/EAR in JBoss EAP 6

Solution Verified - Updated -

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.conf which is placed inside the $JBOSS_HOME/modules directory 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 6 domain mode?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.