Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error

 
michelle na
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic