wood burning stoves 2.0*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error