GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes problem with Client accessing deployed bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problem with Client accessing deployed bean" Watch "problem with Client accessing deployed bean" New topic
Author

problem with Client accessing deployed bean

Anupama Dhir
Greenhorn

Joined: Jan 11, 2001
Posts: 15
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
 
GeeCON Prague 2014
 
subject: problem with Client accessing deployed bean