You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2021/10/19 14:11:00 UTC

[jira] [Commented] (JCRVLT-531) InstallHookProcessorImpl leaves orphan tmp files

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

Julian Reschke commented on JCRVLT-531:
---------------------------------------

[~kwin] - I see 10 vaulthook*.jar files remaining in "/tmp" on each test run (on Windows) - maybe the cleanup code is trying to remove files which are still open?

> InstallHookProcessorImpl leaves orphan tmp files
> ------------------------------------------------
>
>                 Key: JCRVLT-531
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-531
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.5.4
>
>
> The InstallHookProcessor copies the JAR file to a tmp file in {{registerHook}} which is only properly removed in {{Hook.destroy}} called from {{execute}} when passing the last phase successfully.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)