Community
Participate
Working Groups
Mac OS X 10.6, JDK 1.6 x86_64, -console without port works, -console with port terminates immediately. Step to reproduce: - Eclipse Project SDK 3.6 RC1 (I20100513-1500), new workspace - Create a new Plug-in project for OSGi Framework Equinox, with Activator, don't use a template - Create a new OSGi Framework run configuration from scratch, deselect all bundles, only launch with the created bundle + dependency org.eclipse.osgi. Default arguments are: Program: -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console VM: -Declipse.ignoreApp=true -Dosgi.noShutdown=true - Launching works, sysout console comes and stays up - Add a port number to the -console option, it prints: Listening on port 1234 ... and immediately exits. - Open the same workspace in 3.5.2, launch the exact same run config, here it runs and stays up. As discussed here: http://www.eclipse.org/forums/index.php?t=msg&th=168275&start=0&
I will fix this in 3.6.1. We can easily make the port listening thread non-daemon. You can work around the issue by using the following configuration option. osgi.framework.activeThreadType=normal
Created attachment 173797 [details] patch This patch applies to both HEAD and 3_6_maintenance branch.
Patch released to HEAD and for 3.6.1.