Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1429

Generate unique JMX name for every UIMA AS client instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      When an application creates a second instance of a UIMA AS client in the same JVM, an exception is thrown in the initialize() method. Only the first instance initializes correctly. This exception is thrown when the second instance attempts to register a JMX MBean (to expose client side stats) with a JMX Server. This is due to the fact that both instances try to register the MBean using the same ObjectName. Modify the client code to make the name unique before registering with JMX.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: