• 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

transaction issue.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Fellows

I am having trouble in managing transaction in a stateless session bean.
I have a client which invokes transaction and then calls the session bean.
Within the session bean I am invoking another transaction using the getSessionContext().getUseTran().
between the begin and the comit call in the bean I am trying to get some messages from MQSeries Q.
But I get a transaction exception which says something like this.
javax.jms.IllegalStateException: Non-MQ or Non Wrapped JMS XAResource
this bean works fine if I comment the transaction related code in the bean.
I have mentioned the transaction for this bean a BMT.
any idea what might be causing this problem.
 
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic