• Post Reply Bookmark Topic Watch Topic
  • New Topic

Classcast exception in PortableRemoteObject.narrow  RSS feed

 
Giri Namuduri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compiled all required classes, created the AccountApp JAR files including the AccountAppClient.jar file. Also made sure that the classpath points to the client jar file - Is there anything I'm missing?
Getting a classcast exception in the PortableRemoteObject.narrow method.
I'd appreciate any pointers on this. Thanks.

[This message has been edited by Giri Namuduri (edited December 08, 2001).]
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A classcast exception occurs because you are casting an object to a class but it isn't an object of that class type. Show some code and maybe we can help.
------------------
Tom
Sun Certified Programmer for the Java� 2 Platform
Moderator of the forums:
J2EE and EJB
Other Java APIs
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!