In our application we have appstrings.properties and log4j.properties that reside in both the properties directory and in the WAR files WEB-INF/classes directory. On JBOSS, the files that reside in the war files WEB-INF/classes directory take precedence over those defined on the system classpath, namely, in the properties directory. Hence in JBOSS we cannot make any changes in *.properties files located in properties folder.
I was able to find only one solution to this problem ie; by removing the properties files from WEB-INF/classes in the WAR file, so that files inside properties directory will be taken. Is there any other alternative by which JBOSS locates the properties files in properties folder? Is there any configuration that can be done for the same?