Re: [Proxool-developer] Problem about DriverManager.getConnection
UNMAINTAINED!
Brought to you by:
billhorsman
From: <xi...@gm...> - 2007-12-27 07:54:53
|
Thanks for your suggestion! I found it blocked forever. I think this problem is caused by mysql-connector version. After I changed mysql-connector-java-5.1.5 to mysql-connector-java-3.1.14, it works ok. On Dec 27, 2007 3:34 PM, <pro...@li...> wrote: > Date: Thu, 27 Dec 2007 15:24:57 +0800 > From: "=?GB2312?B?RmFuIFhJQSAoz8S3sik=?=" <xi...@gm...> > Subject: [Proxool-developer] Problem about DriverManager.getConnection > To: pro...@li... > Message-ID: > <d26...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi guys, > > I've used proxool with tomcat 5.0.28 and mysql 4.1. When I want to get a > connection from the pool: > > Connection conn = DriverManager.getConnection("proxool.mysql"); > > it seems blocked here. Can anyone gives a suggestion? > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Thu, 27 Dec 2007 07:34:24 +0000 > From: Bill Horsman <bi...@lo...> > Subject: Re: [Proxool-developer] Problem about > DriverManager.getConnection > To: pro...@li... > Message-ID: <477...@lo...> > Content-Type: text/plain; charset="iso-8859-1" > > Is it blocked forever, or does it eventually timeout? If it does timeout > then you might get a clue from the exception thrown. > > You should do a small test to see if you can get a connection from the > database directly (without using Proxool, but using the same > parameters). If that succeeds but Proxool does not then send in your > configuration and output from the logs. > > - Bill > > On 12/27/2007 07:24 AM, Fan XIA (??) wrote: > > Hi guys, > > > > I've used proxool with tomcat 5.0.28 and mysql 4.1. When I want to get > > a connection from the pool: > > > > Connection conn = DriverManager.getConnection("proxool.mysql"); > > > > it seems blocked here. Can anyone gives a suggestion? > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Proxool-developer mailing list > > Pro...@li... > > https://lists.sourceforge.net/lists/listinfo/proxool-developer > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------ > > _______________________________________________ > Proxool-developer mailing list > Pro...@li... > https://lists.sourceforge.net/lists/listinfo/proxool-developer > > > End of Proxool-developer Digest, Vol 6, Issue 1 > *********************************************** > |