Deepak Pant wrote:I don't know of a way where you can edit the property file values directly from the WAS console.
Key points to consider are:
1. Bundle the property file(s) in the jar that uses it. Requires you to deploy new jar every time property has to change.
2. Keep the property file outside application EAR/WAR/JAR file(s) but in a location like "\WebSphere\AppServer\profiles\<profile>\config\cells\<cell name>", which WAS will copy in all the nodes within ND environment.
3. The name of the property file can be either hard-wired in the application OR picked up from a WAS variable.
4. You can change the property file under "config\cells\<cell name>" folder and WAS will sync it up with all the nodes in ND environment. In Base env you are all set anyways.
Hi Deepak,
Thanks for the reply. Is it possible for you to direct me to an example on the web for the above? Mainly placing the property file in the config\cells folder and how to read it from there? I'd really appreciate it.