Perhaps this was missed the first time. I think the answer should be fairly
simple. How do I get my servlet to pull in my jndi.properties file, which
right now is in the WEB-INF/classes directory, instead of whatever one it
seems to be pulling in that is directing it to tomcat?

Regards

Eric

-----Original Message-----
From: Eric J Kaplan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 11:18 AM
To: 'Tomcat Users List'
Subject: jndi.properties file and classpath

We are using tomcat 5.0.28 and our servlet needs to load jndi.properties
from a jndi.properties file in our WEB-INF/classes directory but it seems to
be getting it from elsewhere and so our servlet, which needs to call a bean
on a separate application server instance (in this case jboss) fails because
its jndi context it pointing it at, I assume, the jndi instance running in
tomcat. I even tried appending this classes directory to the front of the
classpath when starting within the script (shiver) but that didn't work.
What do I need to do?

 

Regards

 

Eric 

 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to