karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1618) Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll
Date Mon, 20 Apr 2015 13:29:59 GMT

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

Christian Schneider commented on KARAF-1618:
--------------------------------------------

Any news on this? I think the only way to unlock the file in windows is to exit the java process
running karaf.

> 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
>            Reporter: Christian Schneider
>             Fix For: 3.0.4, 4.0.0.M3
>
>
> 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
(v6.3.4#6332)

Mime
View raw message