Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » org.eclipse.update.configurator fails with auto-installing
org.eclipse.update.configurator fails with auto-installing [message #62460] Wed, 22 February 2006 12:50 Go to next message
Martin Schikowski is currently offline Martin SchikowskiFriend
Messages: 19
Registered: July 2009
Junior Member
hello all,

when I try to auto-install my plug-ins in the plugins directory within a bridge-servlet context an exception is risen:
(org.osgi.framework.BundleException) org.osgi.framework.BundleException: Bundle "org.eclipse.equinox.servlet.httpservice" version "3.2.0.200602221101" has already been installed from: initial@reference :file:plugins/org.eclipse.equinox.servlet.httpservice_3.2.0. 200602221101.jar/

the configurator plug-in tries to install the httpservice and other plug-ins, which were already installed per config.ini.

The array bundlesToInstall in the method installBundles() within the class ConfigurationActivator is filled with all plugins found in the plugin-directory, which seems to be wrong for me. In my tests the arrays have the following number of plug-ins:

cachedBundles = 13 pieces
plugins = 15 pieces
bundlesToInstall = 15 pieces

String[] bundlesToInstall = getBundlesToInstall(cachedBundles, plugins);

This occurs under the new eclipse M5, but M4 seems to have the same code and before I migrated I had the same problem with it.

Does somebody also have this kind of problem? Where is my mistake?

regards
martin
Re: org.eclipse.update.configurator fails with auto-installing [message #63453 is a reply to message #62460] Mon, 13 March 2006 14:39 Go to previous message
Martin Schikowski is currently offline Martin SchikowskiFriend
Messages: 19
Registered: July 2009
Junior Member
hello all,

I found the reason for my problem:

Using Eclipse M5 or M5a, the Bridge-Servlet with disabled FrameworkProperties (System.setProperty("osgi.framework.useSystemProperties", "false")) and the update.configurator this configurator has to be patched with sources from https://bugs.eclipse.org/bugs/show_bug.cgi?id=105851. I assumed all equinox-sources were already patched. This is only true for org.eclipse.osgi, but not for the update-configurator.

I found a hint on the following page: http://www.eclipsezone.com/eclipse/forums/m91995538.html.

regards
martin
Previous Topic:nested jars in OSGi
Next Topic:Tapestry + Hivemind + OSGI
Goto Forum:
  


Current Time: Thu Nov 14 08:08:29 GMT 2024

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

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

Back to the top