Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PortableRemoteObject returns null

 
Aryan Khan
Ranch Hand
Posts: 290
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why does javax.rmi.PortableRemoteObject returns null while the looked up object is not null. and If I try to cast to some other class it throws a class cast exception?
-------------
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the RMI stubs on the client's classpath?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic