使用Jconsole连接到open shift - 远程端点上的非JRMP服务器

时间:2014-05-14 19:32:18

标签: java jboss remote-access openshift jconsole

我正在尝试使用jconsole连接到开放式班次应用程序。我正在按照这里的https://www.openshift.com/forums/openshift/accesing-jmx-mbean-as-7-app指南说明使用rhc端口后我们应该得到一个输出 - 我看起来如下

Checking available ports ... done
Forwarding ports ...
Address already in use - bind(2) while forwarding port 8080. Trying local port
8081
Address already in use - bind(2) while forwarding port 8080. Trying local port
8081
Address already in use - bind(2) while forwarding port 8081. Trying local port
8082

To connect to a service running on OpenShift, use the Local address

Service Local                OpenShift
------- --------------- ---- ---------------------------------------------------
haproxy 127.0.0.1:8080   =>  127.2.167.2:8080
haproxy 127.0.0.1:8081   =>  127.2.167.3:8080
java    127.0.0.1:3528   =>  127.2.167.1:3528
java    127.0.0.1:4447   =>  127.2.167.1:4447
java    127.0.0.1:5445   =>  127.2.167.1:5445
java    127.0.0.1:5455   =>  127.2.167.1:5455
java    127.0.0.1:8082   =>  127.2.167.1:8080
java    127.0.0.1:9990   =>  127.2.167.1:9990
java    127.0.0.1:9999   =>  127.2.167.1:9999
mysql   127.0.0.1:40381  =>  537275e04382ec4bcf00008e-hnwebservice.rhcloud.com:40381

Press CTRL-C to terminate port forwarding  

根据指南,然后继续说我可以使用家庭地址连接 - 在我的情况下,我想使用以下值127.0.0.1:9999 - 当我尝试这样做时,我得到以下错误

Connection failed: non-JRMP server at remote endpoint

请有人帮我理解这个错误的含义,也许可以解决这个问题?

由于

0 个答案:

没有答案