We have two J2EE applications running on WAS 6.1. Application use library of jars that setup thru classpath. There is a property file with the same name but under different folder structure in two different jars. Application 1 points to file from first jar, application 2 points to a file from jar 2, but sometimes, application 1 pulls the file from jar 2 - how is that possible? The behavior is random.
The java class in the applciation that class it has an import statement to a class in reusbale jar that is linked thru shared libraries. Shared jars all located in the same folder.
The applciation has xml properties. The file that we need to use i specified here:
Once it is in the reusbale jar, the clas has following:
from there it will attempt to use property file and randonly will go to file that is called from another application that has following in xml properties: