Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When using the Preferred-Provider header that specifies a bundle, an exception similar to the following is received:
org.osgi.framework.BundleException: A bundle is already installed with the name "bundle.c.jar" and version "0.0.0"
at org.eclipse.osgi.container.ModuleContainer.install(ModuleContainer.java:254)
at org.eclipse.osgi.storage.Storage.install(Storage.java:513)
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)
at org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundle0(BundleIdBasedRegion.java:117)
at org.eclipse.equinox.internal.region.BundleIdBasedRegion.installBundleAtLocation(BundleIdBasedRegion.java:97)
at org.apache.aries.subsystem.core.internal.BundleResourceInstaller.installBundle(BundleResourceInstaller.java:197)
at org.apache.aries.subsystem.core.internal.BundleResourceInstaller.install(BundleResourceInstaller.java:182)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installAriesSubsystem(SubsystemResourceInstaller.java:98)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installSubsystemResource(SubsystemResourceInstaller.java:159)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installRawSubsystemResource(SubsystemResourceInstaller.java:130)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.install(SubsystemResourceInstaller.java:38)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.installAriesSubsystem(SubsystemResourceInstaller.java:113)
at org.apache.aries.subsystem.core.internal.SubsystemResourceInstaller.install(SubsystemResourceInstaller.java:36)
at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:77)
at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:30)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:646)
at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:690)
at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:278)
at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:65)
...
Attachments
Issue Links
- blocks
-
ARIES-1377 Subsystems 2.0.4 Release
- Closed
- relates to
-
ARIES-1357 BasicSubsystem can be used by the subsystem install process a factor 6 times faster
- Closed