Re: DB2 DataSource.

2007-04-13 Thread Foo Shyn
(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, April 13, 2007 1:05 PM Subject: Re: DB2 DataSource. The following

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

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

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 DataSource

Re: DB2 DataSource.

2007-04-13 Thread Len Popp
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 DataSource. Your Tomcat version is not known, so I'm assuming the latest version 6.0.10. Here's what

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

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

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 have

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 global to all contexts

Re: DB2 DataSource.

2007-04-12 Thread Martin Gainty
Alan- http://www.itjungle.com/fhg/fhg051204-story01.html Viel Gluck/Buena Suerte Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in

RE: DB2 DataSource.

2007-04-12 Thread Fargusson.Alan
- 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 with it contain

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]

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

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 -- ?xml version=1.0? web-app

Re: DB2 DataSource.

2007-04-12 Thread Pulkit Singhal
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 with it contain confidential