• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in using multiple persistence units

 
Rafael Rque
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I´ve spent some time browsing about the problem I´m facing,but couldn´t make this work.

I need to comunicate with 2 diferente MSSql databases,so this is the config I made:



Here´s an example of trying to use this configuration:



Which leads me to this error popping up:


What am I doing wrong?

Regards,
Rafael Roque
ITIL FOUNDATIONS CERTIFIED
IBM SOA SOLUTIONS CERTIFIED
SCEA
SCWCD
SCJP
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe, you need to declare XA (Global Transactions) kind of transaction manager, rather than the usual. I hope your application server supports XA.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic