uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Koch (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6058) Pear destroy does not destroy the resourceManagers
Date Mon, 17 Jun 2019 07:44:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865401#comment-16865401
] 

Matthias Koch commented on UIMA-6058:
-------------------------------------

[~schor]

"But, if you know (in your particular application instance) when calling a ResourceManager
instance's destroy(), that the referenced CasManager is not shared, and won't be used again,
you could null out the reference:  e.g. my_resource_mgr.setCasManager(null);"

"Would this method work for your use case?"

Thats exactly what we are doing right now and it fixes the problem.

> Pear destroy does not destroy the resourceManagers
> --------------------------------------------------
>
>                 Key: UIMA-6058
>                 URL: https://issues.apache.org/jira/browse/UIMA-6058
>             Project: UIMA
>          Issue Type: Bug
>            Reporter: Matthias Koch
>            Priority: Major
>         Attachments: Screenshot_20190614_095220.png, UIMA-6058.diff
>
>
> the pear wrapper is caching resourceManagers which are not getting destroyed on destroy
of the pear wrapper.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message