I can't remember the exact details, but this basically means that your product isn't configured correctly so when framework admin goes to write out the config.ini file, it has to write out all the bundles in your product rather than just the simple configurator.
You should not be editing this list, it should be managed by p2.
Do you have any other simple configurator-related properties in your config.ini file?
Samuel Wu---2011/10/26 11:09:34 AM---Hi DJ, We currently have the following attribute in our config.ini.
Hi DJ,
We currently have the following attribute in our config.ini.
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start
While updating the product, the config.ini was changed to contain the following attribute.
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@4,reference\:file\:com.ibm.cdz.branding_1.6.2.201107272117.jar@4,reference\:file\:com.ibm.cdz.common_1.6.2.201107272117.jar@4,reference\:file\:com.ibm.cdz.remote.cshelp_1.6.2.201108112140.jar@4,reference\:file\:com.ibm.cdz.remote.doc_1.6.2.201108160029.jar@4,reference\:file\:com.ibm.debug.daemon_7.0.400.v20110207_2130.jar@4,reference\:file\:com.ibm.debug.daemon.cshelp_7.0.1.v20080702.jar@4,reference\:file\:com.ibm.debug.idebug.doc.tpf_1.0.1.v20110315_1958.jar@4,reference\:file\:com.ibm.debug.idebug.tpf.cshelp_1.0.2.v20080919.jar@4,reference\:file\:com.ibm.debug.idebug.tpf.cslink_1.0.3.v20101019_1137.jar@4,reference\:file\:com.ibm.debug.memorymap_7.2.213.v20110307_0400.jar@4,reference\:file\:com.ibm.debug.memorymap.cshelp_7.0.0.v20071102a.jar@4,reference\:file\:com.ibm.debug.memorymap.doc_7.0.0.v20080723.jar@4,reference\:file\:com.ibm.debug.memoryoffset_7.1.12.v20110307_0400.jar@4,reference\:file\:com.ibm.debug.memoryoffset.cshelp_7.0.0.v20071102a.jar@4,reference\:file\:com.ibm.debug.pdt_7.3.11.v20100629_1840.jar@4,reference\:file\:com.ibm.debug.pdt.animatedstep_1.1.103.v20110318_1505.jar@4,reference\:file\:com.ibm.debug.pdt.common_7.3.1.v20110131_2003.jar@4,reference\:file\:com.ibm.debug.pdt.core_8.2.1.v20110318_1505.jar@4,reference\:file\:com.ibm.debug.pdt.engines.tpf_1.0.0.v20100922_1443/@4,reference\:file\:com.ibm.debug.pdt.migration_1.1.0.v20101027_1400.jar@4,reference\:file\:com.ibm.debug.pdt.remotebrowse_7.1.102.v20101019_1137.jar@4,reference\:file\:com.ibm.debug.pdt.rsecommon_7.2.12.v20101027_1400.jar@4,reference\:file\:com.ibm.debug.pdt.ui_8.2.1.v20110318_1505.jar@4,reference\:file\:com.ibm.eNetwork.beans.HOD_11.0.3.201102241514/@4,reference\:file\:com.ibm.editors.swtbidiextension_1.1.2.201008101158/@4,reference\:file\:com.ibm.etools.common.navigator_3.6.0.201010140900.jar@4,reference\:file\:com.ibm.etools.hasslite_1.0.2.201006150117/@4,reference\:file\:com.ibm.etools.host.connect_8.0.100.v20110414_1721.jar@4,reference\:file\:com.ibm.etools.icerse.editable_3.0.0.v20100413_1531.jar@4,reference\:file\:com.ibm.etools.icerse.editor_....
osgi.bundles now contains a long list of all the features.
We cam start our product with this config.ini. The following error messages were generated in the log file.
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.reconciler.dropins_1.1.0.v20100525 [302]" could not be resolved. Reason: Another singleton version selected: org.eclipse.equinox.p2.reconciler.dropins_1.1.2.R36x_v20110114
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
......
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)
....
We found that if we change the attribute to the following ones. It started to work.
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start
I noticed there are a few touchpoint actions which allow you to change the options. Which one can be use to fix this one? Thanks.
Best Regards
Samuel Wu
DJ Houghton---10/26/2011 09:56:25 AM---The file is most likely updated when the reconciler is run on startup. What are you changing in the
The file is most likely updated when the reconciler is run on startup. What are you changing in the config.ini? There are touchpoint actions for adding/removing/changing properties. Perhaps a better plan would be to use the current touchpoint actions (or write a new one) which would modify the file. We don't encourage (and therefore don't provide means for) clients to replace the whole file because in general this is a bad idea as it doesn't allow everyone to place nice with each other.
Samuel Wu---2011/10/25 05:09:27 PM---Hello everyone, We've shipped a config,ini in the product. Now we want to ship a change to
Hello everyone,
We've shipped a config,ini in the product. Now we want to ship a change to it. We have a touch point action which moves the new file to the configuration directory during the installation of the new feature. But Eclipse overrides the file with its own version during the restart. Wonder how to update the config.ini file during the feature update. Thanks.
Best Regards
Samuel Wu_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev