[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassCastException: $Proxy78 cannot be cast to

2009-04-15 Thread areyyyyy
Hi, Thanks for ur reply. Here i am providing remote interface and stateful session beans: @Stateful(name = uhomeSession) @Remote( { LoginSession.class }) public class LoginSessionBean implements LoginSession { @PersistenceContext(unitName = Model) private EntityManager em;

[jboss-user] [EJB 3.0] - Re: ClassCastException in Stateful Session-Bean

2009-04-12 Thread areyyyyy
gdfvg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225026#4225026 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225026 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JNDI/Naming/Network] - java.lang.ClassCastException: $Proxy78 cannot be cast to com

2009-04-12 Thread areyyyyy
Hi, I got the following error when i tried to lookup on statefull session bean. java.lang.ClassCastException: $Proxy78 cannot be cast to com.vs.uhome.model.session.LoginSession com.vs.uhome.model.util.PropertyUtil.getLoginSession(PropertyUtil.java:239)