Failure: WFLYCTL0212: Duplicate resource
by rinilnath r
Hi,
I am getting the below error message when we run the cli file undertow_enable_log.cli
With below mentioned change in patter for better compliance.
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:\
add(pattern="%a | %h %u %A %p %t | "%r" | "%v" | %s %b %D| "%{i,Referer}" | "%{i,User-Agent}" | "%{c,JSESSIONID}" | remoteLogname:"%l"", use-server-log=false)
And, we run the below commands à
> jboss-cli.bat -c
> run-batch --file="undertow_enable_log.cli"
But, received Error Msg: “Failure: WFLYCTL0212: Duplicate resource”
Questions:
1) Kindly advise, if the pattern has applied correctly?
2) And, how can we run the batch successfully with expected results log?
2 years, 12 months