I am trying to add handlers via jboss-cli without success.
I have not problem adding as follows.
[code]
/subsystem=undertow/server=default-server/host=myhost:add(alias=[myalias])
/subsystem=undertow/server=default-server/host=myhost/location=mylocation:add(handler=myhandler)
<handlers>
<file name="myhandler" path="/mypath"/>
</handlers>
[/code]
This option does not come up with I try tab completion and all syntax attempts give an error.
I think you want:
/subsystem=undertow/configuration=handler/file=myhandler:add(path=/mypath)