aspose 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 Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB Lookup problem from same server instance