Hi there

We're getting a deadlock during the creation of a UserBean. We're using the
Orion UserManager. In the ejbPostCreate Method of the UserBean we do a..

    User caller =
userhome.findByUsername(context.getCallerPrincipal().getName());

..that causes the freeze.

The reason for the post create is that we're doing a..

        User new_user = (User) context.getEJBObject();

..a few lines down and this info should (only) be accessible once the bean
has bean created if we understand the Spec. correctly.

Now for some reason if we put this lines of code in a private method and
call this private method from within the ejbCreate method it works.

Kind regards

Theo van Niekerk


Reply via email to