java - How to maintain a single property file for multiple web server instances running on different node on WAS Cell NW deployment -


i maintaining/developing web application deployed in multiple nodes of websphere cell. there 2 nodes in cell. each node has web server in web application deployed. there 2 instances of web application.

i can use url provider read property file web application. (reference)

but have maintain identical property file on each server. when need change have change on both servers.

is there anyway can maintain single property file , access web application deployed on different places? or other better way this?

if read property files using url resource (a practice), can host property file on single internal web server. url resource reference in each of web containers point internal web server. have change property file in internal web server document root.

this practice has several drawbacks.

  1. security - externalizing configuration, have attack vector. apply mutual-auth ssl scenario, gets more complicated maintaining 2 property files.
  2. availability - internal web server single point of failure. cluster it; have more servers manage, precisely trying avoid.
  3. latency - reading configuration off box involves more latency file system.

i believe property file per node going work best. if copying file twice more onerous copying once, script it. scale many nodes opt deploy.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -