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 EJB Lookup problem from same server instance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Lookup problem from same server instance" Watch "EJB Lookup problem from same server instance" New topic
Author

EJB Lookup problem from same server instance

pramodh somashekara
Ranch Hand

Joined: Jan 30, 2006
Posts: 62
Hi, We have a problem in ejb lookup and we are using WebSphere 6.x.

Basically if the client program and ejb application are on different server instances, they are working fine.

But if I put both client program and ejb application in same server instance, I am not able to invoke ejb, getting ClassCastException.

Our ejb are implementing remote interface and we can not change ejb application.

Please let me know how to invoke ejb application from my client from the same WebSphere instance.

Pramodh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Lookup problem from same server instance