Sahoo wrote:
honnix wrote:
Thank you very much. I did as you said, but when I try to launch Felix using java -jar bin/felix.jar &, it will be suspended in the background, since it tries to get the input. See output below:

[EMAIL PROTECTED]:~/Downloads/development/apache/felix-1.0.4 $ java -jar bin/felix.jar &
[1] 173
[EMAIL PROTECTED]:~/Downloads/development/apache/felix-1.0.4 $
Welcome to Felix.
=================

DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 1.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: 1.0 -> org.ungoverned.osgi.service.shell -> 1.0
DEBUG: WIRE: 1.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 1.0 -> org.apache.felix.shell -> 1.0
DEBUG: WIRE: 2.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 2.0 -> org.apache.felix.shell -> 1.0
DEBUG: WIRE: 3.0 -> org.osgi.service.obr -> 3.0
DEBUG: WIRE: 3.0 -> org.osgi.framework -> 0
->

[1]+  Stopped                 java -jar bin/felix.jar

Then what if I don't want this terminal to be blocked, and only put Felix to the background? Is this possible? I can do this with Equinox by not giving -console argument.

Yes, you can do something similar using Felix. Just disable the org.apache.felix.shell.tui bundle in conf/config.properties. That's the one which is waiting for console I/O. Look for org.apache.felix.shell.tui*.jar in config.properties and remove that bundle from the autostart list.

Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks very much for your kindly help. I removed tui from conf/config.properties, and restarted Felix, tui was still running there, then I stopped it manually, and restarted Felix, and it was done. Now I can put it to background successfully. ;-)

Thank you again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to