File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI problem" Watch "RMI problem" New topic

RMI problem

Cameron McEwan

Joined: Feb 25, 2005
Posts: 4

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

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.

I agree. Here's the link:
subject: RMI problem
It's not a secret anymore!