Re: [Proxool-developer] Long time of getting connections
UNMAINTAINED!
Brought to you by:
billhorsman
From: Bill H. <bi...@lo...> - 2006-11-14 14:54:10
|
Hi Yaroshinsky, On 11/14/2006 11:23 AM, Yaroshinsky Valentin wrote: > /Good day,/ > // > /I'm using Proxool and I 've investigated the problem of long time of > getting connection/ > // > /Code:/ > * long s1=System.currentTimeMillis(); > connection = DriverManager.getConnection("oracle_logging"); > long s2=System.currentTimeMillis(); > log.info("Time of getting connection:"+(s2-s1));* What version of Proxool are you using? Have you tried switching statistics off? Omit it from your config to see if that helps. Have you got any log evidence that Proxool is in fact being used for serving connections? You're using "oracle_logging" as your connection URL and I'd expect you to use "proxool.oracle_logging". If you're using Proxool 0.8.3, switch to 0.9.0RC2 and see how you get on. - Bill |