Hi, working with wildfly 10.1 SNAPSHOT, with latest update as of Mar/23
The issue is, add an error-page filter, named error3, remove it, add
with the same name, it throws an exception of duplicated name, see
below.
The remove operation, requires a reload, but does it should prevent
the adding of a item with the same name ? I thought the reload
operation is necessary only to apply the settings at boot time.
[standalone@localhost:9990 /]
/subsystem=undertow/configuration=filter/error-page=error3:add(code=402,path="caminho2.html")
{"outcome" => "success"}
[standalone@localhost:9990 /]
/subsystem=undertow/configuration=filter/error-page=error3:remove
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@localhost:9990 /]
/subsystem=undertow/configuration=filter/error-page=error3:add(code=402,path="caminho2.html")
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
org.jboss.msc.service.DuplicateServiceException: Service
jboss.undertow.filter.error3 is already registered",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}
--
Claudio Miranda
claudio(a)claudius.com.br
http://www.claudius.com.br