It works fine for glassfish 2.1, but when I migrate my application to glassfish 3.1.1 I get an error, "file /serviceConfiguration.properties not found"
Complete error :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationService' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is: file /serviceConfiguration.properties not found.
posted 4 years ago
This has been class loader issue.
Glassfish is looking first into deployed application's lib folder and then jar outside the lib folder. (In Glassfish v2.1 it was opposite of this)
Any idea how to manage class loading in Glassfish ?