0 Replies Latest reply on Feb 14, 2012 1:09 AM by jrvs

    Add an external properties file into JBoss AS 7.0.2 classpath

    jrvs

      Hi,

      Looks like in JBOSS 7.0 the following needs to be done to load the properties file in classpath as per JBOSS documentation

       

      In AS7, to get those properties available in the classpath, package them within your application. For example, if you are deploying a .war then package those properties in WAR WEB-INF/classes/ folder.

       

      I have made the properties file available in web-inf classes folder for AS 7 and still it doesn't get picked up as it errors out stating unable to load properties file. Should I set some additional step or am I missing some key step.  Any thoughts or alternative approach for this?

       

      Thanks!

      Sekar