File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes RMI problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI problem" Watch "RMI problem" New topic
Author

RMI problem

Cameron McEwan
Greenhorn

Joined: Feb 25, 2005
Posts: 4
Hi,

I have an RMI process running on 5 Unix boxes and they work successfully with no problems. However on another box I start the process, it polls the port for about ten seconds (I have seen this using truss) then gives up. The code is exactly the same as the other boxes however, obviously there will be configuration differences to the other boxes. This is a solaris 8 box running JDK 1.4.1_05-b01. If anyone �ANYONE� knows what could be wrong then please let me know.

My trusted infrastructure team thinks the patches may not be up-to-date. Any help will be greatly appreciated.
Jochen Seliger
Greenhorn

Joined: Jan 08, 2005
Posts: 8
Hi Cameron,
I have experiences at least a similar problem.
The reason was the 'rmiregistry' in my usr/sbin directory, whisch was started by default.
That one was listening to second port, allthoug it was set to the standard port 1099.
I fixed this probelem, using the 'RMIREISTRY' FROM MY oracle installation, whish is listenin correctly only to the given port.

Jochen
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RMI problem