ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-151) LVG is not thread safe for multiple instances inside of a single JVM.
Date Tue, 02 Apr 2013 18:49:16 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620126#comment-13620126

Pei Chen commented on CTAKES-151:

One alternative workaround/suggestion from the umls lex folks is for us to 
instantiate a new LvgCmdApi() which should be a new read only connection to their hsqldb;

instead of sharing it as an UIMA resources (which we're not taking advantage anyway).

We will look into it and will let you know if we decide to modify the source code.
If so, it will be included in the next (2014) release.

As for now, you can use multiple API instances within a single JVM for thread safe.
Please see http://lexsrv3.nlm.nih.gov/LexSysGroup/Projects/lvg/current/web/faq.html

Thank you!

Chris J Lu, Ph.D.
Senior Systems Architect
(E): lu@nlm.nih.gov

> LVG is not thread safe for multiple instances inside of a single JVM.
> ---------------------------------------------------------------------
>                 Key: CTAKES-151
>                 URL: https://issues.apache.org/jira/browse/CTAKES-151
>             Project: cTAKES
>          Issue Type: Sub-task
>          Components: ctakes-lvg
>    Affects Versions: future enhancement, 3.0-incubating, 3.1-incubating
>            Reporter: Kim Ebert
>            Priority: Critical
>         Attachments: lvg_static_fix.patch
> The LVG library is not thread safe. It uses global variables, so between multiple instances,
the data will become corrupted.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message