I have following problem:

I am creating new instance of entity bean A which in ejbCreate() calls
findByPrimaryKey() to find another (different) instance of entity bean A and
then invoke some methods on it. Is bean A considered to be a reentrant bean?
When I run my example, the Jonas appears to hang up. The last traces I can
see from Jonas are

Current.getTransaction()
inRequest --->
Current.setPropagationContext(null) -> detach

This code works on both Weblogic 4.5.1 and Websphere AE 3.0. I have tried to
change transaction (to not_supported, required_new and others) attribute for
that bean but it didn't help. What helped was to move the findByPrimaryKey()
outside of ejbCreate() method. What is causing the problem in Jonas? Is it
that Jonas doesn't support reentrant beans?

Miroslav Halas
Software Engineer
Compuware Corp.
15305 Dallas Parkway
Suite 900
Addison, TX 75001
phone 9720-960-0960 x 1333
fax 972-960-8489

Reply via email to