> Hello !
>
> Does anybody know how to set up transaction with in a message driven
> bean?
>
> I have tried to use transactions in my Message Driven Bean inside
> Orion. Once the code I hits the line getUserTransaction()
> I got the following exception with the stack trace:
>
> MessageBean: Exception thrown:java.lang.IllegalStateException: Only
> beans with user-managed transactions can invoke
> getUserTransaction()
> java.lang.IllegalStateException: Only beans with user-managed
> transactions can invoke getUserTransaction()
> at
> com.evermind.server.ejb.AbstractEJBContext.getUserTransaction(JAX)
> at
> com.platespin.silo.ejb.IniOperatorBean.onMessage(IniOperatorBean.java:
> 144)
> at com.evermind.server.ejb.gn.run(JAX)
> at com.evermind.util.f.run(JAX)
>
> It looks like that the way that I am using transactions within a
> Message Driven Bean is illegal.
>
>
> Sincerely,
> Nenad