[jboss-user] [JCA] - Re: JCA Problem: java.lang.IllegalStateException: Trying to
do-not-reply at jboss.com
Fri Sep 4 06:39:17 EDT 2009
Hi Thanks for the solution - that worked for me!
Just for clarification to other readers that are new to JCA, the ConnectionHandle is the connection that your ConnectionFactory returns to the client component. So if you have implemented a common client interface for your resource adapter then your connection handle is the class that implemets javax.resource.cci.Connection.
Normally your client connection would have a close event, which it delegates to the underlying managedConnection, passing a reference of itself to the managed connection, which it adds to the closed event before it fires it to its' listenteners.
This lets Jboss which client connection it needs to release the managed connection from before returning it to the pool.
I hope that adds some clarification.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253538#4253538
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253538
More information about the jboss-user