[JBoss JIRA] (ISPN-4153) Server can't start a cache with custom cache store
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4153?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4153:
-----------------------------------------------
Martin Gencur <mgencur(a)redhat.com> changed the Status of [bug 1080419|https://bugzilla.redhat.com/show_bug.cgi?id=1080419] from ON_QA to ASSIGNED
> Server can't start a cache with custom cache store
> --------------------------------------------------
>
> Key: ISPN-4153
> URL: https://issues.jboss.org/browse/ISPN-4153
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Jakub Markos
> Assignee: William Burns
> Fix For: 7.0.0.Alpha3, 7.0.0.Final
>
>
> This test https://github.com/infinispan/infinispan/blob/master/server/integration/t... fails with current snapshot on server startup:
> {code}
> 12:57:25,277 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.infinispan.local.default.config: org.jboss.msc.service.StartException in service jboss.infinispan.local.default.config: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) [rt.jar:1.7.0]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626) [rt.jar:1.7.0]
> at java.lang.Thread.run(Thread.java:780) [vm.jar:1.7.0]
> Caused by: org.infinispan.commons.CacheConfigurationException: Missing BuiltBy annotation for configuration bean org.infinispan.configuration.cache.AbstractStoreConfiguration
> at org.infinispan.commons.configuration.ConfigurationUtils.builderFor(ConfigurationUtils.java:20)
> at org.infinispan.configuration.cache.PersistenceConfigurationBuilder.read(PersistenceConfigurationBuilder.java:124)
> at org.infinispan.configuration.cache.ConfigurationBuilder.read(ConfigurationBuilder.java:218)
> at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:356) at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:322) at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.defineConfiguration(DefaultEmbeddedCacheManager.java:62)
> at org.jboss.as.clustering.infinispan.subsystem.AbstractCacheConfigurationService.start(AbstractCacheConfigurationService.java:81)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> ... 3 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (ISPN-4169) After generic loader child setup -- server fails start (AdvancedCacheLoader needed)
by Tomas Sykora (JIRA)
[ https://issues.jboss.org/browse/ISPN-4169?page=com.atlassian.jira.plugin.... ]
Tomas Sykora commented on ISPN-4169:
------------------------------------
Will, this is maybe another use case we used. Don't know which issue exactly you have met.
This is generic loader configured with preload=true (through RHQ of course) and then, to apply changes, server restart is showing attached errors during the start as used class (org.infinispan.persistence.cluster.ClusterLoader) needs to implement org.infinispan.persistence.spi.AdvancedCacheLoader.
Maybe I miss-used class loader class? Any thoughts?
> After generic loader child setup -- server fails start (AdvancedCacheLoader needed)
> -----------------------------------------------------------------------------------
>
> Key: ISPN-4169
> URL: https://issues.jboss.org/browse/ISPN-4169
> Project: Infinispan
> Issue Type: Bug
> Reporter: Tomas Sykora
> Assignee: William Burns
> Attachments: 621CR2genericLoaderCannotPreload
>
>
> From JON point of view we are able to set up generic loader cache child resource.
> However, the server itself experience obstacles to start successfully.
> See the attached log please with the full stack traces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (ISPN-4103) Generic loader cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4103?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4103:
-----------------------------------------------
Tomas Sykora <tsykora(a)redhat.com> changed the Status of [bug 1076042|https://bugzilla.redhat.com/show_bug.cgi?id=1076042] from ON_QA to VERIFIED
> Generic loader cache child creation fails
> -----------------------------------------
>
> Key: ISPN-4103
> URL: https://issues.jboss.org/browse/ISPN-4103
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: William Burns
> Fix For: 7.0.0.Alpha2, 7.0.0.Final
>
>
> Creation of cache child -- cluster loader is ok.
> However, when trying to create the same using generic loader child resource, it fails with following message [1].
> Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
> Operation call from RHQ point of view looks to be clear and OK.
> [1]:
> 09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
> Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
> ... 17 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (ISPN-4104) Generic store cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4104?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4104:
-----------------------------------------------
Tomas Sykora <tsykora(a)redhat.com> changed the Status of [bug 1076047|https://bugzilla.redhat.com/show_bug.cgi?id=1076047] from ON_QA to VERIFIED
> Generic store cache child creation fails
> ----------------------------------------
>
> Key: ISPN-4104
> URL: https://issues.jboss.org/browse/ISPN-4104
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: William Burns
> Fix For: 7.0.0.Alpha2, 7.0.0.Final
>
>
> This issue is similar to: https://issues.jboss.org/browse/ISPN-4103
> I can see this error during server restart:
> 10:38:01,682 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014613: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]) - failure description: "JBAS010292: org.infinispan.persistence.file.SingleFileStore is not a valid cache store"
> After issuing of operation this configuration fragment is added into standalone.xml configuration file: <store name="genericStore" class="org.infinispan.persistence.file.SingleFileStore" preload="true" passivation="false" purge="false"/>
> Child creation using not generic, but pure File Cache Store option works OK. Store is configured and using this class: org.infinispan.persistence.file.SingleFileStore, however, when trying to do the same using generic store creation, it fails.
> See error in linked JIRA (for loader) as I suspect there is the same cause for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years