glassfish
  1. glassfish
  2. GLASSFISH-16313

Regression from 3.0.1: * wildcard in the monitoring string without any '.' to denote the server does not display monitoring data

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0_b43
    • Component/s: monitoring
    • Labels:
      None

      Description

      Using * as wildcard in the monitoring string without using any '.' to denote the server, does not display any monitoring data in 3.1 when it is suppose to.

      For example:

      Using 'asadmin get -m "openconnections"' works in GlassFish 3.0.1, but not in GlassFish 3.1.
      In this case, 3.1 is probably looking for a server with 'openconnections' in the name.

      asadmin set configs.config.server-config.monitoring-service.module-monitoring-levels.http-service=HIGH

      C:\glassfish-3.0.1\glassfishv3\glassfish\bin>asadmin get -m "openconnections"
      server.network.admin-listener.connection-queue.countopenconnections-count = 65
      server.network.admin-listener.connection-queue.countopenconnections-description
      = The number of open/active connections
      server.network.admin-listener.connection-queue.countopenconnections-lastsampleti
      me = 1296857437750
      server.network.admin-listener.connection-queue.countopenconnections-name = Count
      OpenConnections
      server.network.admin-listener.connection-queue.countopenconnections-starttime =
      1296857437750
      server.network.admin-listener.connection-queue.countopenconnections-unit = count

      server.network.admin-listener.connection-queue.dotted-name = server.network.admi
      n-listener.connection-queue
      server.network.http-listener-1.connection-queue.countopenconnections-count = 2
      server.network.http-listener-1.connection-queue.countopenconnections-description
      = The number of open/active connections
      server.network.http-listener-1.connection-queue.countopenconnections-lastsamplet
      ime = 1296857437750
      server.network.http-listener-1.connection-queue.countopenconnections-name = Coun
      tOpenConnections
      server.network.http-listener-1.connection-queue.countopenconnections-starttime =
      1296857437750
      server.network.http-listener-1.connection-queue.countopenconnections-unit = coun
      t
      server.network.http-listener-1.connection-queue.dotted-name = server.network.htt
      p-listener-1.connection-queue
      server.network.http-listener-2.connection-queue.countopenconnections-count = 0
      server.network.http-listener-2.connection-queue.countopenconnections-description
      = The number of open/active connections
      server.network.http-listener-2.connection-queue.countopenconnections-lastsamplet
      ime = 1296857437750
      server.network.http-listener-2.connection-queue.countopenconnections-name = Coun
      tOpenConnections
      server.network.http-listener-2.connection-queue.countopenconnections-starttime =
      1296857437750
      server.network.http-listener-2.connection-queue.countopenconnections-unit = coun
      t
      server.network.http-listener-2.connection-queue.dotted-name = server.network.htt
      p-listener-2.connection-queue

      Command get executed successfully.

      In GlassFish 3.1, "openconnections" will not work:

      asadmin get -m "openconnections"
      No monitoring data to report.

      Command get executed successfully.

      Workarounds in GlassFish 3.1:

      1. asadmin get -m "*" | grep openconnections
      2. asadmin get -m *.openconnections

        Activity

        Hide
        Byron Nevins added a comment -

        Done.

        Usually I give the subversion rev # but the svn email has been broken for 2 days.
        The changes were in MonitoringReporter.java

        Show
        Byron Nevins added a comment - Done. Usually I give the subversion rev # but the svn email has been broken for 2 days. The changes were in MonitoringReporter.java

          People

          • Assignee:
            Byron Nevins
            Reporter:
            Jennifer Chou
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: