Tuesday, 27 August 2013

How to read a property file in WAS server

Some times we need a common EAR file in the different server and place individual property file in server location.

Settings done:

Application servers > server1 > Process definition > Java Virtual Machine > Custom properties >

Name: ws.ext.dirs

Value: D:\props (property file folder location)

And application is working fine, so now we can go head with unique EAR file for all the ENV’s and placing “xyz.properties” as specific to ENV’s in override

folder, please find settings below:

Application servers > server1 > Process definition > Java Virtual Machine > Custom properties >

Name: ws.ext.dirs

Value: /apps/props

No comments:

Post a Comment