wood burning stoves 2.0*
The moose likes Websphere and the fly likes java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub 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 » Products » Websphere
Bookmark "java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub" Watch "java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub" New topic
Author

java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub

nitss bhavsar
Ranch Hand

Joined: Jan 09, 2012
Posts: 55
Hello,
I am getting following error while running standalone client program to invoke bean that is deployed on WAS ..
java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:372)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:156)
at com.hi.HelloClient.main(HelloClient.java:24)
does anybody have any solution for this?

Regards,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.lang.ClassCastException: Unable to load class: com.hi._HelloHome_Stub
 
Similar Threads
EJB 3 remote client - java.lang.ClassCastException: Unable to load class:
java.lang.ClassCastException at com.
ClassCastException
adding "org.omg.stub" to my classpath
ClassCastException by PortableRemoteObject.narrow