File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with Client accessing deployed bean
 
Similar Threads
Fibonacci tutorial
Execution of EJB Client
Client to invoke a deployed EJB
java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub
Starting problem