RE: Oracle connection pooling

2009-02-13 Thread Uma Gudi
rs List cc Subject RE: Oracle connection pooling I was just putting some fake values there. But I got around the problem (although I can't remember how) Now I put: into META-INF/context.xml. The type "javax.sql.DataSource" didn't work. Now when I call getCo

RE: Oracle connection pooling

2009-02-13 Thread Propes, Barry L
ilto:eric_hamac...@gallup.com] Sent: Friday, February 13, 2009 1:55 PM To: Tomcat Users List Subject: RE: Oracle connection pooling Thanks, I was able to get connections that way. However, I use Oracle-specific classes like: oracle.jdbc.OracleTypes; oracle.jdbc.internal.OracleCallableStatement; o

RE: Oracle connection pooling

2009-02-13 Thread Martin Gainty
gt; To: users@tomcat.apache.org > Date: Fri, 13 Feb 2009 11:44:43 -0600 > Subject: RE: Oracle connection pooling > > I was just putting some fake values there. > > But I got around the problem (although I can't remember how) Now I put: > > type

RE: Oracle connection pooling

2009-02-13 Thread Hamacher, Eric
n, WI 53562 USA GALLUP Technology Achiever | Learner | Restorative | Intellection | Deliberative -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Friday, February 13, 2009 12:12 PM To: 'Tomcat Users List' Subject: RE: Oracle connection pooling For f

RE: Oracle connection pooling

2009-02-13 Thread Propes, Barry L
ool.OracleDataSourceFactory" And switch up accordingly. See if that doesn't work. -Original Message- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Friday, February 13, 2009 11:45 AM To: Tomcat Users List Subject: RE: Oracle connection pooling I was just putting so

RE: Oracle connection pooling

2009-02-13 Thread Hamacher, Eric
PM To: 'Tomcat Users List' Subject: RE: Oracle connection pooling Yeah -- looked like an odd port to me, too -- I've only seen 1521, 1526 and 1527 before. I figured his SID was just a generic placeholder for his real SID. -Original Message- From: Jorge Medina [mai

Re: Oracle connection pooling

2009-02-12 Thread Anurag Kapur
port to me, too -- I've only seen 1521, > 1526 and 1527 before. > I figured his SID was just a generic placeholder for his real SID. > > -Original Message- > From: Jorge Medina [mailto:jmed...@e-dialog.com] > Sent: Thursday, February 12, 2009 4:12 PM > To: Tomcat U

RE: Oracle connection pooling

2009-02-12 Thread Propes, Barry L
omcat Users List Subject: RE: Oracle connection pooling Is your Oracle database port and is the name of your SID "SID"? We use Oracle jdbc driver with Oracle 10g. I set the attributes on the resource to: type="javax.sql.DataSource" driverClassName="oracle.jdb

RE: Oracle connection pooling

2009-02-12 Thread Propes, Barry L
racle"); // Allocate and use a connection from the pool Connection connection = ds.getConnection(); -Original Message- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Thursday, February 12, 2009 2:52 PM To: users@tomcat.apache.org Subject: Oracle connection pooling Hell

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
sage- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Thursday, February 12, 2009 3:52 PM To: users@tomcat.apache.org Subject: Oracle connection pooling Hello: I am in a bind. I am getting: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apac

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
Try ds = (DataSource)context.lookup("java:/comp/env/jdbc/GFDataSource"); -Original Message- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Thursday, February 12, 2009 3:52 PM To: users@tomcat.apache.org Subject: Oracle connection pooling Hello: I am in a b

Oracle connection pooling

2009-02-12 Thread Hamacher, Eric
Hello: I am in a bind. I am getting: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.loo