0 Replies Latest reply on Jun 18, 2015 5:59 PM by Yamin Bismilla

    How to create hierarchy property files

    Yamin Bismilla Newbie

      Hi all,

       

      I have a websphere application that I am trying to convert to JBOSS.

      We handled our property files for our application by setting the classpath in a hierarchy.

      A lot of our dependent jar files assume this kind of format. Some I can change, and others I can't.

       

      For example.

       

      /config/testenv/env1

      /config/testenv

      /config/generic

       

      It will look for a property in the classpath order going from a more specific environment to the more generic ones.

       

      I've not sure how to do this in JBOSS. Most of what I could see involved creating a module and places config files in there.

      But I don't see any way to handle this hierarchy method.

       

      Any ideas?