Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5957

Simple cache fails to start when statistics is enabled

    XMLWordPrintable

    Details

      Description

      Failure also happens with statistics are disabled, but still available.

      31m13:29:08,909 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 25) MSC000001: Failed to start service jboss.infinispan.hibernate.local-query: org.jboss.msc.service.StartException in service jboss.infinispan.hibernate.local-query: org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry!
      	at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:107)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry!
      	at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:91)
      	at org.infinispan.factories.InternalCacheFactory$1.<init>(InternalCacheFactory.java:89)
      	at org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:89)
      	at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:54)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:621)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:580)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:445)
      	at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:117)
      	at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:112)
      	at org.wildfly.clustering.infinispan.spi.service.CacheBuilder.start(CacheBuilder.java:80)
      	at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:102)
      	... 4 more
      Caused by: org.infinispan.commons.CacheConfigurationException: Cannot auto-instantiate factory class org.infinispan.stats.impl.StatsCollector$Factory as it doesn't implement AutoInstantiableFactory!  Debug stack: null
      	at org.infinispan.factories.AbstractComponentRegistry.instantiateFactory(AbstractComponentRegistry.java:350)
      	at org.infinispan.factories.AbstractComponentRegistry.createComponentFactoryInternal(AbstractComponentRegistry.java:321)
      	at org.infinispan.factories.ComponentRegistry.createComponentFactoryInternal(ComponentRegistry.java:198)
      	at org.infinispan.factories.AbstractComponentRegistry.getFactory(AbstractComponentRegistry.java:304)
      	at org.infinispan.factories.ComponentRegistry.getFactory(ComponentRegistry.java:179)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:270)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:277)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:277)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
      	at org.infinispan.factories.AbstractComponentRegistry.registerNonVolatileComponent(AbstractComponentRegistry.java:164)
      	at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:85)
      	... 14 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rvansa Radim Vansa
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: