-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: proxool pool throws exception when too many requests
PostPosted: Tue Nov 12, 2013 9:03 pm 
Newbie

Joined: Tue Nov 12, 2013 8:35 pm
Posts: 2
I use hibernate with proxool as second level cache provider. It works fine but there is an issue.
when I concurrently open more connections than the configured maximum-connection-count (for example, I use 7 threads to hit the pool when the maximum-connection-count is 5. I will get "ProxoolException: ConnectionCount is 5. Maximum connection count of 5 cannot be exceeded.").
I tried to set hibernate.connection.pool_size to 1 but doesn't help.
I expect that the 6th and 7th requests (suppose I have 7 requests total) will wait until there are available connections.

the hibernate used is 4.2.1.Final and proxool is 0.8.3 (it comes with hibernate-proxxol. I manually put the 0.9.1 proxool jar under lib but still get the same error)

really appreciate any help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.