[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring properties files in JBOSS?

naveeng@aztecsoft.com do-not-reply at jboss.com
Mon Mar 16 12:52:58 EDT 2009


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?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218387#4218387

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218387



More information about the jboss-user mailing list