Skip to main content

Transaction commited when shutting down

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
ztangm
Offline
Joined: 2010-06-13

When shutting down with "asadmin stop-domain" currently all transactions in progress are commited. While this as a default behaviour is more than strange I am also not able to configure it in a different way.

I already tried this one
asadmin> create-jvm-options -Dcom.sun.enterprise.in-progress-local-transaction.completion-mode=rollback

Also I tried to use an XA connection pool instead of the oracle.jdbc.pool.OracleConnectionPoolDataSource I normally use.

I am using GlassFish Server Open Source Edition 3.1.2.2 (build 5)

Any ideas welcome...