P4210 issues TRANSACTION ERROR for the first order (subsequent transactions get committed successfully)

Purpose of Document

P4210 (Sales Order Entry) always ends error as below,

TRANSACTION ERROR
Transaction can not be commited. It was cancelled.

Error Screen

Note:

EnterpriseOne tools release and JDE.INI settings are not in synch.

<Bug 13526979>: UBE FAILS WITH TRANSACTION LOG REACHES 2GB SIZE: this document explain actual cause of issue 'TransactionLog" parameter.
<Internal_Only><Bug 14173242>: TRANSACTION ERROR ON FIRST P4210 TRANSACTION: This document contains workaround for issue</Internal_Only>
Example of error message in JDEDEBUG.log (CallObject Kerne Log):-


Entering JDB_CommitUser (UserHandle 34309868)
Checking for the pending real time events (UserHandle 34309868)
Finished checking for the pending real time events (UserHandle 34309868)
Entering JDB_PrepareToCommitUser (UserHandle 34309868)
JDB9909165 - Failed to initialize the log manager, buffer is empty
JDB9909127 - Failed to force write log : idTransaction
JDB9900387 - Failed to prepare transaction
JDB9901232 - Canceling transaction because: TC058 JDB_PrepareToCommitUser: local prepare failed
Cancelling Transaction : 2886731613_9240800_403419000
Exiting JDB_PrepareToCommitUser with Failure (UserHandle 34309868)
Rolling back commit point 1 of the transaction : 2886731613_9240800_403419000
ORACLE DBRollbackCon envr=3013d2a8 conn=327ca6c8
ORACLE DBRollbackCon envr=3013d2a8 conn=312c4b68
Starting Commit Point No : 2 for Transaction ID : 2886731613_9240800_403419000
JDB9900849 - Failed to commit user
Exiting JDB_CommitUser with Failure (UserHandle 34309868)
KNT0000191 - CommitUser failed, userh=34309868, client=172.16.7.93, pid=54670, mId=381498



To debug this type of issue,

  1. Capture JDEDEBUG_*.log where problem occurs
  2. Analyze JDE_*.log and JDEDEBUG_*.log
  3. Optionally check dump file (e.g., jde_2886731613_9240800_403419000_dmp.log). For this example, 2886731613_9240800_403419000 is transaction ID
  4. Look for statement Like "%with Failure%", "JDB99%", "Cancelling Transaction%", "JDB_CommitUser" and so on

Note: