[jboss-jira] [JBoss JIRA] (REMJMX-84) Jboss JMX: Operation failed with status WAITING
Kamran Ahmed (JIRA)
issues at jboss.org
Mon Jul 27 04:26:04 EDT 2015
[ https://issues.jboss.org/browse/REMJMX-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092974#comment-13092974 ]
Kamran Ahmed edited comment on REMJMX-84 at 7/27/15 4:25 AM:
-------------------------------------------------------------
I am using JBoss AS 7.2.0 Final, and facing the same exception.
This is what i changed in default standalone.xml
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:<machine ip>}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:<machine ip>}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:<machine ip>}"/>
</interface>
</interfaces>
Environment I have tested on:
1. CentOS
2. Windows 7
Same configuration with different IP is working fine on all environment except one CentOS system.
I am stuck with this issue, i have tried replacing jboss-remoting.jar and remoting-jmx.jar with latest one as per the fix mentioned in resolution but it didn't work. I am able to telnet that port (9999) from remote machine but JMX Custom Client and JConsole is not getting successful connection.
Following is the code snippet i am using to get connection to JMX.
JMXServiceURL url = new JMXServiceURL(service:jmx:remoting-jmx://<SERVER_IP>:9999);
JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
was (Author: kamranahmed):
I am using JBoss AS 7.2.0 Final, and facing the same exception.
This is what i changed in default standalone.xml
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:<machine ip>}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:<machine ip>}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:<machine ip>}"/>
</interface>
</interfaces>
Environment I have tested on:
1. CentOS
2. Windows 7
Same configuration with different IP is working fine on all environment except one CentOS system.
I am stuck with this issue, i have tried replacing replacing jboss-remoting.jar and remoting-jmx.jar with latest one but it didn't work. I am able to telnet that port from remote machine but JMX Custom Client and JConsole is not getting successful connection.
Following is the code snippet i am using to get connection to JMX.
JMXServiceURL url = new JMXServiceURL(service:jmx:remoting-jmx://<SERVER_IP>:9999);
JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
> Jboss JMX: Operation failed with status WAITING
> ------------------------------------------------
>
> Key: REMJMX-84
> URL: https://issues.jboss.org/browse/REMJMX-84
> Project: Remoting JMX
> Issue Type: Bug
> Environment: jboss-as-7.1.1.Final on windows server
> Reporter: Abhishek Apoorva
> Assignee: Darran Lofthouse
> Fix For: 2.0.1.CR1
>
>
> Version : jboss-as-7.1.1.Final on windows server
> I am getting below mentioned strange issue intermittently while fetching
> Jboss JMX Mbean.
> Can anyone help me to find the real cause of the issue? Secong thing is why it is coming intermittently either it should come always or it should not come at all.
> JMXConnectorFactory.connect(serviceURL, environment);
> While executing above mentioned line system is throwing below mentioned exception.
> {noformat}
> May 08 02:30:53:375 [DC#0, jboss] java.lang.RuntimeException: Operation failed with status WAITING
> at org.jboss.remotingjmx.RemotingConnector.internalRemotingConnect(RemotingConnector.java:216)
> at org.jboss.remotingjmx.RemotingConnector.internalConnect(RemotingConnector.java:143)
> at org.jboss.remotingjmx.RemotingConnector.connect(RemotingConnector.java:94)
> at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
> at com.nimsoft.nimbus.probe.application.jboss.JmxConnection.createConnection(JmxConnection.java:68)
> at com.nimsoft.nimbus.probe.application.jsr160.Entity.createConnection(Entity.java:1772)
> at com.nimsoft.nimbus.probe.application.jsr160.Entity.getValue(Entity.java:1567)
> at com.nimsoft.nimbus.probe.application.extractbase.Extract.processMonitor(Extract.java:1324)
> at com.nimsoft.nimbus.probe.application.extractbase.Extract.processResource(Extract.java:1908)
> at com.nimsoft.nimbus.probe.application.extractbase.Extract$DataCollector.run(Extract.java:1158)
> at java.lang.Thread.run(Unknown Source)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list