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
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
'
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