I am using JBOSS 2.4.6 and Oracle 8i. There is a stateful session bean which starts user transaction in one method and ends the transaction in other. If I shut JBOSS down after the first method has executed, before the the second method, the transaction gets committed. I am using XADataSourceLoader. The snippet from jboss.jcml is,
I am sure I am missing some configuration setting somewhere which prevents a transaction being committed on shutdown or timeout. Can anyone point me to it.
There is no autocommit setting here, and I think there shouldn't be. It doesn't make sense with xa.
I wonder if the behavior you see is a property of the Oracle driver. I remember many people mentioning "I can't see my updates until I shut down jboss" and I think most or all of them were using Oracle. You might investigate with a simple standalone progam.