Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
No matter what i do, the JNDI lookup is returning null. What causes a JNDI lookup to return null when the resource is defined in the GlobalNamingResources section of server.xml? Should I put the resources into NamingResources in my context.xml? On Mon, 20 Dec 2004 13:52:29 -0500, David Uctaa

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
What is the resourcelink in your context.xml? -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 12:27 PM To: [EMAIL PROTECTED] Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 No matter what i do, the JNDI lookup

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 No matter what i do, the JNDI lookup is returning null. What causes a JNDI lookup to return null when the resource is defined in the GlobalNamingResources section of server.xml? Should I put the resources into NamingResources in my

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
] Sent: December 21, 2004 1:52 PM To: Tomcat Users List Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 If the name of the global resource in server.xml is defined as GlobalNamingResources Resource [attribs] name=jdbc/MYDATASOURCE/ ResourceParams name=jdbc/MYDATASOURCE

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
: December 21, 2004 12:27 PM To: [EMAIL PROTECTED] Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 No matter what i do, the JNDI lookup is returning null. What causes a JNDI lookup to return null when the resource is defined in the GlobalNamingResources section

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
List Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 If the name of the global resource in server.xml is defined as GlobalNamingResources Resource [attribs] name=jdbc/MYDATASOURCE/ ResourceParams name=jdbc/MYDATASOURCE param.../param

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
has to be the same. -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 3:26 PM To: Tomcat Users List Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 Resource type=com.ibm.as400.access.AS400JDBCConnectionPoolDataSource auth

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
in resource has to be the same. -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 3:26 PM To: Tomcat Users List Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 Resource type=com.ibm.as400

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread sven morales
Hi, I have not seen a context.xml file with those dual ResourceLink Furthermore, the way you have the Resource/ResourceParams defined under GlobalResource seems to be not nested properly. aka_sergio --- David Uctaa [EMAIL PROTECTED] wrote: I am running Tomcat 5.0.28 on Win XP SP1.

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread David Uctaa
I have 2 ResourceLink entries in context.xml because there are databases on two different servers. Is there another way to do that reference? The server.xml is configured as: GlobalNamingResources Resource attribs name=name1 / Resource attribs name=name2 / ResourceParams