com.springsource.server.osgi.framework.OsgiFrameworkException: Error installing fragment from 'R:\bin\springsource\dm-server-1.0.2.SR02\repository\bundles\subsystems\com.springsource.server.kernel\com.springsource.server.kernel.dm-1.0.2.SR02.jar' for bundle 'org.springframework.osgi.extender'

SpringSource Issue Tracker | Scott Hamilton | 7 years ago
  1. 0

    Pointing the dm Server to the attached repository yields the exception. In trying to trim down the repo to its minimum it looks like we have 3 different apache commons codec bundles in 3 different locations that may be contributing to this, tho there are some interrelationships with other apache commons that might also be playing a factor - I could not reduce the repo to just the three duplicate bundles and reproduce the error, for instance. I also left in a jug-1.jar file that generates a warning that I cannot explain - this is incidental and not directly related to this bug report. The DuplicateBundleException reported: R:\bin\springsource\dm-server-1.0.2.SR02\bin>startup [2009-10-14 09:53:06.955] main <SPKB0001I> Server starting. [2009-10-14 09:53:07.705] main <SPOF0001I> OSGi telnet console available on port 2401. [2009-10-14 09:53:09.362] main <SPOP0004W> The bundle 'R:\repository\tms\lib\jug\1\jug-1.jar' could not be provisioned as its manifest is malformed. The error encountered whilst parsing the manifest was: Exception reading manifest. Source: 'unknown' [2009-10-14 09:53:10.799] main <SPKB0002E> Start failed: com.springsource.server.osgi.framework.OsgiFrameworkException: Error installing fragment from 'R:\bin\springsource\dm-server-1.0.2.SR02\repository\bundles\subsystems\com.springsource.server.kernel\com.springsource.server.kernel.dm-1.0.2.SR02.jar' for bundle 'org.springframework.osgi.extender' at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.resolveFragments(EquinoxBundleInstaller.java:179) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:149) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundle(EquinoxBundleInstaller.java:105) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromLocation(AbstractBundleInstaller.java:170) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromDefinition(AbstractBundleInstaller.java:242) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:137) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:109) at com.springsource.server.kernel.bootstrap.KernelBootstrap.start(KernelBootstrap.java:73) at com.springsource.server.kernel.bootstrap.Bootstrap.main(Bootstrap.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.bootstrap.harness.BootHarness.main(BootHarness.java:63) Caused by: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle "org.apache.commons.codec" version "1.3.0.v20080530-1600" has already been installed from: file:///R:\repository\org\eclipse\birt\org.apache.commons.codec_1.3.0.v20080530-1600\2.3\org.apache.commons.codec_1.3.0.v20080530-1600-2.3.jar at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:700) at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:939) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:824) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:905) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:819) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:215) at com.springsource.server.osgi.framework.equinox.BundleContextWrapper.installBundle(BundleContextWrapper.java:199) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:145) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:265) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.resolveFragments(EquinoxBundleInstaller.java:177) ... 13 more Also note it complains (a warning) about bundle 'R:\repository\tms\lib\jug\1\jug-1.jar' could not be provisioned as its manifest is malformed. At least this is not an error, and can be ignored, but the JAR manifest.mf looks ok to me...

    SpringSource Issue Tracker | 7 years ago | Scott Hamilton
    com.springsource.server.osgi.framework.OsgiFrameworkException: Error installing fragment from 'R:\bin\springsource\dm-server-1.0.2.SR02\repository\bundles\subsystems\com.springsource.server.kernel\com.springsource.server.kernel.dm-1.0.2.SR02.jar' for bundle 'org.springframework.osgi.extender'
  2. 0

    Pointing the dm Server to the attached repository yields the exception. In trying to trim down the repo to its minimum it looks like we have 3 different apache commons codec bundles in 3 different locations that may be contributing to this, tho there are some interrelationships with other apache commons that might also be playing a factor - I could not reduce the repo to just the three duplicate bundles and reproduce the error, for instance. I also left in a jug-1.jar file that generates a warning that I cannot explain - this is incidental and not directly related to this bug report. The DuplicateBundleException reported: R:\bin\springsource\dm-server-1.0.2.SR02\bin>startup [2009-10-14 09:53:06.955] main <SPKB0001I> Server starting. [2009-10-14 09:53:07.705] main <SPOF0001I> OSGi telnet console available on port 2401. [2009-10-14 09:53:09.362] main <SPOP0004W> The bundle 'R:\repository\tms\lib\jug\1\jug-1.jar' could not be provisioned as its manifest is malformed. The error encountered whilst parsing the manifest was: Exception reading manifest. Source: 'unknown' [2009-10-14 09:53:10.799] main <SPKB0002E> Start failed: com.springsource.server.osgi.framework.OsgiFrameworkException: Error installing fragment from 'R:\bin\springsource\dm-server-1.0.2.SR02\repository\bundles\subsystems\com.springsource.server.kernel\com.springsource.server.kernel.dm-1.0.2.SR02.jar' for bundle 'org.springframework.osgi.extender' at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.resolveFragments(EquinoxBundleInstaller.java:179) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:149) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundle(EquinoxBundleInstaller.java:105) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromLocation(AbstractBundleInstaller.java:170) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromDefinition(AbstractBundleInstaller.java:242) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:137) at com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:109) at com.springsource.server.kernel.bootstrap.KernelBootstrap.start(KernelBootstrap.java:73) at com.springsource.server.kernel.bootstrap.Bootstrap.main(Bootstrap.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.bootstrap.harness.BootHarness.main(BootHarness.java:63) Caused by: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle "org.apache.commons.codec" version "1.3.0.v20080530-1600" has already been installed from: file:///R:\repository\org\eclipse\birt\org.apache.commons.codec_1.3.0.v20080530-1600\2.3\org.apache.commons.codec_1.3.0.v20080530-1600-2.3.jar at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:700) at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:939) at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:824) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:905) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:819) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:215) at com.springsource.server.osgi.framework.equinox.BundleContextWrapper.installBundle(BundleContextWrapper.java:199) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:145) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:265) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157) at com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.resolveFragments(EquinoxBundleInstaller.java:177) ... 13 more Also note it complains (a warning) about bundle 'R:\repository\tms\lib\jug\1\jug-1.jar' could not be provisioned as its manifest is malformed. At least this is not an error, and can be ignored, but the JAR manifest.mf looks ok to me...

    SpringSource Issue Tracker | 7 years ago | Scott Hamilton
    com.springsource.server.osgi.framework.OsgiFrameworkException: Error installing fragment from 'R:\bin\springsource\dm-server-1.0.2.SR02\repository\bundles\subsystems\com.springsource.server.kernel\com.springsource.server.kernel.dm-1.0.2.SR02.jar' for bundle 'org.springframework.osgi.extender'
  3. 0

    When trying to replace jar file with a different one, problem is not clearly presented to the user

    GitHub | 3 years ago | tomas-knap
    cz.cuni.mff.xrg.odcs.commons.app.module.ModuleException: Failed to update bundle.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Duplicate bcpkix bundle installation

    GitHub | 2 years ago | schuhschuh
    org.openmole.core.exception.InternalProcessingError: Installing bundle /Users/as12312/Software/OpenMOLE/openmole/bin/openmole/target/assemble/openmole-plugins/bcpkix-jdk15on-1.50.jar
  6. 0

    Re: activemq-jetty-server

    geronimo-dev | 6 years ago | David Jencks
    org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle "org.apache.geronimo.framework.j2ee-system" version "3.0.0.SNAPSHOT" has already been installed from: mvn:org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException

      Bundle "org.apache.commons.codec" version "1.3.0.v20080530-1600" has already been installed from: file:///R:\repository\org\eclipse\birt\org.apache.commons.codec_1.3.0.v20080530-1600\2.3\org.apache.commons.codec_1.3.0.v20080530-1600-2.3.jar

      at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle()
    2. Eclipse OSGi
      Framework$1.run
      1. org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:700)
      2. org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:939)
      3. org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:824)
      3 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Eclipse OSGi
      BundleContextImpl.installBundle
      1. org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:905)
      2. org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:819)
      3. org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:215)
      3 frames
    5. com.springsource.server
      Bootstrap.main
      1. com.springsource.server.osgi.framework.equinox.BundleContextWrapper.installBundle(BundleContextWrapper.java:199)
      2. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:145)
      3. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237)
      4. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157)
      5. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237)
      6. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157)
      7. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:237)
      8. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157)
      9. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.satisfyConstraints(EquinoxBundleInstaller.java:265)
      10. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:157)
      11. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.resolveFragments(EquinoxBundleInstaller.java:177)
      12. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundleInternal(EquinoxBundleInstaller.java:149)
      13. com.springsource.server.osgi.framework.equinox.EquinoxBundleInstaller.doInstallBundle(EquinoxBundleInstaller.java:105)
      14. com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromLocation(AbstractBundleInstaller.java:170)
      15. com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundleFromDefinition(AbstractBundleInstaller.java:242)
      16. com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:137)
      17. com.springsource.server.osgi.framework.support.AbstractBundleInstaller.installBundle(AbstractBundleInstaller.java:109)
      18. com.springsource.server.kernel.bootstrap.KernelBootstrap.start(KernelBootstrap.java:73)
      19. com.springsource.server.kernel.bootstrap.Bootstrap.main(Bootstrap.java:73)
      19 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. com.springsource.server
      BootHarness.main
      1. com.springsource.server.bootstrap.harness.BootHarness.main(BootHarness.java:63)
      1 frame