File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: IN JCA
It's not a secret anymore!