-
1. Re: findAll() goes off and never returns
garymarsh Jan 31, 2003 8:47 PM (in response to garymarsh)I was able to capture the log just before jboss went into the ether.
2003-01-31 17:50:27,888 DEBUG [org.jboss.system.Registry] lookup -831461800=jboss.j2ee:jndiName=BoxManagerHome,service=EJB
2003-01-31 17:50:27,888 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,888 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.Boxes.findAll] Executing SQL: SELECT id FROM boxes
2003-01-31 17:50:27,908 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,918 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Boxes] Executing SQL: SELECT id,Length, Width, Height, MaxWeight, BoxWeight, Type, PackingThickness, BoxPrice, PackId FROM boxes WHERE (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?) OR (id=?)
2003-01-31 17:50:27,938 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,938 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Packing] Executing SQL: SELECT Status, RecordStatus, PackingThickness FROM packing WHERE (id=?)
2003-01-31 17:50:27,948 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,948 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,948 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,948 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
2003-01-31 17:50:27,948 DEBUG [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
the "invokerBInding is null in ProxyFatoryFinder" repeats itself into infinity.
I hope this helps someone understand the problem.
Gary -
2. Re: findAll() goes off and never returns
garymarsh Feb 1, 2003 12:41 PM (in response to garymarsh)I discovered the problem. I had created a helper method for getting the last inserted Id in the database which executes the MySQL LAST_INSERT_ID() function. In my test program I executed this method and then test the findAll() method on the Entity Bean. Apparently MySQL function locks something up such that it causes the findAll() method to timeout. Very strange but interesting.
Gary