Running an empty equinox container without console port [message #110823] |
Wed, 28 May 2008 14:09  |
Eclipse User |
|
|
|
Hello,
I have been struggling with getting just a plain vanilla Equinox container
up and running without enabling the console. We are trying to explore Server
Side Equinox as an OSGi container and need to start with just the basics.
Here is what I can get to work:
java -jar plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.ja r
-noExit -console 8888
As one could imagine the process stays alive and when I telnet to
localhost:8888 I get to the console.
telnet localhost 8888
Trying ::1...
Connected to localhost.
Escape character is '^]'.
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105
osgi> exit
Now, as you can imagine having the console on a port is not very practical
for server-side usage, especially if you have multiple Equinox instances on
the same server (requires multiple ports).
I have not been able to get Equinox to stay running if I just do:
java -jar plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.ja r
-noExit
The process starts and exits leaving a configuration directory with an entry
in the log that it could not start Eclipse. I can get rid of the message if
I create a basic config.ini file with the following entries:
eclipse.ignoreApp=true
osgi.noShutdown=true
When I repeat the above command produces the same behavior - equinox starts
and exists right away without trying to start Eclipse.
I wonder if I am missing a minor detail or the entire point here by what I
am trying to do.
Thanks,
--ivo
|
|
|
|
Powered by
FUDForum. Page generated in 0.06808 seconds