Hello Klaus,

We'll check this out, it does seem weird,

Regards,
Karl Avedal

Klaus Thiele wrote:

> Hello,
>
> i have a SessionBean:
>
>    public class PersonBean implements SessionBean {
>      private UserTransaction ut = null;
>      private SessionContext ctx;
>         [...]
>    public void ejbCreate() throws RemoteException, CreateException {
>       ut = ctx.getUserTransaction();
>
> ejb-jar.xml:   <session>
>                       <transaction-type>Bean</transaction-type>
>
> when my client calls the create-method, i get following exception:
> "Only beans with user-managed transaction can invoke getUserTransaction()"
>
> did i miss something?
>
> thanks
>   klaus
>
> --
> Klaus Thiele - Personal & Informatik AG
> mailto:[EMAIL PROTECTED]
>
>  "There's got to be more to life than compile-and-go."


Reply via email to