I'm trying to use the Karaf console in an OSGi project rather than using the
eclipse console. The problem is when I run it, it starts up but terminate
immediately after.

It is an almost empty eclipse plugin project, with a target platform with
the following five bundles:
org.apache.aries.blueprint (0.2.0.invubating)
org.apache.felix.configadmin (1.2.4)
org.apache.karaf.shell.console (2.1.2)
org.eclipse.osgi (3.6.1.R36x_v20100806)
org.ops4j.pax.logging.pax-logging-api (1.5.3)

The output from the run is here:  http://pastebin.com/uncPWdxw pastebin.com 

This is with the following VM arguments: -Declipse.ignoreApp=true
-Dosgi.noShutdown=true -Dkaraf.startLocalConsole=true
-Dkaraf.startRemoteShell=false

If I remove -console from the program arguements is does not even start up.

Any ideas as to why I can't get the Karaf console to work?
-- 
View this message in context: 
http://karaf.922171.n3.nabble.com/Replace-eclipse-console-with-karaf-tp2156020p2156020.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to