• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with Client accessing deployed bean

 
Anupama Dhir
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have successfully deployed a bean using the example from Chapter 4 of Oreilly's booj on EJB. I am running j2ee server. However, when I try to run my client application, I get the following error:
java.lang.ClassCastException
at com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.titan.cabin.Client_1.main(Client_1.java:19)
Exception in thread main

Any help will be appreciated. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic