karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Soto <alex.s...@envieta.com>
Subject Re: data/port shutdown port file doesn't exist. The container is not running.
Date Mon, 23 Sep 2019 16:27:04 GMT
Maybe this only  happens if “start” has never been called. Can you confirm?
 
I saw this while automating deployment.  First step is to check if  Karaf is running, but
perhaps prior deployment failed before calling “start”.
Basically I need a reliable way of testing whether Karaf is running; apparently, testing for
status output to be "Running …” is not enough.


Best regards,
Alex soto




> On Sep 21, 2019, at 1:18 AM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
> 
> Hi,
> 
> I don't have this behavior on my machine:
> 
> after starting karaf with bin/karaf,
> I do bin/status and I have:
> 
> Running ...
> 
> Can you check in etc/config.properties that the karaf.shutdown.port.file
> property well located ?
> 
> Do you have special user permission in term of filesystem on data folder ?
> 
> Regards
> JB
> 
> On 20/09/2019 21:48, Alex Soto wrote:
>> When calling /status /command in Karaf 4.2.6 on a fresh install I get error:
>> 
>> data/port shutdown port file doesn't exist. The container is not running.
>> 
>> What causes this?
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


Mime
View raw message