JDK-4295885 : RMI applications should be startable from inetd
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 1.2.1_04,5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_7,solaris_8
  • CPU: generic,sparc
  • Submitted: 1999-12-01
  • Updated: 2017-05-16
  • Resolved: 2003-10-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Description
An increasing number of Unix daemons are being written in
Java using RMI.  Normally daemons like this would be started using inetd or xinetd,which starts processes in response to requests over specific ports.

Unfortunately, processes that use RMI can't be started this way, since
there's (apparently) no way to convert a descriptor inherited by the
process from inetd into a socket that can be used for RMI.  As a result,
daemons using RMI must be started at system boot time, whether or not
they will be needed.  



divyang.desai@eng 2000-01-05


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b23
14-06-2004

WORK AROUND richard.ratta@East 2000-01-06 I don't know all the details about how inetd starts processes. But off the top of my head, couldn't you have an inetd process that that starts rmid ? Call it rmid_proxy. rmid_proxy starts rmid with a port number. It communicates this port to the client that wants to use the rmid service. After getting the port from the rmid_proxy, the client opens a socket with the obtained port to rmid which is now running. -rick
11-06-2004

EVALUATION I added some info to the comment field regarding launching rmid from inetd. Currently, we have limited resources to look into this issue, so I am reducing the priority to P4. ann.wollrath@East 2001-01-09
09-01-2001