Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ClasscastException for ejb home and stub - Websphere 7  RSS feed

K Raja
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my project there are two applications interacting with one another via EJB 2.0. When i call the EJB of app1 from app2 on server restart the connection is fine and the process is run through fine. but when i call the same from servlet of app1 application throws a classcastexception for home stub and home class.

if the same scenario post server restart if the EJB is hit first from the same app1 servlet then by app2 the application is working fine.

Exception com.test._beanHome_Stub incompatible with com.test.beanHome
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!