I don't wholly understand what you're trying to do there, but as a general rule it's recommended not to allow reentrant calls to a bean. In my opinion, you should be able to avoid the necessity to require a reentrant call altogether.
Cheers, Bernie -----Urspr�ngliche Nachricht----- Von: Charlene Mitchell [mailto:charlene_ml@;yahoo.co.uk] Gesendet: Mittwoch, 13. November 2002 10:50 An: [EMAIL PROTECTED] Betreff: Re: [Xdoclet-user] Value Object reentrant problem --- Charlene Mitchell <[EMAIL PROTECTED]> wrote: > > --- Charlene Mitchell <[EMAIL PROTECTED]> > wrote: > > Hello > > > > I'm using Value Objects (an Employee has 1:M > > Addresses, so an Address has 1:1 Employee in > > return) > > but when I deploy my bean and call I finder I > get > > the > > following exception in my App Server: > > > > javax.ejb.EJBException: Reentrant method call > > detected: Employee [.1.] > > > > In the log I see the following: > > at > $Proxy108.getEmployeeConfidentialValue(Unknown > > Source) > > at > > > > > > work.ejb.AddressesCMP.getAddressesConfidentialValue(Unknown > > Source) > > ....... > > at > $Proxy111.getAddressesConfidentialValue(Unknown > > Source) > > at > > > > > > work.ejb.EmployeeCMP.getEmployeeConfidentialValue(Unknown > > Source) > > > > > This works when I use normal EJB but not with > > Value > > Objects (using xdoclet 1.2.0 beta 1, > JDK1.4.0_01, > > Solaris8, JBoss3.0.3). > > > > > Does anyone have a solution for this, it must be > a > > common thing? > > > > > Thanks for any help > > > > try to add reentrant="true" to your ejb.bean tag. > > regards, Hello I already tried that and the log files got huge, and the memory was crippled because the application server got stuck in a loop going back and forth between the 2 same entities work.ejb.AddressesCMP.getAddressesConfidentialValue() work.ejb.EmployeeCMP.getEmployeeConfidentialValue() .... work.ejb.AddressesCMP.getAddressesConfidentialValue() work.ejb.EmployeeCMP.getEmployeeConfidentialValue() .... work.ejb.AddressesCMP.getAddressesConfidentialValue() work.ejb.EmployeeCMP.getEmployeeConfidentialValue() .... etc etc etc Any other suggestions? Thanks Charlene __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
