WildFly 11 deprecated attributes
mvecera Feb 24, 2018 7:42 AMHello, I am using Kyecloak 3.4.3.Final that is based on WildFly 11. I added a tcpping JGroups stack for clustering according to the available WildFly 10 documentation. First, what is strange is that I cannot find WildFly 11 specific documentation, however, many things seem to be updated.
At the server start I am receiving several warning about deprecated configuration attributes like the following one:
12:29:42,529 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 20) WFLYCTL0028: Attribute 'socket-binding' in the resource at address '/subsystem=jgroups/stack=tcpping/protocol=FD_SOCK' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
This protocol is in the stack I added. So I was about to follow the advice and had a look in jboss-cli:
"socket-binding" => { "type" => STRING, "description" => "The socket binding specification for this protocol layer, used to specify IP interfaces and ports for communication.", "expressions-allowed" => false, "required" => false, "nillable" => true, "min-length" => 1L, "max-length" => 2147483647L, "deprecated" => { "since" => "5.0.0", "reason" => "Deprecated. Supports EAP 7.0 slaves." }, "access-type" => "read-only", "storage" => "configuration" },
When I checked the documentation (for WildFly 10 as I cannot find it for version 11) I can still see that I should use "socket-binding". Also Google does not help. This is like fifth similar issue I am trying to overcome today. What is wrong with the docs?
What is the correct method to use instead of socket binding? Should I use protocol properties and its attributes according to JGroups documentation?
Some more warnings from the server startup:
12:29:42,318 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 12:29:42,392 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 3) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute ad-resource-description operation to learn more about the deprecation.
Many thanks for any advise!