Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Switch to using localhost for RMI so we can work through SSH tunnels.
Browse files Browse the repository at this point in the history
  • Loading branch information
buckett committed Sep 29, 2014
1 parent 599992a commit 287281b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.sh
Expand Up @@ -15,6 +15,7 @@ export JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.home=$CATALINA_HOME/solr/"

# If we have a JMX Port set use that:
if [ -n "$JMX_PORT" ] ; then
export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=$(hostname -f)"
export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=localhost"

fi

0 comments on commit 287281b

Please sign in to comment.