This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ClasscastException for ejb home and stub - Websphere 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ClasscastException for ejb home and stub - Websphere 7" Watch "ClasscastException for ejb home and stub - Websphere 7" New topic
Author

ClasscastException for ejb home and stub - Websphere 7

K Raja
Greenhorn

Joined: Feb 03, 2012
Posts: 1
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 is..java.lang.ClassCastException: com.test._beanHome_Stub incompatible with com.test.beanHome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClasscastException for ejb home and stub - Websphere 7
 
Similar Threads
access one EAR from another EAR
(Web Archieve) war to war communication
Logging out from muliple applications
Invoke a class from different context
Calling RPC present in different server