6. Equinox Console

6.1 Enabling Equinox Console

The Equinox console is not enabled by default. To enable it place the setting

osgi.console=2401

in the org.eclipse.virgo.kernel.launch.properties file in the lib directory. Any free port can be used, but 2401 is the usual default.

Alternatively, you can enable the Equinox console when starting Virgo by passing the -Fosgi.console parameter to the startup script, for example:

Microsoft Windows

prompt> cd %SERVER_HOME%
prompt> bin\startup.bat "-Fosgi.console=2401"

Linux

prompt$ cd $SERVER_HOME
prompt$ bin/startup.sh -Fosgi.console=2401

You can run the Equinox console via telnet to the configured port:

prompt$ telnet localhost 2401
Trying ::1...
Connected to localhost.
Escape character is '^]'.

osgi>