This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes PortableRemoteObject returns null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "PortableRemoteObject returns null" Watch "PortableRemoteObject returns null" New topic

PortableRemoteObject returns null

Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

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

Joined: Sep 29, 2002
Posts: 1683
Do you have the RMI stubs on the client's classpath?

SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Don't get me started about those stupid light bulbs.
subject: PortableRemoteObject returns null
Similar Threads
Running EJB Client
Can't find SerialContextProvider
JNDI Name not found exception
How to access LocalHome interface in websphere5.1