Hallo I am trying to add a Stateless Session Bean (EJB3 with annotations 
Stateless, Remote, Home ..) to an EJB 2.1 project on JBoss 4.2.3.
The new SSB works well as I have tested with JUnit. 
However in the old code I get a ClassCastException at:

SchnittstelleLocalHome lHome = (SchnittstelleLocalHome) 
ServiceLocator.lookupLocalHome( SchnittstelleLocalHome.JNDI_NAME );

This is caused by adding an @Local Interface to a EJB3 Bean with an abritrary 
name. I have made sure that there a no Naming conflicts.
Is this a known bug? Any workarounds?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223915#4223915

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223915
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to