RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Subject: Re: DB2 DataSource. On 4/13/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: > I am putting my Resource inside the GlobalNamingResource. Do I need anything > in the Context node? > If you are using GlobalNamingResource you don't need the Context node because it is gl

Re: DB2 DataSource.

2007-04-13 Thread Rashmi Rubdi
On 4/13/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: I am putting my Resource inside the GlobalNamingResource. Do I need anything in the Context node? If you are using GlobalNamingResource you don't need the Context node because it is global to all contexts and not just one context. I hav

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
PROTECTED] Sent: Friday, April 13, 2007 10:27 AM To: Tomcat Users List Subject: Re: DB2 DataSource. As Len Popp mentioned before, the syntax for Connection Pooling is different for certain versions of Tomcat. If you carefully follow the documentation of "JDBC DataSources" for *your*

Re: DB2 DataSource.

2007-04-13 Thread Rashmi Rubdi
As Len Popp mentioned before, the syntax for Connection Pooling is different for certain versions of Tomcat. If you carefully follow the documentation of "JDBC DataSources" for *your* version of Tomcat http://tomcat.apache.org/ , and do some additional minor research on the pseudo-code presented

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Your right. My ResourceParam syntax is different. I didn't look closely at that. My values are mostly the same. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 9:25 AM To: Tomcat Users List Subject: Re: DB2 DataSource. It should *not*

Re: DB2 DataSource.

2007-04-13 Thread Len Popp
sure I didn't miss something. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 5:59 PM To: Tomcat Users List Subject: Re: DB2 DataSource. Your Tomcat version is not known, so I'm assuming the latest version 6.0.10. Here

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Thanks. I am using 5.0.28, but what I have looks like what you have. I will take a closer look to make sure I didn't miss something. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 5:59 PM To: Tomcat Users List Subject: Re: DB2 DataS

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
I think I have all the jar files in the right place. In fact I can access DB2 when I use DriverManager. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 11:14 PM To: Tomcat Users List Cc: Martin Gainty Subject: Re: DB2 DataSource. Hi, I&#

RE: DB2 DataSource.

2007-04-13 Thread Fargusson.Alan
Actually my program works when I use DriverManager. It only failes when I use a DataSource. -Original Message- From: Pulkit Singhal [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 10:06 PM To: Tomcat Users List Cc: Martin Gainty Subject: Re: DB2 DataSource. The following is

Re: DB2 DataSource.

2007-04-12 Thread Foo Shyn
r (In Tomcat 4.1's case, Tomcat 4.1\common\lib). Thanx. Regards, FooShyn - Original Message - From: "Pulkit Singhal" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Cc: "Martin Gainty" <[EMAIL PROTECTED]> Sent: Friday,

Re: DB2 DataSource.

2007-04-12 Thread Pulkit Singhal
I am hoping that someone has a working example that they actually tested. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 3:19 PM To: Tomcat Users List Subject: Re: DB2 DataSource. Alan- http://www.itjungle.com/fhg/fhg051204-story01.htm

Re: DB2 DataSource.

2007-04-12 Thread Rashmi Rubdi
Your Tomcat version is not known, so I'm assuming the latest version 6.0.10. Here's what should go in: -- ./MyProject/WEB-INF/web.xml -- http://java.sun.com/xml/ns/javaee"; xmlns:x

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
, April 12, 2007 4:56 PM To: Tomcat Users List Subject: Re: DB2 DataSource. I tried the example shown at the bottom of the page here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html with MySQL and I got it to work, but I don't have DB2. If you want the code with My

Re: DB2 DataSource.

2007-04-12 Thread Rashmi Rubdi
I tried the example shown at the bottom of the page here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html with MySQL and I got it to work, but I don't have DB2. If you want the code with MySQL I can post it. -Rashmi On 4/12/07, Fargusson.Alan <[EMAIL PROTECTED]> wrot

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
riginal Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 3:19 PM To: Tomcat Users List Subject: Re: DB2 DataSource. Alan- http://www.itjungle.com/fhg/fhg051204-story01.html Viel Gluck/Buena Suerte Martin-- This email message and any files transmitted

Re: DB2 DataSource.

2007-04-12 Thread Martin Gainty
error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Fargusson.Alan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2007 6:01 PM S

DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
Can someone point me to documentation on setting up a DataSource to DB2? I tried to use the examples for Oracle and MySql, but I have not been able to get it to work. I am able to access DB2 using the DriverManager. - To start