Hi Jeanne,
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:
<resource
name="datasource.n1n.validate_buffers"
basepath="projects/transactions"
startpath="projects/transactions"
pattern="validate_buffers.properties">
</resource>
Once it is in the reusbale jar, the clas has following:
ResourceManager serverResources = ResourceRegistry.getInstance().get("datasource.n1n.server");
ResourceManager transactionResources = ResourceRegistry.getInstance().get("datasource.n1n.validate");
ResourceBundle transactionProperties = transactionResources.asResourceBundle();
ResourceBundle bufferProperties = ResourceRegistry.getInstance().get("datasource.cics.validate_buffers").asResourceBundle();
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:
<resource
name="datasource.n1n.validate_buffers"
basepath="projects/components/bproject/finder"
startpath="projects/components/bproject/finder"
pattern="properties/validate_buffers.properties">
</resource>
Irene