javaapache-karafjbossfuseapache-servicemixfuseesb

Why is FUSE ESB (ServiceMix) 4.3 shutting down on linux if I leave karaf console?


I use ServiceMix 4.2 on my local Windows machine for development.

Now I installed a FUSE ESB 4.3 in a Linux environment and start it via SSHing on the linux machine. After leaving the karaf console the container always shuts down. How can I leave the karaf console with ServiceMix running?

(Might be just configuration, but I can't find it with Google or the FUSE docs)


Solution

  • You can start the (linux) servicemix instance with the 'start' script and afterwads remote connect to the console using ssh (e.g. from your windows FUSE session or a ssh client):

    ssh:ssh {-l username} {-P password} {-p port} { hostname }
    

    e.g.

    karaf@root>ssh:ssh -l smx/karaf -P smx/karaf -p 8101 hostname 
    

    -l/-P default values depend on the FUSE version you are connecting to

    -p is per default 8108

    Use

    karaf@root>shell:info
    

    to determine which session you are currently logged in.

    Have a look at the documentation here.