Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.