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