This discussion is archived
0 Replies Latest reply: Aug 21, 2013 6:35 PM by user6479143 RSS

EJB calling Spring Bean with non XA Datasources causing Rollback Exception

user6479143 Newbie
Currently Being Moderated


We have an EJB CMT with Required calling a spring bean (@Transactional Propagation.NOT_SUPPORTED). This is causing an Rollback Exception saying 2 phase commit must be enabled. The EJB has to write to datasource 1, but the Spring Bean is ready only on Data Source 2. The Data Sources are set to use Non XA Driver with Support Global Transaction enabled for One phase commit. Any help is appreciated.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points