[
https://issues.jboss.org/browse/WFLY-9975?page=com.atlassian.jira.plugin....
]
Alessandro Moscatelli commented on WFLY-9975:
---------------------------------------------
I used "java:jboss/infinispan/container/hibernate" where "hibernate"
is the name of the cache-container:
<cache-container name="hibernate" default-cache="local-query"
module="org.infinispan.hibernate-cache">
somehow this seems to be correct ...
infinispan cache-container[jndi-name] fails validation in WildFly 12
--------------------------------------------------------------------
Key: WFLY-9975
URL:
https://issues.jboss.org/browse/WFLY-9975
Project: WildFly
Issue Type: Bug
Components: Server
Affects Versions: 12.0.0.Final
Environment: ALL
Reporter: Pratik Parikh
Assignee: Jason Greene
Priority: Blocker
Widfly 12 fails to recognize jndi-name attribute and emits exception the following:
OPVDX001: Validation error in standalone.xml -----------------------------------
|
| 336:
| 337:
| 338:
| ^^^^ 'jndi-name' isn't an allowed attribute for the
'cache-container'
| element
|
| Attributes allowed here are:
| aliases jndi-name name
| default-cache module statistics-enabled
|
| 339:
| 340:
| 341:
|
| 'jndi-name' is allowed on elements:
| - server > profile > {urn:jboss:domain:ee:4.0}subsystem > concurrent >
context-services > context-service
| - server > profile > {urn:jboss:domain:ee:4.0}subsystem > concurrent >
managed-thread-factories > managed-thread-factory
| - server > profile > {urn:jboss:domain:ee:4.0}subsystem > concurrent >
managed-executor-services > managed-executor-service
| - server > profile > {urn:jboss:domain:ee:4.0}subsystem > concurrent >
managed-scheduled-executor-services > managed-scheduled-executor-service
| - server > profile > {urn:jboss:domain:infinispan:5.0}subsystem >
cache-container
| - server > profile > {urn:jboss:domain:infinispan:5.0}subsystem >
cache-container > local-cache
| - server > profile > {urn:jboss:domain:infinispan:5.0}subsystem >
cache-container > replicated-cache
| - server > profile > {urn:jboss:domain:infinispan:5.0}subsystem >
cache-container > invalidation-cache
| - server > profile > {urn:jboss:domain:mail:3.0}subsystem > mail-session
| - server > profile > {urn:jboss:domain:transactions:4.0}subsystem >
commit-markable-resources > commit-markable-resource
|
|
| The primary underlying error message was:
| > ParseError at [row,col]:[338,4]
| > Message: WFLYCTL0197: Unexpected attribute 'jndi-name' encountered
|
|-------------------------------------------------------------------------------
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)