ICO0010Ejavax.resource.spi.IllegalStateException:
ICO0010E:methodname error. The method was invoked on
an invalid IMSConnection instance.
Explanation
The method indicated in methodname was invoked on an invalid
IMSConnection instance. If the methodname is
lazyEnlist, an attempt was made to enlist a connection in the current
transaction that could not be enlisted.
User response
The named method was most likely issued on an IMSConnection instance that was
already closed.
If the methodname is not lazyEnlist, ensure that
the IMSConnection instance is not already closed before you attempt to use
it or close it.
If the methodname is lazyEnlist, ensure that your
application is not using non-managed connections in a managed environment, because only managed
connections are eligible for lazy transaction enlistment optimization. For more information, please
refer to IBM® Documentation for WebSphere® Application Server.