Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Consider Paul's rocket mass heater.
 
subject: EJB Lookup problem from same server instance
 
Similar Threads
Injection of EJB in POJO class not working..
NameNotFound
question about jndi and EJBLocalHome interface
Ejb call hang for around 2 minutes
VAJ4.0 EJB Test Client to verify a WAS4.0 EJB