This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to check whether Naming.lookup  uses Default host name and port number? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "How to check whether Naming.lookup  uses Default host name and port number?" Watch "How to check whether Naming.lookup  uses Default host name and port number?" New topic
Author

How to check whether Naming.lookup uses Default host name and port number?

Phuu Thu
Greenhorn

Joined: Jun 18, 2012
Posts: 2
Hi,
I got a problem connection and RMI server..
host name = dev1bv
port number = 5235

code is:
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 ???
 
Have you checked out Aspose?
 
subject: How to check whether Naming.lookup uses Default host name and port number?
 
It's not a secret anymore!