JDBC/DBCP problems

2004-01-28 Thread Burgess, Jay S
I'm obviously missing something important with regards to moving our database/JDBC connectivity to use JNDI DataSource/DBCP. I've read and re-read the docs, looked at every related message in the archive, and Google'd every set of keywords I can think of, but still no luck. Here's the issue:

RE: JDBC/DBCP problems

2004-01-28 Thread Chris Ward
- From: Burgess, Jay S [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 3:36 PM To: [EMAIL PROTECTED] Subject: JDBC/DBCP problems I'm obviously missing something important with regards to moving our database/JDBC connectivity to use JNDI DataSource/DBCP. I've read and re-read

RE: JDBC/DBCP problems

2004-01-28 Thread Burgess, Jay S
comments in mind, see if I can uncover anything further, and see if anyone else replies. Thanks. Jay -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 10:00 AM To: Tomcat Users List Subject: RE: JDBC/DBCP problems Hi Jay, I don't know

Re: JDBC/DBCP problems

2004-01-28 Thread Philipp Taprogge
Hi! Burgess, Jay S wrote: Thanks for the feedback. Maybe my problem does have something to do with context visibility, but since I'm defining the resource within SERVER.XML's GlobalNamingResources, I was under the impression that these resources were available to all contexts. I had a similar

Re: JDBC/DBCP problems

2004-01-28 Thread Michael Duffy
I think it's a better idea to make those app resources local instead of global. If your app is the only one that needs that data source, by all means it should not be global. That's the way I prefer to do it. Keep those apps uncoupled and isolated from each other. - MOD --- Philipp Taprogge

RE: JDBC/DBCP problems

2004-01-28 Thread Burgess, Jay S
[mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 11:36 AM To: Tomcat Users List Subject: Re: JDBC/DBCP problems Hi! Burgess, Jay S wrote: Thanks for the feedback. Maybe my problem does have something to do with context visibility, but since I'm defining the resource within

Re: JDBC/DBCP problems

2004-01-28 Thread Julio César Aguilar
Tomcat version is 4.1.29 on Windows XP. I'm attempting to connect to SQL Server. The JDBC driver JARs are in CATALINA_HOME\common\lib, and since everything works fine if I manually load the driver via Class.forName(), I don't think my problem is related to my driver files location. When

RE: JDBC/DBCP problems

2004-01-28 Thread Burgess, Jay S
the various configurations and decide what the option(s) are and whether there's truly a bug in 4.1.29. Thanks for the info. Jay -Original Message- From: Julio César Aguilar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 1:23 PM To: Tomcat Users List Subject: Re: JDBC/DBCP problems

RE: JDBC/DBCP problems

2004-01-28 Thread Edson Alves Pereira
Don´t use it in init( ) method, only doPost( ) or doGet( ). -- De: Burgess, Jay S[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 28 de janeiro de 2004 12:35 Para: [EMAIL PROTECTED] Assunto: JDBC/DBCP problems I'm

Re: JDBC/DBCP problems

2004-01-28 Thread Philipp Taprogge
Hi! Michael Duffy wrote: I think it's a better idea to make those app resources local instead of global. If your app is the only one that needs that data source, by all means it should not be global. That's the way I prefer to do it. Keep those apps uncoupled and isolated from each other. -