Re: Connection pooling doesn't work for me ... Help !!

2002-06-16 Thread Nikola Milutinovic
Cindy Ballreich wrote: At 06:53 AM 6/14/02 +0200, Nikola Milutinovic wrote: Yes, and it should work - but it doesn't. For most of us, DataSource is null and nothing apperas in the logs. Question: where is your JDBC driver currently located? I got the same result until I moved it from

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread Martin Jacobson
Jacob Kjome wrote: The definitive solution has been provided by Leslie Hughes [EMAIL PROTECTED] here: snip So, please, do yourselves a favor and ignore the docs for a bit on this one. Copy the configuration line for line that Leslie has provided. Then, of course, change the values

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread Jacob Kjome
Well, I confess that I've never tried this on 4.0.3. I guess your solution is to upgrade to 4.1.3 beta. There is *no* Tyrex to give you any phantom hsql driver issues. So, I guess my guarantee only applies to 4.1.3 that I've actually tested this on. I suggest the upgrade. Jake At 10:23

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread Cindy Ballreich
At 06:53 AM 6/14/02 +0200, Nikola Milutinovic wrote: Yes, and it should work - but it doesn't. For most of us, DataSource is null and nothing apperas in the logs. Question: where is your JDBC driver currently located? I got the same result until I moved it from WEB_INF/lib/ to

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread info
Hi, Cindy Yes, and it should work - but it doesn't. For most of us, DataSource is null and nothing apperas in the logs. Question: where is your JDBC driver currently located? I got the same result until I moved it from WEB_INF/lib/ to $CATALINA_HOME/common/lib/ thanks for your hint. I

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread anthony.dodd
Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 14, 2002 9:03 AM Subject: Re: Connection pooling doesn't work for me ... Help !! Hi, Cindy Yes, and it should work - but it doesn't. For most of us, DataSource is null and nothing apperas in the logs

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Martin Jacobson
anthony.dodd wrote: Hi I've posted a solution see Generic DataSource Resource Factory Available. JDBC Data Source on the tomcat user maillist. Tony Yes, but... Like many others on this list, I too have been unable to get the std JNDI DataSource thingy working; as an interim

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Neil Milne
the ConnectionPoolDataSource class - not sure if this makes a difference. HTH Neil. - Original Message - from: Martin Jacobson [EMAIL PROTECTED] date: Thursday, June 13, 2002 1:40 pm subject: Re: Connection pooling doesn't work for me ... Help !! anthony.dodd wrote: Hi I've posted a solution

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread info
for any help! Rainer - Original Message - From: Neil Milne [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 2:56 PM Subject: Re: Connection pooling doesn't work for me ... Help !! I'm using the JNDI Datasource setup fine with Tomcat 4.0.3 and Sybase

RE: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Kevin Andryc
MISER http://www.umass.edu/miser/ Phone: (413)-545-3460 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 03:12 PM To: Tomcat Users List Subject: Re: Connection pooling doesn't work for me ... Help !! Hi, well I got

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread info
: Connection pooling doesn't work for me ... Help !! Hi, well I got stuck with the same problem as the others: I cannot get a connect to the DB via JNDI. Just a simple idea: can the problem be the MySQL Driver? Is there maybe someone out there to give some hints how to look

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread John McNally
In your code: Context initCtx = new InitialContext(); OracleConnectionPoolDataSource ocpds = (OracleConnectionPoolDataSource)initCtx.lookup(mydb); PooledConnection pooledConnection = ocpds.getPooledConnection(); Connection connection = pooledConnection.getConnection();

RE: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Kevin Andryc
)-545-3460 [EMAIL PROTECTED] -Original Message- From: John McNally [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 05:25 PM To: Tomcat Users List Subject: Re: Connection pooling doesn't work for me ... Help !! In your code: Context initCtx = new InitialContext

RE: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread John McNally
On Thu, 2002-06-13 at 14:31, Kevin Andryc wrote: I wasn't aware of that. Thank you. When I was looking to do Oracle pooling I did a search on Google groups and asked around in which 99% of the posts used this method. I have heard that oracle's documentation is not very clear on the usage.

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Nikola Milutinovic
I'm using the JNDI Datasource setup fine with Tomcat 4.0.3 and Sybase. Several guys have reported that Sybase works OK, so does Oracle 9i. With PostgreSQL, I am constantly out of luck. Right now, I'm preoccupied with some other work, but I'll get to the bottom of the PSQL mistery.

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Neil Milne
Nikola Milutinovic wrote: Note that I've used the ConnectionPoolDataSource class - not sure if this makes a difference. Well, yes and no. The actual class should be CPDS, but your application shouldn't specifically ask for it, but for DataSource. The container will use CPDS and cast it to DS

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Jacob Kjome
The definitive solution has been provided by Leslie Hughes [EMAIL PROTECTED] here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 That is for the following configuration: Tomcat 4.0.3 LE JDK 1.4 Build mySQL 4.0.1 alpha mm.mysql 2.0.14 Jakarta-Commons projects DBCP

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Nikola Milutinovic
Yes, I'm not using that class in my code, I'm just using DataSource. I was referring to the setup in server.xml. Ahh - then OK. I must say that JNDI bit is the most occult part of Tomcat. Nix.

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread anthony.dodd
Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 12:12 PM Subject: Re: Connection pooling doesn't work for me ... Help !! Hi, well I got stuck with the same problem as the others: I cannot get a connect to the DB via JNDI. Just a simple

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread anthony.dodd
Message - From: John McNally [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 2:25 PM Subject: Re: Connection pooling doesn't work for me ... Help !! In your code: Context initCtx = new InitialContext(); OracleConnectionPoolDataSource ocpds

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread anthony.dodd
Should be using OracleConnectionCacheImpl - Original Message - From: Kevin Andryc [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 12:35 PM Subject: RE: Connection pooling doesn't work for me ... Help !! I apologize but I saw this post late. I

Connection pooling doesn't work for me ... Help !!

2002-06-09 Thread abhishek srivastava
Hello everyone, I read the tomcat jndi how to manual. searched the mailing list archive. and did everything which has made other happily get a connection from the jndi of the pool but I just can't do it. DataSource ds = (javax.sql.DataSource) initCtx.lookup(java:comp/env/jdbc/MPSSource);

Connection pooling doesn't work for me ... Help !!

2002-06-09 Thread abhishek srivastava
Hello everyone, I read the tomcat jndi how to manual. searched the mailing list archive. and did everything which has made other happily get a connection from the jndi of the pool but I just can't do it. DataSource ds = (javax.sql.DataSource) initCtx.lookup(java:comp/env/jdbc/MPSSource);

Re: Connection pooling doesn't work for me ... Help !!

2002-06-09 Thread anthony.dodd
doesn't work for me ... Help !! Hello everyone, I read the tomcat jndi how to manual. searched the mailing list archive. and did everything which has made other happily get a connection from the jndi of the pool but I just can't do it. DataSource ds = (javax.sql.DataSource) initCtx.lookup