UIMA
  1. UIMA
  2. UIMA-2395

UIMA AS service not logging a msg about missing JMX property

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      UIMA AS service wrapper doesn't log a msg when it detects missing jmx monitor property. The service simply starts with no hint of misconfiguration. The jmx monitor is optional, but requires two parameters: the rate at which to collect stats and jmx port of the monitored service. The latter is specified via -Dcom.sun.management.jmxremote.port=xxx property. If omitted, UIMA AS service wrapper just proceeds as if the jmx monitor was not requested by a user. Modify code to log a message indicating that the jmx port is missing and exit the process.

        Activity

        Jerry Cwiklik created issue -
        Hide
        Jerry Cwiklik added a comment -

        Modified to log a message about missing jmx property and exit the jvm if a user intended to start a service with JMX monitor but not provided jmx port

        Show
        Jerry Cwiklik added a comment - Modified to log a message about missing jmx property and exit the jvm if a user intended to start a service with JMX monitor but not provided jmx port
        Jerry Cwiklik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development