• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using MDBs with Entity Beans

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In case the MDB uses some entity beans and this process is using CMT, this message will be displayed on the Server Output(If the transaction level is 'NotSupported' the message is not displayed):
"[LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!"
It means there is more than one participant in a transaction where at least
one of the participants only supports local (1pc, non xa) transactions.
Failures during the commit process will result in inconsistent results.
This is most likely to happen if you use jms and db access in the same tx.
Ok, my question is how can I use the entity beans inside a MDB's onMessage() method and not get this warning message?
Thanks for your ideas.
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which vendor's container are you using? Websphere, IPlanet, JBoss ...
 
Sergiu Truta
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using JBoss 3.0.0 and Oracle 8i.
 
reply
    Bookmark Topic Watch Topic
  • New Topic