[ 
https://issues.apache.org/jira/browse/UIMA-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serge Démoulin updated UIMA-5797:
---------------------------------
    Description: 
the class org.apache.uima.resource.impl.ResourceManager_impl create its own 
UIMAClassLoader in many methods setExtensionClassPath*().
 The method destroy() must be responsible for calling UIMAClassLoader#close() 
inherited from URLCLassLoader.

It is not the case.

Warning some UIMAClassLoader are shared between many ResourceManager_impl 
because of ResourceManager_impl#copy()

The inconvenient is that the opened resources like jar file stay locked.

  was:
the class org.apache.uima.resource.impl.ResourceManager_impl create its own 
UIMAClassLoader in many methods setExtensionClassPath*().
The method destroy() must call UIMAClassLoader#close() inherited from 
URLCLassLoader.

It is not the case.

The inconvenient is that the opened resources like jar file stay locked.


> ResourceManager doesn't close its UIMAClassLoader
> -------------------------------------------------
>
>                 Key: UIMA-5797
>                 URL: https://issues.apache.org/jira/browse/UIMA-5797
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.3, 3.0.0SDK
>            Reporter: Serge Démoulin
>            Priority: Critical
>              Labels: Classloader, PEAR
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> the class org.apache.uima.resource.impl.ResourceManager_impl create its own 
> UIMAClassLoader in many methods setExtensionClassPath*().
>  The method destroy() must be responsible for calling UIMAClassLoader#close() 
> inherited from URLCLassLoader.
> It is not the case.
> Warning some UIMAClassLoader are shared between many ResourceManager_impl 
> because of ResourceManager_impl#copy()
> The inconvenient is that the opened resources like jar file stay locked.



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

Reply via email to