I am porting an application from Jboss 7as to Weblogic 12c.
So far, I am able to run the application and create new records in the database.
However, I get t
This is a default behaviour of Weblogic JTA realization. To obtain root exception you should set system property weblogic.transaction.allowOverrideSetRollbackReason
to true
.
One of the solution is add this line into <domain_home>/bin/setDomainEnv.cmd
:
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.transaction.allowOverrideSetRollbackReason=true
or linux equivalent into <domain_home>/bin/setDomainEnv.sh