[
https://issues.jboss.org/browse/REMJMX-84?page=com.atlassian.jira.plugin....
]
Abhishek Apoorva commented on REMJMX-84:
----------------------------------------
Hi David
I have tried this with both XNIO 3.0.10.GA JARs and XNIO - 3.2.2.Final. But still issue is
reproducible. I have updated the XNIO jar on both jboss-server and Jboss-client jar. When
jboss server starts it prints the name of updated XNIO jar file. Also I have noticed when
this error occurs on client side for that particular time period jboss server logs are
missing. I have attached the logs here. Please let me know if you need any other
information from my side.
To updated the XNIO jar on server side, I took below mentioned steps.
1. copied the updated XNIO 3.0.10.GA JARs at modules\org\jboss\xnio\main and
modules\org\jboss\xnio\nio\main location.
2. Updated the respective module.xml.
Jboss startup log
11:54:12,060 INFO [org.jboss.as.server] JBAS015888: Creating http management se
rvice using socket-binding (management-http)
11:54:12,071 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.10.GA
11:54:12,184 INFO [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin
Subsystem
Here you can see jboss server has picked the updated XNIO version.
Exception thrown by our application.
May 22 13:58:42:992 [DC#0, jboss] java.lang.RuntimeException: Operation failed with status
WAITING
at
org.jboss.remotingjmx.RemotingConnector.connect(RemotingConnector.java:154)
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:1877)
at
com.nimsoft.nimbus.probe.application.jsr160.Entity.getObjectNames(Entity.java:1107)
at
com.nimsoft.nimbus.probe.application.jsr160.Entity.getValue(Entity.java:281)
at
com.nimsoft.nimbus.probe.application.jsr160.Entity.getValue(Entity.java:1720)
at
com.nimsoft.nimbus.probe.application.extractbase.Extract.processMonitor(Extract.java:1329)
at
com.nimsoft.nimbus.probe.application.extractbase.Extract.processResource(Extract.java:1923)
at
com.nimsoft.nimbus.probe.application.extractbase.Extract$DataCollector.run(Extract.java:1162)
at java.lang.Thread.run(Unknown Source)
May 22 13:58:42:992 [DC#0, jboss] Disconnect is called
May 22 13:58:42:992 [DC#0, jboss] Disconnect is called
May 22 13:58:42:992 [DC#0, jboss] keys.length4
Jboss - server log : Also I have noticed when this error occurs on client side for that
particular time period jboss server logs are missing.
13:58:00,658 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-15) Chosen version 0x01
13:58:00,661 DEBUG [org.jboss.remotingjmx.protocol.v1.ServerProxy] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-15) Created connectionID
5aea5daf-b972-4823-90d0-ae5587770726
13:58:00,664 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-15) Connection
'5aea5daf-b972-4823-90d0-ae5587770726' now opened.
13:58:02,745 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-13) Chosen version 0x01
13:58:02,747 DEBUG [org.jboss.remotingjmx.protocol.v1.ServerProxy] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-13) Created connectionID
40414abd-f366-4124-8578-10d6eca495dc
13:58:02,783 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-13) Connection
'40414abd-f366-4124-8578-10d6eca495dc' now opened.
13:59:23,660 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-2) Chosen version 0x01
13:59:23,663 DEBUG [org.jboss.remotingjmx.protocol.v1.ServerProxy] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-2) Created connectionID
2a5f7abf-8ab6-490c-bf0c-9b48dfc18277
13:59:23,666 DEBUG [org.jboss.remotingjmx.RemotingConnectorServer] (Remoting
"ds-e06995fbde0f:MANAGEMENT" task-2) Connection
'2a5f7abf-8ab6-490c-bf0c-9b48dfc18277' now opened.
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: David Lloyd
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.2.3#6260)