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.


Reply via email to