I have stable ejb app. running fine on Jboss 4.0.0, When i deployed it on Jboss 
4.2.2.GA, i started getting ClassCastException in my struts action class while 
performing JNDI lookup for local home of my stateless session bean.

InitialContext ic = new InitialContext();
 UserManagementSBLocalHome user =
   (UserManagementSBLocalHome) ic.lookup("UserManagementSBLocal");

JMX console clearly says that:

Global JNDI Namespace

UserManagementSB (proxy: $Proxy79 implements interface 
vehicle.admin.UserManagementSBHome,interface javax.ejb.Handle)

UserManagementSBLocal (proxy: $Proxy70 implements interface 
vehicle.admin.UserManagementSBLocalHome)

Any idea about what's going on here?



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

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

Reply via email to