jQuery in Action, 3rd edition
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 Java Interview Guide this week in the Jobs Discussion 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>(Throwable.java:84)
at java.lang.Exception.<init>(Exception.java:35)
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).]
I agree. Here's the link: http://aspose.com/file-tools
subject: ClassCastException in websphere
jQuery in Action, 3rd edition