posted 20 years ago
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.