Uimacpp logging facility is not thread safe
-------------------------------------------

                 Key: UIMA-1049
                 URL: https://issues.apache.org/jira/browse/UIMA-1049
             Project: UIMA
          Issue Type: Bug
          Components: C++ Framework
            Reporter: Bhavani Iyer


Multiple instances of a C++ annotator may be run when the C++ annotator is run 
within a CPM with multiple parallel pipelines or when the C++ annotator is 
deployed as a UIMA AS service configured to start multiple instances.  In both 
cases, when the JNI interface to logging is used, the call to the logging 
facility  results in the exception,
Exception in thread "pool-1-thread-2" and the log message is not written.  

The problem does not appear when the C++ service is run in the natively using 
the ActiveMQ C++ serivce wrapper since the wrapper implements its own 
synchronization for logging. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to