Howdy yall,
I have a Stateless session bean, which has both local and remote interfaces (EJB2.0), and when JBoss 3 (CVS current as of yesterday), I get a NoSuchMethodException comming from:
org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:421)
When looking at the code, and adding some extra logging, it appears that it's looking for a method called:
"createHome", which is not defined in my EJB nor in the descriptor.
homeInterface.getName() results in my actual interface, and not a JBoss generated class, so either it's getting the wrong class populated in homeInterface, or I really need a "createHome" method on my interface?
Any clues?
My bad, I had create() statements that took a parameter.
Even though it has always been technically illegal to do as per Sun's spec, it worked in jboss < 3.0
It just bit me on this one.