Support Article
Need help adding a remote node in SMA under Tomcat
SA-8952
Summary
When attempting to create a new node using System Management Application (SMA), an error message appears.
ERROR MESSAGE
Connection refused to host: examplehost; nested exception is: java.net.ConnectException: Connection refused: connect]
Resolution
Add the following JVM arguments using variable CATALINA_OPTS inside the file setenv.sh or setenv.bat in order to enable JMX on tomcat for SMA to connect remotely:
CATALINA_OPTS="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<your host name>"
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.