I'm using Jboss3.0.4 with Tomcat 4.0.6. The persistence of my entiy beans is managed by the container. In particular the local and localhome interfaces of one of this EJB extend other interfaces I have alredy used for other beans.
It seems to work fine, but when I call the FindByPrimaryKey method the server throws a java.lang.ClassCastException: java.util.ArrayList.
The return value of this finder is the local interface I have ihnerited and not those of the bean. Can be this the problem???
I saw that there was a iussue about java.lang.ClassCastException with java.lang.ArrayList