JConsole hangs when we try to access EAP6 in domain mode via Remoting Port

Solution Unverified - Updated -

Issue

  • While accessing JBoss EAP6 Remotely which is running in Domain mode the Client or JConsole hangs without actually connecting to JBoss Instance.

  • We enabled the JBoss JMX Access via remoting port by adding the following configuration in jmx subsystem:

            <subsystem xmlns="urn:jboss:domain:jmx:1.1">
                <show-model value="true"/>
                 <remoting-connector  use-management-endpoint="false" />
            </subsystem>
  • In Thread Dump we see the following message:

"AWT-EventQueue-0" prio=10 tid=0x00007f078026c800 nid=0x5c27 in Object.wait() [0x00007f077fe9d000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000007ac7dc2f0> (a java.lang.Object) at java.lang.Object.wait(Object.java:485) at org.xnio.AbstractIoFuture.await(AbstractIoFuture.java:73) - locked <0x00000007ac7dc2f0> (a java.lang.Object) at org.xnio.AbstractIoFuture.get(AbstractIoFuture.java:156) - locked <0x00000007ac7dc2f0> (a java.lang.Object) at org.jboss.as.cli.gui.JConsoleCLIPlugin.connectUsingRemoting(JConsoleCLIPlugin.java:118) at org.jboss.as.cli.gui.JConsoleCLIPlugin.connectCommandContext(JConsoleCLIPlugin.java:98) at org.jboss.as.cli.gui.JConsoleCLIPlugin.getTabs(JConsoleCLIPlugin.java:76) at sun.tools.jconsole.VMPanel.createPluginTabs(VMPanel.java:641) at sun.tools.jconsole.VMPanel.propertyChange(VMPanel.java:315) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:75) at javax.swing.event.SwingPropertyChangeSupport$1.run(SwingPropertyChangeSupport.java:80) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:616) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content