Skip to main content

Problem:

OTS migration HeuristicRollbackException: exception org.omg.CosTransactions.HeuristicHazard

Resolution:

Product Name: BES6.6 and VBE7.0

Product Version: 6.6 and 7.0

Product Component: OTS

Platform/OS Version: All

Problem Description:

Customer migrating OTS service from BES6.5 to BES 6.6 (VBE7.0) version, throwing a following exception:

javax.transaction.HeuristicRollbackException: exception org.omg.CosTransactions.HeuristicHazard

While the same application used to work well in the BES6.5 environment why it is broken in the BES6.6 version?

Answer/Solution:

There was some changes in transaction layer from 6.x to the 7.0 version, so by setting vbroker.its.its6xmode=true in the vroker.properties, would enable the old behaviour to be retained in the 7.0 version. Hence the exception would go away and the application should start up fine without any exception.

Please refer VBE7.0 release notes to find more information on the OTS changes made in the 7.0.

Old KB# 15195

#archive
#ApplicationMiddleware