Hi all,
I've done a very simple singleton (EJBHomeFactory) in order to get and cache both local and remote home interfaces.
The code is:
EJBHomeFactory factory = EJBHomeFactory.getFactory();
EJBLocalHome home = factory.lookUpLocalHome(UsuarioLocalHome.class);
In the second line, I get the following exception:
java.lang.NoSuchMethodError: com.tid.score.util.EJBHomeFactory.lookUpLocalHome(Ljava/lang/Class;)Ljavax/ejb/EJBLocalHome;
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
This singleton is called inside the method of a session bean, and all the classes and EJBs are in a JAR file under the deploy directory.
What's the problem?. I'm completely sure that the singleton is updated in the JAR file.
Thanks,
Jorge
It looks like the problem is solved after updating the JBoss version from JBoss-3.2.2RC3 to JBoss-3.2.0RC4.