jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes IN JCA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "IN JCA " Watch "IN JCA " New topic


Dhaneshkumar Parthasarathi

Joined: Aug 24, 2007
Posts: 17
In JCA , matchManagedConnections() method is not getting invoked by the apps server.( ManagedConnectionFactory impl class.)

Initially there were 10 connection object created during the server startup , but it always getting new connection(calling createManagedConnection ()method) while giving the request.

Could you let me know where i could done the mistake .

Thanks in advance
sam sepassi

Joined: Sep 23, 2012
Posts: 7
If you use Glassfish app server, check whether the connection matching and connection pooling is checked and enabled in the section where you create you connection pool resource. ( the approach is the same for other app server brands i think).

You might want to see the connection sharing mechanism used by JCA later.
I agree. Here's the link: http://aspose.com/file-tools
subject: IN JCA
It's not a secret anymore!