The application will not start after update... [message #662249] |
Tue, 29 March 2011 17:08  |
Eclipse User |
|
|
|
Hi!
I have a problem with Update.
I have a project consisting of plugins and features:
+ Org.update.test.plugin
...
update.product
p2.inf
...
+ Org.update.test.feature
feature.xml
+ Org.update.test.site
+ Build
product.ant
feature.xml
buckminster.cspex
site.cquery
site.rmap
In backminster.cspex commands are defined and create.product create.product.zip (ie, all as described in the tutorial http://www.ralfebert.de/blog/eclipsercp/rcp_builds/)
Construction works fine, but suddenly starts after an update no longer my application.
I have noticed that after the update in config.ini disappeared all start commands for OSGI bundles and some fields such as eclipse.product or eclipse.application are empty.
Config.ini looks like that: ( its from Eclipse IDE, tomorrow will send more data of my application config.ini)
before:
# Tue Mar 29 21:45:27 PDT 2011
org.eclipse.update.reconcile = false
eclipse.p2.profile = epp.package.java
osgi.instance.area.default = @ user.home / workspace
osgi.framework = file \: plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
equinox.use.ds = true
eclipse.buildId = M20110210-1200
osgi.bundles = reference \: file \: org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar @ 1 \: start
org.eclipse.equinox.simpleconfigurator.configUrl = file \: org.eclipse.equinox.simpleconfigurator / bundles.info
...
eclipse.product = ru.update.test.product
osgi.splashPath =
osgi.framework.extensions =
osgi.bundles.defaultStartLevel = 4
eclipse.application = ru.update.test.application
eclipse.p2.data.area = @ config.dir/../p2 /
After:
# Tue Mar 29 21:45:27 PDT 2011
org.eclipse.update.reconcile = false
eclipse.p2.profile =
osgi.instance.area.default = @ user.home / workspace
osgi.framework = file \: plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
equinox.use.ds = true
eclipse.buildId = M20110210-1200
osgi.bundles = reference \: file \: org.eclipse.equinox.simpleconfigurator_1.0.200.v2010050
...
eclipse.product =
osgi.splashPath =
osgi.framework.extensions =
osgi.bundles.defaultStartLevel = 4
eclipse.application =
eclipse.p2.data.area = @ config.dir/../p2 /
am grateful for every tip
|
|
|
Re: The application will not start after update... [message #662320 is a reply to message #662249] |
Wed, 30 March 2011 05:05   |
Eclipse User |
|
|
|
Hi,
Here are config.ini before and after:
Before
# This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
# Tue Mar 29 10:17:11 PDT 2011
org.eclipse.update.reconcile = false
eclipse.p2.profile = Updateprofile
osgi.framework = file \: plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
equinox.use.ds = true
osgi.bundles = reference \: file \: org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar @ 1 \: start
org.eclipse.equinox.simpleconfigurator.configUrl = file \: org.eclipse.equinox.simpleconfigurator / bundles.info
eclipse.product = com.update.test.product
osgi.splashPath = platform \: / base / plugins / com.update.test
osgi.framework.extensions =
osgi.bundles.defaultStartLevel = 4
eclipse.p2.data.area = @ config.dir/../p2
eclipse.application = com.update.test.application
and after:
# This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
# Wed Mar 30 09:40:35 PDT 2011
org.eclipse.update.reconcile =
eclipse.p2.profile = Updateprofile
osgi.framework = file \: plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
equinox.use.ds = true
osgi.bundles = reference \: file \: @ 4 org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar , reference \: file \: @ 4 ca.odell.glazedlists_1.8.0.alpha20110124.jar, reference \: f
org.eclipse.equinox.simpleconfigurator.configUrl = file \: org.eclipse.equinox.simpleconfigurator / bundles.info
eclipse.product =
osgi.splashPath =
osgi.framework.extensions =
osgi.bundles.defaultStartLevel = 4
eclipse.application =
eclipse.p2.data.area = @ config.dir/../p2 /
------------------------------------------------------------ -------------------------------------
In addition, the files eclipsec.exe and Update.ini disappeared.
Logfile:
!SESSION 2011-03-30 11:03:35.127 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test_1.0.0.201103291011 [11] was not resolved.
!SUBENTRY 2 com.update.test 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.avldsl_1.0.0.201103291010 [12] was not resolved.
!SUBENTRY 2 com.update.test.avldsl 2 0 2011-03-30 11:03:57.283
!MESSAGE Missing optionally required bundle org.eclipse.xtext.generator_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.avldsl.generator_1.0.0.201103291010 [13] was not resolved.
!SUBENTRY 2 com.update.test.avldsl.generator 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.avldsl.generator_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.avldsl.ui_1.0.0.201103291010 [14] was not resolved.
!SUBENTRY 2 com.update.test.avldsl.ui 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.avldsl.ui_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.compiler_1.0.0.201103291010 [15] was not resolved.
!SUBENTRY 2 com.update.test.compiler 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.compiler_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.dicoreconnector_1.0.0.201103291010 [16] was not resolved.
!SUBENTRY 2 com.update.test.dicoreconnector 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.dicoreconnector_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.ecud_1.0.0.201103291010 [17] was not resolved.
!SUBENTRY 2 com.update.test.ecud 2 0 2011-03-30 11:03:57.283
!MESSAGE Missing optionally required bundle org.eclipse.xtext.generator_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.ecud.generator_1.0.0.201103291010 [18] was not resolved.
!SUBENTRY 2 com.update.test.ecud.generator 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.ecud.generator_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.ecud.ui_1.0.0.201103291010 [19] was not resolved.
!SUBENTRY 2 com.update.test.ecud.ui 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.ecud.ui_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.flow_1.0.0.201103291010 [20] was not resolved.
!SUBENTRY 2 com.update.test.flow 2 0 2011-03-30 11:03:57.283
!MESSAGE Missing optionally required bundle org.eclipse.xtext.generator_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.flow.generator_1.0.0.201103291010 [21] was not resolved.
!SUBENTRY 2 com.update.test.flow.generator 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.flow.generator_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.flow.ui_1.0.0.201103291010 [22] was not resolved.
!SUBENTRY 2 com.update.test.flow.ui 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.flow.ui_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.localcache_1.0.0.201103291011 [23] was not resolved.
!SUBENTRY 2 com.update.test.localcache 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.localcache_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.logproperties_1.0.0.201103291009 [24] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.mapping_1.0.0.201103291010 [25] was not resolved.
!SUBENTRY 2 com.update.test.mapping 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.mapping_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.multipage_1.0.0.201103291010 [28] was not resolved.
!SUBENTRY 2 com.update.test.multipage 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.multipage_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.odx.generator_1.0.0.201103291010 [29] was not resolved.
!SUBENTRY 2 com.update.test.odx.generator 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.odx.generator_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.translation_1.0.0.201103291010 [30] was not resolved.
!SUBENTRY 2 com.update.test.translation 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.translation_1.0.0.201103300913
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-30 11:03:57.283
!MESSAGE Bundle com.update.test.xmlpreview_1.0.0.201103291010 [31] was not resolved.
!SUBENTRY 2 com.update.test.xmlpreview 2 0 2011-03-30 11:03:57.283
!MESSAGE Another singleton version selected: com.update.test.xmlpreview_1.0.0.201103300913
!ENTRY org.eclipse.osgi 4 0 2011-03-30 11:03:57.299
!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:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
[Updated on: Mon, 11 April 2011 03:38] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05330 seconds