RE: Trying to connect to DB2 usning JNDI

2004-05-13 Thread Cooper, Vickie
I have the "Resource" within the "Context" and I no longer get errors when I start up TomCat...but I still get the error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) factory

Re: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Parsons Technical Services
Wednesday, May 12, 2004 7:32 PM Subject: RE: Trying to connect to DB2 usning JNDI I moved the context around the resource: factory org.apache.commons.dbcp.BasicDataSourceFactory maxWait 5000 maxActive

RE: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Cooper, Vickie
t: Wednesday, May 12, 2004 1:25 PM To: 'Tomcat Users List' Subject: RE: Trying to connect to DB2 usning JNDI Is the Resource outside or inside your Context ? It should be inside. > -Original Message- > From: Cooper, Vickie [mailto:[EMAIL PROTECTED] > Sent: Wedne

RE: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Mike Curwen
Is the Resource outside or inside your Context ? It should be inside. > -Original Message- > From: Cooper, Vickie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 3:04 PM > To: [EMAIL PROTECTED] > Subject: Trying to connect to DB2 usning JNDI > > &g

Trying to connect to DB2 usning JNDI

2004-05-12 Thread Cooper, Vickie
I have been trying to connect to DB2 but I keep getting the error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup My code has: Context initCtx =3D new InitialContext(); Context envCtx =3D (Context)initCtx.lookup("java:comp/en