![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
onmode -Z 1449487912 onmode: Cannot kill transaction 0x56656e28. |
|
onmode -H 1449487912 onmode -H may only be used to kill heuristically completed transactions. |
#2
| |||
| |||
|
|
On my Informix instance I have two global transactions holding some locks. See onstat -G and onstat -x output below. How can I get rid of them? Also after a server reboot they are still there. onmode -Z <address> or onmode -H <address> do not work (see below). |
#3
| |||
| |||
|
|
On Jun 27, 6:51 pm, Frank Langelage<fr... (AT) lafr (DOT) de> wrote: On my Informix instance I have two global transactions holding some locks. See onstat -G and onstat -x output below. How can I get rid of them? Also after a server reboot they are still there. onmode -Z<address> or onmode -H<address> do not work (see below). Hi Frank, onmode will not work AFAIK. These global transactions were started by a "distributed" application, (transaction manager) and Informix is only a participant in XA transaction. Transaction manager (a wild guess: Java app server?) needs to send either a commit or rollback now to this participant. Did your application crash? If it implements TP/XA transaction management fully it should have means of finishing transactions in progress after it comes back online. If nothing works, call IBM Tech Support, they have a tool which will clean this up for you. HTH Davorin |
#4
| |||
| |||
|
|
Thanks for your help. Yes, it was a Java Application Server using distributed transactions and this ran out of PermGen space so I had to kill -9 it. Today I cannot figure out anymore why the transaction was not rolled back. The instance is used for testing and developing and I do not have a support contract for it (Innovator-C Edition). Would dropping and recreating the database erase this open transaction? Or do I have to initialize the whole instance? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Try onmode -l until you have forced a long transaction, this usually help us. We have requested a way to get rid of these, but it seems that the view of IBM that the TM should handle this i all cases. Problem is that the TM fails sometimes, and then you are stuck. Regards Ulf |
![]() |
| Thread Tools | |
| Display Modes | |
| |