"Unable to Acquire Application Service" Error While Launching Eclipse

Unable to acquire application service error while launching Eclipse

The /configuration/config.ini file should contain org.eclipse.core.runtime@start in the commaseparated osgi.bundles property. Here is the default osgi.bundles property, maybe it was (accidently) changed during some upgrade:

osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start

You can if necessary override it by setting it as VM argument in /eclipse.ini:

-Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start

Unable to acquire application service error when starting an Eclipse application built with Tycho

Here’s the product from my E4 beginner’s guide book:

<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4"/>
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2"/>
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2"/>
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1"/>

Those are the ones that you will need to get running for the product in most cases.

The simpleconfigurator is the bundle responsible for reading the bundles.info and bringing everything up - essentially pre-filling the bundles and restoring the started/running state.

The ds bundle starts declarative services (which more bundles are using).

The equinox.common provides the IAdapterManager service and registers the platform: URL handler (so bundles can refer to content like platform:/org.eclipse.equinox.common/about.html).

The core.runtime provides the preference service and the preference store.

Hope that helps!

Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini)

If you are using a .product file enter the plugin dependencies on the Dependencies tab of the product editor. Use Generate a default config.ini file on the Configuration tab. This is much easier than trying to write the configuration files yourself.



Related Topics



Leave a reply



Submit