A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How to check whether Naming.lookup uses Default host name and port number?
Joined: Jun 18, 2012
Jun 24, 2012 20:47:05
I got a problem connection and RMI server..
host name = dev1bv
port number = 5235
localObj = (SvrObjInterface) Naming.lookup("//dev1bv:5235/RMIServer");
and when I try to retrieve
TObj = localObj.getTObj();
I got null value for TObj.. I checked and localObj is not null..
Please help me. I think it is because it uses default host name and port ???
I agree. Here's the link:
subject: How to check whether Naming.lookup uses Default host name and port number?
Why does RMI naming lookup work on the local host when I give it a garbage name?
ConnectionException under Win ME
RMI Binding on localhost
Do we need host,port,and db name when we use RMI ?
Major problems with networking client.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015