Permalink
Browse files

Override default RMI server hostname

  • Loading branch information...
1 parent efe4ac1 commit cd5e647964ab38380d4be002ca7127fe5b612f96 @daggerrz committed Apr 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/java/voldemort/server/jmx/JmxRemoteService.java
@@ -147,6 +147,8 @@ protected void startInner() {
ssf);
}
+ // Explicitly specify host name to receive RMI callbacks.
+ env.put("java.rmi.server.useLocalHostname", "false");
env.put("java.rmi.server.hostname", rmiServerHost);
// Configure authentication

0 comments on commit cd5e647

Please sign in to comment.