• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error

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!

    Bookmark Topic Watch Topic
  • New Topic