I have a
ejb project(ejb.jar) in ear file which looks for a spring.xml (Spring configuation file) from an session bean. The spring configuation file is located in app-inf/classes/spring.xml when i use this relative path.The spring framework is not able to get a hold of the file and i get org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
java.io.FileNotFoundException: spring.xml
The trouble is with weblogic when it deploys the ear it does so in a weird named folder like C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\myapplication\xtwx3d\APP-INF\classes
and configuation file will be looked at from
C:\bea\user_projects\domains\base_domain\servers\AdminServer\app-inf/classes/spring.xml and i.e the i get a filenotfoundexception. Can any please tell me how to go about the problem. how to give relative path in weblogic ? for files from your Jar.
Thanks in advance.