Re: Can a JNDI resource be in a webapp's lib folder

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/15/2009 5:28 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Can a JNDI resource be in a webapp's lib folder I think this is a reasonable desire, and I'm not sure why

RE: Can a JNDI resource be in a webapp's lib folder

2009-10-16 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Can a JNDI resource be in a webapp's lib folder Hmm... I didn't realize that. I didn't know that the servlet spec mandated JNDI behavior above the webapp level. I don't think it's the servlet spec itself that does

Can a JNDI resource be in a webapp's lib folder

2009-10-15 Thread Ziggy
I am trying to set up a JNDI resource of an Oracle database connection. I have set the connection details in my application's context file in $CATALINA_BASE/webapps/myapp/META-INF/context.xml I put the jdbc driver in $CATALINA_BASE/common/lib and everything works fine. The problem is i dont want

Re: Can a JNDI resource be in a webapp's lib folder

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 10/15/2009 3:31 PM, Ziggy wrote: I have read about this a bit and i think that all JNDI resources must be in $CATALINA_HOME/common/lib which explains why If i put the driver in the application's lib folder it cant access it because the

RE: Can a JNDI resource be in a webapp's lib folder

2009-10-15 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Can a JNDI resource be in a webapp's lib folder I think this is a reasonable desire, and I'm not sure why Tomcat's architecture does not allow this. Honestly, using the webapp's ClassLoader to create JNDI resources