hi, i think you are geeting a collection of localhome objects and then getting an iterator and you are running a while loop over that within which you are type casting the object to the secondary localhome object and then you are applying remove over that, but you do like this
get the collection get the iterator while(iterator.hasnext() { apply remove method on iterator } i too have a same problem and after doing like this it worked fine try this. with regards Akhil. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838552#3838552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838552 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user