I have a servlet which does two things : 1- Create a new instance of an EJB x 2- findAll() the EJB x 3- show the EJB content in the resulting HTML
(so, basically : add an item to a list, find all the items in the list) The EJB is CMP. I open my browser and call the servlet. Everything works as expected. Now, I hit the refresh button a lot of times so to add plenty of items and stress the system a bit. Now and then, I got an excpetion telling me that concurrent access to the EJB are not allowed. I guess it's because sometimes I use the "getter" method of bean instance that is being created. I really don't understand why that happens (I've read a lot and it seems that the container should do the proper serialization for me) and I don't know what to do to fix that. Can someone help me ? Or better, direct me to the proper documentation I have to read to understand that better ? Thank you Stefan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849408#3849408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849408 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
