Wolf-Dieter Fink created ISPN-12625:
---------------------------------------
Summary: multiple cache containers are possible but not
recommended/supported
Key: ISPN-12625
URL:
https://issues.redhat.com/browse/ISPN-12625
Project: Infinispan
Issue Type: Bug
Components: Configuration, Core
Affects Versions: 11.0.8.Final, 12.0.0.CR1
Reporter: Wolf-Dieter Fink
It is possible by XSD to create multiple cache-container elements.
As it is not meant to be used the configuration should not allow multiple cache-container
elements!
As effect the instance will start but the API or for server the CLI and Console can not
handle it.
The console will show one cache-container but caches from both.
CLI will display only one cache-container and access to caches or use tab-compl. will fail
with and IllegalState
cache s114:00:44,356 ERROR [AeshCommandRuntime] Runtime exception
when completing: Buffer: cache s1, Cursor:8, Offset:0, IgnoreOffset:false, Append
separator: true, Candidates:[] java.lang.IllegalStateException: Command invoked from the
wrong context
--
This message was sent by Atlassian Jira
(v8.13.1#813001)