wood burning stoves 2.0*
The moose likes Websphere and the fly likes JCA, Connection pooling and WebSphere v5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JCA, Connection pooling and WebSphere v5" Watch "JCA, Connection pooling and WebSphere v5" New topic
Author

JCA, Connection pooling and WebSphere v5

Kev D'Arcy
Ranch Hand

Joined: Jul 26, 2001
Posts: 75
Hi,
I've been investigating the use of JCA resource adapters running under
WebSphere v5. I've been able to muddle my way through up to this point
(no thanks to the dismal documentation from IBM!) and have managed to
get a test connector working properly, apart from the connection pooling
element.
WebSphere is managing the connection pooling fine (or so it would seem)
and creating the connections as required. But, if I have the maximum
connections set to 2 for example, when I send in a third request, WebSpere
times out telling me that there are no more connections available. It
seems that the first two connections that are created, never get returned
to the pool and get lost in some sort of void, never to be seen again.
Am I doing (or not doing as the case may be!) something wrong? Is there
something I should be doing to get the created connections returned to
the pool? Any help on this would be greatly apprectiated!!
Thanks,
Kev.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Moving to the IBM/Websphere Forum...
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
Just out of curiosity, are you closing the first two connections when you are done with them? That's how they're returned to the pool...
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JCA, Connection pooling and WebSphere v5
 
Similar Threads
Connection pools in WAS 5
WebSphere Studio v5 & Connection Pooling
WebSphere 4 connection pooling.
Disabling JCA connection pooling on WAS5
WAS 3.5 Connection Pool Refresh