[jboss-user] [Installation, Configuration & DEPLOYMENT] - how to qualify java properties with jboss server instance

jesso1607 do-not-reply at jboss.com
Fri Oct 19 10:38:23 EDT 2007


We have 3 JBoss server instances with Java libraries as war files.  In the code they access a common java "properties" file.  This is common across the 3 servers, since they share the same code.

I need to find a way to qualify the variables in the property file with the name of the server instance in which the code is running under.  As to have specific properties under each server.

How do I change the Java code where they use the property file path and name and access the correct variables with the correct server instance?  This is common code across the 3 servers so I cannot specify a specific properties file for each.  Has to be dynamic at runtime.

Or is there an easier way to do this?

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

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



More information about the jboss-user mailing list