• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Migrating WAS 5.1 to 6.1 EJB JNDI lookup Error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Trust God, but always tether your camel... to this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic