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

MBean Registration not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.2
    • 2.3
    • Core Java Framework
    • None

    Description

      If you create multiple instances of the same Analysis Engine simultaneously in different threads, it often results in WARNING messages being written to the log file about failed JMX MBean registration. These don't cause the AE to fail, but the messages are disconcerting, especially since they contain the entire stack trace. When logging is going to the console these messages can be mistaken for serious errors.

      At the very least the warning should not contain the stack trace so it doesn't look as threatening. Better would be to fix the MBean registration so it does not encounter these problems.

      Attachments

        Activity

          People

            alally Adam P. Lally
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: