[ 
http://issues.apache.org/jira/browse/GERONIMO-704?page=comments#action_12357179 
] 

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: http://issues.apache.org/jira/browse/GERONIMO-704
>      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/RMIRegistryService.java
> When this change is made, the getAddress method should be changed to return 
> the correct listen host/IP instead of 0.0.0.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to