posted 14 years ago
Hello
We are experiencing a problem in finding a XML file in which some configuration have been set. A utility class is responsible to find the given resource name as follows:
We are using Glassfish as the App server. If we deploy the application everythin's working fine but in case of deploying another application in which this very name is expected to look up the above method returns only one of them! However we pass the class loader to this method and this method is called from different module (deployed application) but only one of them is valid.
Can anyone help me how to distinct these two different resources and change this method in a way that ensures each application acceess its own resource?
Thanks