users@glassfish.java.net

Re: JCA - cleanup call for ManagedConnection too early?

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 Sep 2007 07:01:24 PDT

> If this is the case then why does Glassfish call cleanup() before commit()?
Seems like a bug. I shall verify this and confirm.

> It would help in the implementation of a Resource Adapter if cleanup() would be called after
> commit() as otherwise during cleanup() the physical connection to an EIS partner can not be reset,
> as it is needed to propagate the commit.

http://java.sun.com/j2ee/apidocs-1_5-fr/javax/resource/spi/ManagedConnection.html#cleanup() states that resource-adapter should not close the physical connection

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=235051