At me the same problem. I do not know what to do. IMHO JBoss 3.2.x error
I'm so sorry !!!
It is jboss it is not guilty !
Are guilty as usually curve hands, though the error message really confusing.
I have EJB A and EJB B, and cmr-relation A -> B
The Bad findByPrimaryKey was at the B-EJB, instead of at a A-EJB, but the A-EJB appeared in the message why that ?
My problem was also caused by half-defining CMRs. My fault.