Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassCastException in websphere

Balu Datla
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic