Hi all,
I'm trying to build a SOAP webservice hosted on Tomcat. The application I'm building is talking to a couple of third party EJB's in the background.
My problem is : A class that I need to use (provided by this 3rd party company) is trying to locate it's own xml configuration file to setup it's JNDI lookup environment. This class does so in it's initial construction in the background). When I run the application as a consol app the xml config file is located, but when I package everything in a war Tomcat simply won't locate the xml file no matter where I put it.( by default it goes to web-inf/classes/configfile.xml)
I can programatically setup my JNDI environment and get access to granular entity/session beans, but this main class (which tries to lookup this xml file) provides validity/logging/multipleUpdates etc kind of functionality which is essential.
I have no control over this xml file lookup mechanism in this class. Does any body have any oppinion why Tomcat won't locate this file which is included in the deployed module?
Thank you so much in advance.
Yigit
I'm trying to build a SOAP webservice hosted on Tomcat. The application I'm building is talking to a couple of third party EJB's in the background.
My problem is : A class that I need to use (provided by this 3rd party company) is trying to locate it's own xml configuration file to setup it's JNDI lookup environment. This class does so in it's initial construction in the background). When I run the application as a consol app the xml config file is located, but when I package everything in a war Tomcat simply won't locate the xml file no matter where I put it.( by default it goes to web-inf/classes/configfile.xml)
I can programatically setup my JNDI environment and get access to granular entity/session beans, but this main class (which tries to lookup this xml file) provides validity/logging/multipleUpdates etc kind of functionality which is essential.
I have no control over this xml file lookup mechanism in this class. Does any body have any oppinion why Tomcat won't locate this file which is included in the deployed module?
Thank you so much in advance.
Yigit