[
https://issues.jboss.org/browse/AS7-3386?page=com.atlassian.jira.plugin.s...
]
Brent Douglas commented on AS7-3386:
------------------------------------
I can confirm Roman's problem. Here is my config:
<cache-container name="hibernate" default-cache="local-query"
jndi-name="java:jboss/infinispan/hibernate" start="EAGER">
And the stack trace:
09:56:09,038 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread
Pool -- 35) JBAS014612: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "hibernate")
]): java.lang.IllegalArgumentException: No enum const class
org.jboss.as.clustering.infinispan.subsystem.StartMode.false
at java.lang.Enum.valueOf(Enum.java:196) [:1.6.0_30]
at org.jboss.as.clustering.infinispan.subsystem.StartMode.valueOf(StartMode.java:30)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheContainerAdd.performRuntime(CacheContainerAdd.java:130)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$5.execute(CacheConfigOperationHandlers.java:279)
[jboss-as-clustering-infinispan-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_30]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
Infinispan subsystem need support for eagerly starting cache
containers
-----------------------------------------------------------------------
Key: AS7-3386
URL:
https://issues.jboss.org/browse/AS7-3386
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Affects Versions: 7.1.0.CR1b
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
Fix For: 7.1.0.Final
Add the following configuration attribute:
<cache-container name="..." start="EAGER|LAZY"/>
If LAZY, cache container will not start unless it is demanded by some other service.
If EAGER, the cache container will start eagerly, bind to jndi, and all cache
configurations will be defined.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira