RE: DB connection pool problem

2004-05-06 Thread Arora, Avinash
some problem. Thanks. Avinash Arora -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:45 PM To: Tomcat Users List Subject: RE: DB connection pool problem Have you tried to put the configuration text in GlobalNamingResources instead of context

Re: DB connection pool problem

2004-05-06 Thread Xtecuan! Ufo Senshi Dai Apolon
, 2004 4:45 PM To: Tomcat Users List Subject: RE: DB connection pool problem Have you tried to put the configuration text in GlobalNamingResources instead of context block? To me, the message tells that the web.xml and java code is fine. The server.xml is not edited correctly. in you server.xml, you

RE: DB connection pool problem

2004-05-05 Thread Arora, Avinash
: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 4:29 PM To: Tomcat Users List Subject: RE: DB connection pool problem You have to add con = dataSource.getConnection(); after dataSource = (DataSource)ctx.lookup(jdbc/conversion); -Original Message- From: Arora, Avinash

RE: DB connection pool problem

2004-05-05 Thread Daxin Zuo
/conversion? -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:07 PM To: Daxin Zuo; Tomcat Users List Subject: RE: DB connection pool problem Hi, Sorry I was messing up my code by making several changes. If I add that statement, I get

RE: DB connection pool problem

2004-05-04 Thread Arora, Avinash
source object is not null, Inside 1st try. Connection object found to be null, Connection object is null] Thanks. Avinash Arora -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 3:34 PM To: Tomcat Users List Subject: RE: DB connection pool

RE: DB connection pool problem

2004-05-04 Thread Mike Curwen
). -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 2:52 PM To: Daxin Zuo; Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: DB connection pool problem Hi friends, Thanks for your previous feedback. After adding several logging

Re: DB connection pool problem

2004-05-04 Thread David Smith
, Inside 1st try. Connection object found to be null, Connection object is null] Thanks. Avinash Arora -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 3:34 PM To: Tomcat Users List Subject: RE: DB connection pool problem I have just created a pool

Re: DB connection pool problem

2004-05-04 Thread David Smith
: RE: DB connection pool problem I have just created a pool -- I hope it is really a pool. I used jtds jdbc driver to MS SQL Server on Windows. You may find some thing similar. Holp it helps. 1) bellow is the text in tomcat\conf\server.xml GlobalNamingResources Resource name=jdbc/DirectSQL auth

RE: DB connection pool problem

2004-05-04 Thread Arora, Avinash
Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 1:35 PM To: Tomcat Users List Subject: Re: DB connection pool problem Sorry about the last post. It's been a looonnng day and I didn't read it very well :-(. From what I see, you're comparing conn to null before

RE: DB connection pool problem

2004-05-04 Thread Daxin Zuo
You have to add con = dataSource.getConnection(); after dataSource = (DataSource)ctx.lookup(jdbc/conversion); -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 3:54 PM To: David Smith; Tomcat Users List Subject: RE: DB connection pool problem

RE: DB connection pool problem

2004-05-03 Thread Patrick Willart
You are missing the Resource/ part (needs to be just above ResourceParams/ Resource name=jdbc/conversion auth=Container scope=Sharable type=javax.sql.DataSource/ grts, Pat -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 3:10 PM To: Tomcat

RE: DB connection pool problem

2004-05-03 Thread Daxin Zuo
I have just created a pool -- I hope it is really a pool. I used jtds jdbc driver to MS SQL Server on Windows. You may find some thing similar. Holp it helps. 1) bellow is the text in tomcat\conf\server.xml GlobalNamingResources Resource name=jdbc/DirectSQL auth=Container

Re: DB Connection Pool

2002-03-06 Thread Eddie Bush
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 3:38 PM Subject: RE: DB Connection Pool Why? Because we just had a complete discussion of this topic. Between this list and others I subscribe to, I get hundreds of emails a day and I don't want to wade through

RE: DB Connection Pool

2002-03-05 Thread Jim Urban
If anyone is currently using a third-part pool that they are well pleased with, I would greatly appreciate that information too. We just finished this discussion. Please check the archive. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: DB Connection Pool

2002-03-05 Thread Huy Tran
I join in late, but I'm currently using CodeStudio Poolman for my connection pool. You can customize it to provide object pooling too. It works well for me. Jim Urban wrote: If anyone is currently using a third-part pool that they are well pleased with, I would greatly appreciate that

Re: DB Connection Pool

2002-03-05 Thread Lev Assinovsky
Why? Jim, are you the owner of this mailing list? Jim Urban wrote: If anyone is currently using a third-part pool that they are well pleased with, I would greatly appreciate that information too. We just finished this discussion. Please check the archive. -- To unsubscribe:

Re: DB Connection Pool

2002-03-05 Thread Emir Alikadic
On 03/05/2002 02:59 PM, Lev Assinovsky wrote: Why? Jim, are you the owner of this mailing list? Actually, Lev, Jim is right: it's an established etiquette of public mailing lists to first search for an answer in the existing documentation before posting a question on the list. One of the

Re: DB Connection Pool

2002-03-05 Thread cahana
: Huy Tran [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 9:54 AM Subject: Re: DB Connection Pool I join in late, but I'm currently using CodeStudio Poolman for my connection pool. You can customize it to provide object pooling too. It works well for me

Re: DB Connection Pool

2002-03-05 Thread Lev Assinovsky
No, Emir! Sorry, I don't agree with you. 1. My post is not off topic 2. I spent few weeks working on the problem before my first post was done. 3. We discovered that the problem isn't that simple. 4. The famous book Professional JSP doesn't recommend to use any custom pooling classes, as Jim

RE: DB Connection Pool

2002-03-05 Thread Reynir Hubner
] -Original Message- From: Lev Assinovsky [mailto:[EMAIL PROTECTED]] Sent: 5. mars 2002 20:46 To: Tomcat Users List Subject: Re: DB Connection Pool No, Emir! Sorry, I don't agree with you. 1. My post is not off topic 2. I spent few weeks working on the problem before my first

Re: DB Connection Pool

2002-03-05 Thread Lev Assinovsky
(lev.getQuestion()); } Good joke! Really! Lev breaks out of the loop. Have a good rest! [EMAIL PROTECTED] -Original Message- From: Lev Assinovsky [mailto:[EMAIL PROTECTED]] Sent: 5. mars 2002 20:46 To: Tomcat Users List Subject: Re: DB Connection Pool No, Emir! Sorry, I

RE: DB Connection Pool

2002-03-05 Thread Jim Urban
the owner of this mailing list? No. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lev Assinovsky Sent: Tuesday, March 05, 2002 2:00 PM To: Tomcat Users List Subject: Re: DB Connection Pool Why? Jim, are you the owner of this mailing list? Jim