aspose file tools*
The moose likes Websphere and the fly likes Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error" Watch "Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error" New topic
Author

Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error

michelle na
Greenhorn

Joined: Apr 21, 2008
Posts: 1
Hi All,

We're migrating our application from WebSphere 5.1 to 6.1. The application worked on WAS 5.1 for years without problem. When we migrated to 6.1, one of our application EJBs had error when doing the jndi lookup:

java.lang.ClassCastException: org.omg.stub.javax.ejb._EJBHome_Stub incompatible with com.service.ManagerHome.

We need to get com.service.ManagerHome stub, but instead WAS 6.1 returned the org.omg.stub.javax.ejb._EJBHome_Stub during lookup.

We didn't change any code, and we had other EJBs, and the jndi lookup for those worked fine in WAS 6.1.

I recompiled the app with WAS 6.1 JDK, but still got the same error for that ManagerBean.

Is there anything anywhere I missed? Any special setup for WAS 6.1? Any help is appreciated!

Thanks,
Michelle
 
wood burning stoves
 
subject: Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error
 
Similar Threads
Portal and EntityBean problem
Webservices application migration issue
Problem during migration from Websphere 5.1 to Websphere 6.1
Issue - WAS 5.1 to WAS 6 migration
Issues in Migrating from Websphere 5.1 to 6.1