English 中文(简体)
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)

最佳回答

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.

问题回答

The script servicemix accept some args, the one your looking for is "server".

Once servicemix started this way, you can log to the console using ssh.

You can found more args by editing servicemix startup script.

Bye, Kev.





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签