Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is config.ini necessary for a rcp app since version 3.3
Is config.ini necessary for a rcp app since version 3.3 [message #105233] Fri, 15 February 2008 10:33
Eclipse UserFriend
Originally posted by: mightygopher.hotmail.com

Hello,
I've migrated my application from targetplatform 3.02 to 3.3. The
application uses a batch script to start with the startup.jar.
Now in version 3.3 I've changed the command to java -Xmx512m -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.ja r -clean
-debug -consoleLog -noExit -product de.company.product.id and the
application doesn't start anymore. The following exception occurs
!ENTRY org.eclipse.osgi 4 0 2008-02-15 11:29:16.293
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:72)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

If i copy the following config.ini file into the configure folder it starts.

config.ini:
osgi.splashPath=platform:/base/plugins/de.company.applicatio n.location
eclipse.product=de.company.product.id
osgi.bundles=org.eclipse.equinox.common@2:start,
org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
osgi.bundles.defaultStartLevel=4


Can someone confirm, that now a config.ini is required to start a rcp
with the new launcher jar. Or why does my application not start without
a config.ini

Thanks alot
Previous Topic:[security] - Trusted Bundles
Next Topic:Accessing the workbench via servlets?
Goto Forum:
  


Current Time: Fri Oct 22 14:07:56 GMT 2021

Powered by FUDForum. Page generated in 0.01540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top