[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: properties file not deployed in WAR

PeterJ do-not-reply at jboss.com
Fri Jan 23 13:34:47 EST 2009


I think you might have to give a specific example. This example should indicate the exact content of the properties file (doesn't have to be the whole file, only a property or two will do), the exact location of the properties file, exactly how that property is used in your app, and exactly what behavior you expect to see when the property is changed and what you are seeing instead. 

Also, indicate if you deploy a WAR file, or an exploded WAR directory.

Why am I asking for the above? Because of your statement "The old properties file is deployed somewhere in jboss memory". That "memory" is the "tmp" directory, which is where JBoss AS unpacks WAR files. Yet you have stated that even when you remove that directory, the old property values are still used.

Some possible causes are:
a) Your code is storing the property value elsewhere and retrieving from that location. Perhaps in a database. If you are using hsqldb, it stores its data in the data directory.
b) The property is being used by a display items, and that item is being cached by the browser, and refreshing the browser page might pull up the updated item.

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

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



More information about the jboss-user mailing list