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

Serge Démoulin commented on UIMA-5798:
--------------------------------------

*In my experience*

*On ubuntu / nfs partitiion* : the files are moveable in the same partition but 
not removeable.

Those jar/resource files are stored in a nfs partition and those jar/resource 
files are no more removable until the application is stopped.
The jar are renamed by the system in .nfs14986464132 file and those new hidden 
file are not removable "/.nfs00000000010063d7000004f4': Device or resource busy"

*On ubuntu* : the files are locked but still removeable

*On windows* : the files are not rename, not moveable and not removeable 
(java.nio.file.AccessDeniedException).

> The verification of a PEAR let the files locked 
> ------------------------------------------------
>
>                 Key: UIMA-5798
>                 URL: https://issues.apache.org/jira/browse/UIMA-5798
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Serge Démoulin
>            Priority: Critical
>
> The method org.apache.uima.pear.tools.InstallationTester#doTest() create many 
> new ResourceManager and the method must call ResourceManager#destroy() that 
> is not the case.
> Moreover every class responsible for creating a new ResourceManager must be 
> responsible for destroying it in an appropriate way.
>  



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

Reply via email to