• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Bean Managed Transaction Attribute(IBM Sample Test 488)

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
In the Enterprise Java Beans book (OReilly) I saw that bean managed transaction attribute TX_BEAN_MANAGED is supported by EJB 1.0 only. I'm right now preparing for test 488 for WAS 4.0
Advanced Single Server Edition.
I was taking the sample test from the IBM site I found 2 questions about this attribute. I believe WAS 4.0 is EJB 1.1 compliant. Should I expect & prepare for questions from EJB 1.0 also for test 488 ?
thanx
Seema
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Seema,

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.
 
Don't touch me. And dont' touch this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic