> Hello Stefano,
>
> This is a known bug that's been fixed for a while (assuming it's the
same),
> can you try with the latest version?
>
> Regards,
> Karl Avedal
First of all, thanks for your answer. But after downloading and installing
orion 1.1.24 I solved only partially my problem: in fact now I can invoke
getUserTransaction() from my Stateless SessionBean without any exception,
but this method returns a null Object!! So, as I try to invoke a method of
UserTransaction on my [null] instance, a NullPointerException is thrown.
My question is: is it possible to use transactions from a Stateless Session
Bean with Orion? Why do I obtatin a null pointer? (My transactional code
works in J2EESDK Reference Implementation without any problem).
Thanks a lot,
Stefano.
>
> Stefano Andreani wrote:
>
> > My EJB (ServExecEJB) is a Stateless Session Bean. After the execution of
> > ServExecEJB.ejbCreate() the following exception is thrown:
> >
> > com.evermind.server.rmi.OrionRemoteException: Error in ejbCreate(): Only
> > beans with user-managed transactions can invoke getUserTransaction()
> > at
> > com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(JAX)
> >
> > In my ejb deployment descriptor I specified
> > <transaction-type>Bean</transaction-type>, so I wonder why this
exception
> > occurs!
> >
> > Thanks to any answer,
> >
> > Stefano.
>
>
>