karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jandresseen <soa...@comcast.net>
Subject Error message using Java SSH client to stop Karaf 2.4.0 instance
Date Thu, 29 Jan 2015 00:42:16 GMT
ServiceMix 5.3.0 / Karaf 2.4.0
I am using the Apache sshd client to programmatically connect to Karaf
(v2.4.0) and issue an admin:stop command.  The command is successful and the
Karaf instance is stopped as expected.  However the following error is
Error loading config properties from
Main: java.io.FileNotFoundException:
C:\apache-servicemix-5.3.0\etc\config.properties (The system cannot find the
path specified)

The Karaf installation is in a different location -
Environment variables are set correctly and verified via debugging along
with the karaf.home property.
I understand Karaf is looking for the config.property to obtain the
karaf.shutdown.command UUID - however, Karaf should be looking in the
installed directory.

Any help / workaround is appreciated. 

View this message in context: http://karaf.922171.n3.nabble.com/Error-message-using-Java-SSH-client-to-stop-Karaf-2-4-0-instance-tp4038097.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

View raw message