Support Article
Cannot remote connect SMA: No available router to destination
SA-15236
Summary
Pega is running on a managed Weblogic server and Admin needs to connect to Pega node through remote JMX connection in SMA.
The connection fails with an error.
Error Messages
Cannot connect to the server with specified settings
t3://your_host:your_port: Destination 127.0.0.1, your_port unreachable; nested exception is: java.io.IOException: Empty server reply; No available router to destination
Stack Trace:
com.pega.jmx.ui.util.JMXClientException: Cannot connect to the server with specified settings
t3://your_host:your_port: Destination 127.0.01, your_port unreachable; nested exception is:
java.io.IOException: Empty server reply; No available router to destination
at com.pega.jmx.ui.util.JMXClientException.wrap(JMXClientException.java:49)
at com.pega.jmx.ui.action.AuthenticateAction.execute(AuthenticateAction.java:302)
Steps to Reproduce
- Add the following JAVA_OPTIONS to the managed server JVM : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8008 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
- Configure SMA to use Remote JMX connection via the following URL : service:jmx:t3://your_host:8008/jndi/weblogic.management.mbeanservers.domainruntime
- Click on the node name on SMA
Root Cause
The remote JMX configuration steps are not applicable to Pega running on a managed Weblogic instance
Resolution
- Add the following JAVA_OPTIONS to the managed server JVM : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8008 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
- Configure SMA to use Remote JMX connection via the following URL : service:jmx:t3://your_host:8001/jndi/weblogic.management.mbeanservers.runtime
- Notice the port number in the URL is not the remote JMX port but the regular http port for the managed server 8001 and the Mbean is ‘weblogic.management.mbeanservers.runtime’ instead of the ‘weblogic.management.mbeanservers.domainruntime’
- You'll get this prompt when clicking on the remote node on SMA.
- After entering valid Admin credentials (same as weblogic console credentials), you can connect to the node successfully.
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.