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__/' *******************************************************************************

Terracotta | kayjay | 5 years ago
  1. 0

    Ehcache + terracotta + osgi

    terracotta.org | 7 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__/' *******************************************************************************
  2. 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__/' *******************************************************************************
  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

    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'
  6. 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'

    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.RuntimeException

      Execution environment 'J2SE-1.5' is not supported

      at org.knopflerfish.framework.Bundles.install0()
    2. org.knopflerfish.framework
      Framework.installBundle
      1. org.knopflerfish.framework.Bundles.install0(Bundles.java:143)
      2. org.knopflerfish.framework.PermissionOps.callInstall0(PermissionOps.java:249)
      3. org.knopflerfish.framework.Bundles.install(Bundles.java:98)
      4. org.knopflerfish.framework.Framework.installBundle(Framework.java:488)
      4 frames
    3. com.tc.bundles
      KnopflerfishOSGi.installBundles
      1. com.tc.bundles.KnopflerfishOSGi.installBundle(KnopflerfishOSGi.java:205)
      2. com.tc.bundles.KnopflerfishOSGi.installBundles(KnopflerfishOSGi.java:73)
      2 frames
    4. com.tc.plugins
      ModulesLoader.installAndStartBundles
      1. com.tc.plugins.ModulesLoader.installAndStartBundles(ModulesLoader.java:198)
      1 frame
    5. com.tc.object
      DSOContextImpl.createStandaloneContext
      1. com.tc.object.bytecode.hook.impl.DSOContextImpl.addModules(DSOContextImpl.java:406)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.createStandaloneContext(DSOContextImpl.java:174)
      2 frames
    6. org.terracotta.express
      ClientFactory.getOrCreateClient
      1. org.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:190)
      2. org.terracotta.express.ClientImpl.<init>(ClientImpl.java:309)
      3. org.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:194)
      4. org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:187)
      5. org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:174)
      6. org.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:152)
      7. org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:28)
      7 frames
    7. Ehcache
      StandaloneTerracottaClusteredInstanceFactory.<init>
      1. net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
      1 frame
    8. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    9. Ehcache
      EhCacheRegionFactory.start
      1. net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
      2. net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
      3. net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:199)
      4. net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:151)
      5. net.sf.ehcache.CacheManager.init(CacheManager.java:344)
      6. net.sf.ehcache.CacheManager.<init>(CacheManager.java:227)
      7. net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:79)
      7 frames
    10. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221)
      1 frame
    11. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
      1 frame
    12. somecompany.core.hibernate
      HibernateUtil.startSessionFactory
      1. somecompany.core.hibernate.HibernateUtilSessionFactoryWrapper.startSessionFactoryWithSmartValidate(HibernateUtilSessionFactoryWrapper.java:372)
      2. somecompany.core.hibernate.HibernateUtilSessionFactoryWrapper.startSessionFactory(HibernateUtilSessionFactoryWrapper.java:302)
      3. somecompany.core.hibernate.HibernateUtil.startSessionFactory(HibernateUtil.java:141)
      3 frames
    13. somecompany.dbk
      DBKActivator.preAfterBundlesInit
      1. somecompany.dbk.DBKActivator.preAfterBundlesInit(DBKActivator.java:162)
      1 frame
    14. somecompany.fx.internal
      FxOSGILauncher.start
      1. somecompany.fx.internal.FxOSGILauncher$1.dispatchEvent(FxOSGILauncher.java:267)
      2. somecompany.fx.internal.EventDispatcher.dispatchInt(EventDispatcher.java:135)
      3. somecompany.fx.internal.EventDispatcher.dispatch(EventDispatcher.java:87)
      4. somecompany.fx.internal.FxOSGILauncher.dispatchBundlesInitEvent(FxOSGILauncher.java:269)
      5. somecompany.fx.internal.FxOSGILauncher.start(FxOSGILauncher.java:122)
      5 frames
    15. somecompany.fx
      FxOSGiInitializer.<init>
      1. somecompany.fx.FxOSGiInitializer.<init>(FxOSGiInitializer.java:55)
      2. somecompany.fx.FxOSGiInitializer.<init>(FxOSGiInitializer.java:41)
      2 frames
    16. somecompany.fx.servlet
      FxServlet.init
      1. somecompany.fx.servlet.FxServlet.init(FxServlet.java:76)
      1 frame
    17. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
      5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      8. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634)
      9. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561)
      10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496)
      11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
      12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
      13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      15. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      18. org.apache.catalina.core.StandardService.start(StandardService.java:448)
      19. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      20. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      20 frames
    18. 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
    19. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      2 frames