karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4499) Can't start a crashed server on Windows
Date Mon, 18 Apr 2016 12:18:26 GMT

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

Andrea Cosentino commented on KARAF-4499:
-----------------------------------------

Since a Windows crash is something outside of the control of Karaf, you can do something like
this:

{code}
> .\admin.bat start root
{code}

In this way you'll overwrite the pid in instance.properties and will be able to connect to
karaf instance with client.bat script.

In case of crash the instance.properties won't be cleaned, this is why you're unable to start
karaf once again. The workaround can be the one described above, but I guess the check on
running root instance is important.

What do you think about, [~jb@nanthrax.net] ?

> Can't start a crashed server on Windows
> ---------------------------------------
>
>                 Key: KARAF-4499
>                 URL: https://issues.apache.org/jira/browse/KARAF-4499
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>         Environment: Windows 10
>            Reporter: Tom Jenkinson
>
> On Windows if a server crashes karaf.bat does not allow me to start the server again.
I have tracked this to an algorithm in the file that checks for the PID and sets a variable,
on Windows (10 at least) to be able to overwrite the variable you need to use a slightly different
notation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message