5 Replies Latest reply on Oct 22, 2007 11:46 AM by peterj

    how to qualify java properties with jboss server instance

    jesso1607

      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?