[jboss-jira] [JBoss JIRA] (WFLY-11612) Not possible to configure more than 1 passivation-store per deployment
Paul Ferraro (Jira)
issues at jboss.org
Fri Jan 18 10:51:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-11612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro moved JBEAP-16238 to WFLY-11612:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-11612 (was: JBEAP-16238)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
EJB
(was: Clustering)
(was: EJB)
Affects Version/s: 15.0.1.Final
(was: 7.2.0.GA.CR4)
Fix Version/s: (was: 7.2.1.GA)
> Not possible to configure more than 1 passivation-store per deployment
> ----------------------------------------------------------------------
>
> Key: WFLY-11612
> URL: https://issues.jboss.org/browse/WFLY-11612
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, EJB
> Affects Versions: 15.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Major
>
> In EAP 7.1 and 7.2 per subdeployment, in the EAR, only one passivation store can be used.
> If within one EAR-subdeployment caches "infinispanCache" and "infinispanCache2" per config below are used (referenced via @Cache annotation or <ec:cache-ref> deplyoment desriptor), it results in the error listed below:
> <caches>
> <cache name="simple"/>
> <cache name="infinispanCache" passivation-store-ref="infinispanStore" aliases="passivating"/>
> <cache name="infinispanCache2" passivation-store-ref="infinispanStore2" aliases="longLife"/>
> </caches>
> <passivation-stores>
> <passivation-store name="infinispanStore" cache-container="ejb" bean-cache="passivation" max-size="5"/>
> <passivation-store name="infinispanStore2" cache-container="ejb" bean-cache="passivation" max-size="10"/>
> </passivation-stores>
> using both caches from 1 EAR-subdeployment leads to:
> 2019-01-10 12:14:10,757 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.subunit."frameworktest.ear"."framework_ejb.jar".cache-dependencies-installer: org.jboss.msc.service.StartException in service jboss.deployment.subunit."frameworktest.ear"."framework_ejb.jar".cache-dependencies-installer: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1730)
> [...]
> Caused by: org.jboss.msc.service.DuplicateServiceException: Service org.wildfly.clustering.infinispan.cache-configuration.ejb.frameworktest.ear/framework_ejb.jar is already registered
> at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:111)
> It should be possible to configure more than 1 passivation-store per subdeployment, in particular when different time-outs are configured this way.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list