--- Charlene Mitchell <[EMAIL PROTECTED]> wrote: > --- 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()
What app server you are using? Problem may be there... regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 ------------------------------------------------------- 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
