karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Error message using Java SSH client to stop Karaf 2.4.0 instance
Date Thu, 29 Jan 2015 12:18:28 GMT
Hi,

hmmmm, the FileNotFoundException is on the client or SMX side ?

Regards
JB

On 01/29/2015 01:42 AM, jandresseen wrote:
> 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
> logged:
> Error loading config properties from
> file:/C:/apache-servicemix-5.3.0/etc/config.properties
> 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 -
> C:/dev/apache-servicemix-5.3.0.
> 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.
> Thanks,
> Jon
>
>
>
>
> --
> 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.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message