geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sisson (JIRA)" <>
Subject [jira] Commented: (GERONIMO-704) Can't set listen host/IP for RMI Registry
Date Thu, 10 Nov 2005 03:02:03 GMT
    [ ] 

John Sisson commented on GERONIMO-704:

AFAIK, the rmi registry is bound to  INADDR_ANY.  The java.rmi.registry.LocateRegistry.createRegistry(..)
method does not have a signature that accepts a host that would allow you to bind to a specific
IP address.

The createRegistry(..) method does have a signature that accepts an RMIServerSocketFactory.
 So it appears we need to provide an impl of RMIServerSocketFactory that allows the host to
be set to be able to bind the RMI registry to a specific IP address.  

Are there any plans to use ActiveIO for the RMI Registry?  FYI, on a related topic, in in
Java 1.5, the javax.rmi.ssl.SslRMIServerSocketFactory has been introduced.

> Can't set listen host/IP for RMI Registry
> -----------------------------------------
>          Key: GERONIMO-704
>          URL:
>      Project: Geronimo
>         Type: Bug
>   Components: core
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.0

> The RMI Registry GBean has a configuration attribute for a port, but not for a listen
hostname/IP.  It should have attributes for both.  The class in question is:
> geronimo/modules/system/src/java/org/apache/geronimo/system/rmi/
> When this change is made, the getAddress method should be changed to return the correct
listen host/IP instead of

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message