Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
13.0.0.CR1
-
None
Description
Explicit Hot Rod or REST connector configuration for Infinispan Server 13.0 must be contained within "endpoint" elements or server doesn't start and throws:
FATAL (main) [org.infinispan.SERVER] ISPN080028: Infinispan Server failed to start org.infinispan.commons.configuration.io.ConfigurationReaderException
In 12.1 the following endpoint configuration is valid and the server starts:
<endpoints socket-binding="default" security-realm="default"> <hotrod-connector> <authentication> <sasl mechanisms="SCRAM-SHA-512 SCRAM-SHA-384 SCRAM-SHA-256 SCRAM-SHA-1 DIGEST-SHA-512 DIGEST-SHA-384 DIGEST-SHA-256 DIGEST-SHA DIGEST-MD5 PLAIN" server-name="infinispan" qop="auth"/> </authentication> </hotrod-connector> <rest-connector> <authentication mechanisms="DIGEST BASIC"/> </rest-connector> </endpoints>
If you replace the default endpoints configuration in 13.0 with the above config, then the server cannot start. You must modify the configuration as follows:
<endpoints> <endpoint socket-binding="default" security-realm="default"> <hotrod-connector> <authentication> <sasl mechanisms="SCRAM-SHA-512 SCRAM-SHA-384 SCRAM-SHA-256 SCRAM-SHA-1 DIGEST-SHA-512 DIGEST-SHA-384 DIGEST-SHA-256 DIGEST-SHA DIGEST-MD5 PLAIN" server-name="infinispan" qop="auth"/> </authentication> </hotrod-connector> <rest-connector> <authentication mechanisms="DIGEST BASIC"/> </rest-connector> </endpoint> </endpoints>