File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes ClassCastException in websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "ClassCastException in websphere" Watch "ClassCastException in websphere" New topic

ClassCastException in websphere

Balu Datla

Joined: May 15, 2001
Posts: 2
when The Client Invoke the Bean The following Error is
at java.lang.Throwable.<init>(
at java.lang.Exception.<init>(
at java.lang.RuntimeException.<init>
at java.lang.ClassCastException.<init>
at javax.rmi.PortableRemoteObject.narrow
I deployed bean through jetace(remote Class is
Trader,Home Class is Trader Home and Bean Class is
TraderBean). At the time of depoyment time i given JNDI
Home "MyTrade" in Basic tab properties tab of jetace.
Deployment is successfully completed. I wrote a Client
program. client program is following

At the Line 18 of above program gives ClassCastException.
I check the JNDI binding names. The Object is Stored
Different Value. The value is
Please Help me regarding this problem

Please use [ code] [ /code] tags to format your code. Check out the UBB Code link below for further details

[This message has been edited by Rahul Mahindrakar (edited May 15, 2001).]
Consider Paul's rocket mass heater.
subject: ClassCastException in websphere
It's not a secret anymore!