I setup XA-datasource. My programs throw XAER_OUTSIDE exception after several normal executing. But it can work again once I flush the ManagedConnectionPool. I assume the connection did not release some state correctly. I even try to set true in track-connection-by-tx. It still not works.
Are there any suggestion? Could I disable the pool service in datasource?