Re: TNS entry JNDI

2006-06-08 Thread Brian Buchanan
We are also using Tomcat 5 and Oracle 10g, but we don't have to use tnsnames, just a service name. Your commented out code uses a SID format, and you are trying to use a TNS entry format. Try something like: The syntax for url is jdbc:oracle:thin:@//{hostname or ip}:{listenerPort}/{service na

Re: TNS entry JNDI

2006-06-08 Thread Marc Farrow
7, 2006 12:44 PM Subject: Re: TNS entry JNDI > Are you having a database connection problem or problem getting the > reference from JNDI in your code? > > On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: > > > > > > > > I am running Tomcat 5.x and have been

Re: TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am having trouble connecting. That string does fine using JDBC, but when in the To: "Tomcat Users List" Sent: Wednesday, June 07, 2006 12:44 PM Subject: Re: TNS entry JNDI > Are you having a database connection problem or problem getting the > reference from JNDI in your cod

Re: TNS entry JNDI

2006-06-07 Thread Marc Farrow
Are you having a database connection problem or problem getting the reference from JNDI in your code? On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my context element