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) Context

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

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 I have been trying to connect

RE: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Cooper, Vickie
' 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: Wednesday, May 12, 2004 3:04 PM To: [EMAIL PROTECTED] Subject: Trying to connect to DB2 usning

Re: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Parsons Technical Services
: Trying to connect to DB2 usning JNDI I moved the context around the resource: Context debug=0 docBase=C:/Program Files/Apache Group/Tomcat 4.1/webapps/vickie.war path=/vickie reloadable=false useNaming=true Resource name=jdbc/DB2 auth=Container type=javax.sql.DataSource/ ResourceParams