karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Brocard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1618) Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll
Date Fri, 15 Jun 2018 09:44:00 GMT

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

Sylvain Brocard commented on KARAF-1618:
----------------------------------------

Hello,

I have a similar issue on a clean install of Karaf 4.1.5 on Windows 10 (64 bits).

With clean all:
{noformat}
karaf@root()> system:shutdown --reboot --clean-all
karaf@root()> Unable to delete file: Z:\ZZZ\apache-karaf-4.1.5\data\tmp\jna--1289946660\jna3440259290874675022.dll
{noformat}

With clean cache:
{noformat}
karaf@root()> system:shutdown --reboot --clean-cache
karaf@root()> Unable to delete file: Z:\ZZZ\apache-karaf-4.1.5\data\cache\bundle1\version0.0\bundle.jar
{noformat}

No problem if I just request a reboot without cleaning.

No problem on Linux (Centos 7.4).

[~chris@die-schneider.net] did you find a workaround ?

Thanks.

> Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-1618
>                 URL: https://issues.apache.org/jira/browse/KARAF-1618
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> karaf@root()> shutdown -r
> Confirm: reboot instance root (yes/no):
> karaf@root()> Could not launch framework: java.io.IOException: Unable to delete file:
C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
> java.io.IOException: Unable to delete file: C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:204)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
>         at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
>         at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
>         at org.apache.karaf.main.ConfigProperties.<init>(ConfigProperties.java:143)
>         at org.apache.karaf.main.Main.launch(Main.java:212)
>         at org.apache.karaf.main.Main.main(Main.java:169)



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

Mime
View raw message