Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1548

Add fallback querry to jconsole plugin

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta1
    • 8.0.0.Alpha1
    • None

      JConsolePlugin connecects to default port, despite chance to use proper info.
      Problem:
      Unless I miss somethingm JConsole has a bit tight isolation between components. There is no way for AS7 JConsolePlugin to access "connect dialog" info. Hence it has no idea what is the content of URL being passed as remote.

      AS7 JConsolePlugin checks if MBeanServerConnection is instance of RemotinConnection. If its not, it fallbacks to default: localhost:9990.
      However we can check for socket bindings and try to connect to proper socket.

            darran.lofthouse@redhat.com Darran Lofthouse
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: