Hi Jagadish,
> > If this is the case then why does Glassfish call cleanup() before commit()?
> Seems like a bug. I shall verify this and confirm.
Thanks.
> > 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
It is not about closing the physical connection but resetting it (i.e. clean up) for further use by a new client.
Thanks,
Clemens
[Message sent by forum member 'ctee' (ctee)]
http://forums.java.net/jive/thread.jspa?messageID=235053