org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar'

Terracotta Project Issue Tracker | Tim Eck | 8 years ago
  1. 0

    1. Download a 3.0 kit 2. Run tim-get.sh install tim-concurrent-collections (which should intall in kit "modules" dir) 3. Build tim-concurrent-collections and install to local maven repo 4. Try to build a boot jar with the attached config (which includes a <repository>) It seems to try to load all tim-concurrent-collections in can find, which in this case will be one too many. Why doesn't it stop when it find the first one? What should the preferred repository and order be? teck@piggy:~/tmp/terracotta-3.0.0-nightly-rev12167/bin$ ./make-boot-jar.sh 2009-03-16 16:47:51,240 INFO - Terracotta 3.0.0-nightly, as of 20090316-150356 (Revision 12167 by cruise@su10mo5 from 3.0) 2009-03-16 16:47:51,904 INFO - Configuration loaded from the file at '/home/teck/tmp/terracotta-3.0.0-nightly-rev12167/bin/tc-config.xml'. 2009-03-16 16:47:52,603 FATAL - BootJarTool: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar' 2009-03-16 16:47:52,603 FATAL - Exception thrown org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar' at com.tc.bundles.AbstractEmbeddedOSGiRuntime.exception(AbstractEmbeddedOSGiRuntime.java:93) at com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:200) at com.tc.bundles.KnopflerfishOSGi.installBundles(KnopflerfishOSGi.java:62) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:169) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:103) at com.tc.object.tools.BootJarTool.loadModules(BootJarTool.java:259) at com.tc.object.tools.BootJarTool.<init>(BootJarTool.java:243) at com.tc.object.tools.BootJarTool.main(BootJarTool.java:2653) Caused by: org.osgi.framework.BundleException: Failed to install bundle: java.lang.IllegalArgumentException: Bundle with same symbolic name and version is already installed (org.terracotta.modules.tim-concurrent-collections, 1.1.0.SNAPSHOT at org.knopflerfish.framework.Bundles.install0(Bundles.java:163) at org.knopflerfish.framework.PermissionOps.callInstall0(PermissionOps.java:249) at org.knopflerfish.framework.Bundles.install(Bundles.java:93) at org.knopflerfish.framework.Framework.installBundle(Framework.java:488) at com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:186) ... 6 more Caused by: java.lang.IllegalArgumentException: Bundle with same symbolic name and version is already installed (org.terracotta.modules.tim-concurrent-collections, 1.1.0.SNAPSHOT at org.knopflerfish.framework.BundleImpl.checkManifestHeaders(BundleImpl.java:1263) at org.knopflerfish.framework.BundleImpl.<init>(BundleImpl.java:245) at org.knopflerfish.framework.Bundles.install0(Bundles.java:143) ... 10 more

    Terracotta Project Issue Tracker | 8 years ago | Tim Eck
    org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar'
  2. 0

    Terracotta Project Issue Tracker

    terracotta.org | 6 months ago
    org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar'
  3. 0

    1. Download a 3.0 kit 2. Run tim-get.sh install tim-concurrent-collections (which should intall in kit "modules" dir) 3. Build tim-concurrent-collections and install to local maven repo 4. Try to build a boot jar with the attached config (which includes a <repository>) It seems to try to load all tim-concurrent-collections in can find, which in this case will be one too many. Why doesn't it stop when it find the first one? What should the preferred repository and order be? teck@piggy:~/tmp/terracotta-3.0.0-nightly-rev12167/bin$ ./make-boot-jar.sh 2009-03-16 16:47:51,240 INFO - Terracotta 3.0.0-nightly, as of 20090316-150356 (Revision 12167 by cruise@su10mo5 from 3.0) 2009-03-16 16:47:51,904 INFO - Configuration loaded from the file at '/home/teck/tmp/terracotta-3.0.0-nightly-rev12167/bin/tc-config.xml'. 2009-03-16 16:47:52,603 FATAL - BootJarTool: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar' 2009-03-16 16:47:52,603 FATAL - Exception thrown org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar' at com.tc.bundles.AbstractEmbeddedOSGiRuntime.exception(AbstractEmbeddedOSGiRuntime.java:93) at com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:200) at com.tc.bundles.KnopflerfishOSGi.installBundles(KnopflerfishOSGi.java:62) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:169) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:103) at com.tc.object.tools.BootJarTool.loadModules(BootJarTool.java:259) at com.tc.object.tools.BootJarTool.<init>(BootJarTool.java:243) at com.tc.object.tools.BootJarTool.main(BootJarTool.java:2653) Caused by: org.osgi.framework.BundleException: Failed to install bundle: java.lang.IllegalArgumentException: Bundle with same symbolic name and version is already installed (org.terracotta.modules.tim-concurrent-collections, 1.1.0.SNAPSHOT at org.knopflerfish.framework.Bundles.install0(Bundles.java:163) at org.knopflerfish.framework.PermissionOps.callInstall0(PermissionOps.java:249) at org.knopflerfish.framework.Bundles.install(Bundles.java:93) at org.knopflerfish.framework.Framework.installBundle(Framework.java:488) at com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:186) ... 6 more Caused by: java.lang.IllegalArgumentException: Bundle with same symbolic name and version is already installed (org.terracotta.modules.tim-concurrent-collections, 1.1.0.SNAPSHOT at org.knopflerfish.framework.BundleImpl.checkManifestHeaders(BundleImpl.java:1263) at org.knopflerfish.framework.BundleImpl.<init>(BundleImpl.java:245) at org.knopflerfish.framework.Bundles.install0(Bundles.java:143) ... 10 more

    Terracotta Project Issue Tracker | 8 years ago | Tim Eck
    org.osgi.framework.BundleException: Unable to open the bundle at: 'file:/home/teck/.m2/repository/org/terracotta/modules/tim-concurrent-collections/1.1.0-SNAPSHOT/tim-concurrent-collections-1.1.0-SNAPSHOT.jar'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ehcache + terracotta + osgi

    terracotta.org | 8 months ago
    somecompany.fx.interfaces.FxException: Configuration problem: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was com.tc.config.schema.setup.ConfigurationSetupException: ******************************************************************************* Unable to open the bundle at: 'tcjar:__TC__bundleresource://6727/META-INF/terracotta/TIMs/tim-ehcache-2.x-ui-1.7.2.jar__TC__/' *******************************************************************************
  6. 0

    Re:Ehcache + terracotta + osgi

    Terracotta | 5 years ago | kayjay
    somecompany.fx.interfaces.FxException: Configuration problem: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was com.tc.config.schema.setup.ConfigurationSetupException: ******************************************************************************* Unable to open the bundle at: 'tcjar:__TC__bundleresource://6727/META-INF/terracotta/TIMs/tim-ehcache-2.x-ui-1.7.2.jar__TC__/' *******************************************************************************

    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. java.lang.IllegalArgumentException

      Bundle with same symbolic name and version is already installed (org.terracotta.modules.tim-concurrent-collections, 1.1.0.SNAPSHOT

      at org.knopflerfish.framework.BundleImpl.checkManifestHeaders()
    2. org.knopflerfish.framework
      Framework.installBundle
      1. org.knopflerfish.framework.BundleImpl.checkManifestHeaders(BundleImpl.java:1263)
      2. org.knopflerfish.framework.BundleImpl.<init>(BundleImpl.java:245)
      3. org.knopflerfish.framework.Bundles.install0(Bundles.java:143)
      4. org.knopflerfish.framework.PermissionOps.callInstall0(PermissionOps.java:249)
      5. org.knopflerfish.framework.Bundles.install(Bundles.java:93)
      6. org.knopflerfish.framework.Framework.installBundle(Framework.java:488)
      6 frames
    3. com.tc.bundles
      KnopflerfishOSGi.installBundles
      1. com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:186)
      2. com.tc.bundles.KnopflerfishOSGi.installBundles(KnopflerfishOSGi.java:62)
      2 frames
    4. com.tc.plugins
      ModulesLoader.initModules
      1. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:169)
      2. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:103)
      2 frames
    5. com.tc.object
      BootJarTool.main
      1. com.tc.object.tools.BootJarTool.loadModules(BootJarTool.java:259)
      2. com.tc.object.tools.BootJarTool.<init>(BootJarTool.java:243)
      3. com.tc.object.tools.BootJarTool.main(BootJarTool.java:2653)
      3 frames