The contents of the file looks as below,
dump-request
ha-handler

(ha-handler is a handler which i have introduced)

I also saw the same error when there is a carriage return in the file after i specify dump-request handler.
the contents of the file looked like below(here i have written <CRLF> here just to represents EOL),
dump-request<CRLF>




On Mon, Feb 27, 2017 at 3:01 AM, Stuart Douglas <sdouglas@redhat.com> wrote:
What does the contents of the file look like? This should work.

Stuart

On Sun, Feb 26, 2017 at 12:40 AM, Rohan Emmanuel
<rohan.emmanuel07@gmail.com> wrote:
> I was using the Undertow-handlers.conf file to specify a request dumping
> handler(dump-request). This works fine.
>
> But when i add another handler to this file in the next line, i am getting
> parse error as below. This file cannot take more than one handler? or am i
> doing something wrong?
>
> i was specifying two handlers in this file in two different lines.
>
> [Server:server-one]     Caused by: java.lang.IllegalArgumentException:
> UT000045: Error parsing predicated handler string no handler named
> dump-request
> [Server:server-one]  known handlers are [disallowed-methods,
> allowed-methods, buffer-request, access-log, mark-secure,
> response-rate-limit, canonical-path, response-code, disable-cache,
> ssl-headers, trace, blocking, url-decoding, error-file, redirect, set,
> ip-access-control, request-limit, resource, compress, restart,
> haretry-handler, byte-range, done, rewrite, stuck-thread-detector,
> reverse-proxy
> , jvm-route, learning-push, dump-request, proxy-peer-address, header,
> path-separator, resolve-peer-name]:
> [Server:server-one] dump-request
> [Server:server-one]              ^"}}
> [Server:server-one] 18:49:51,418 INFO  [org.jboss.as.server.deployment] (MSC
> service thread 1-4) WFLYSRV0028: Stopped deployment
> image_servlet_req_dump.war (runtime-name: image_servlet_req_dump.war) in
> 140ms
> [Server:server-one] 18:49:51,418 INFO  [org.jboss.as.controller]
> (ServerService Thread Pool -- 69) WFLYCTL0183: Service status report
> [Server:server-one] WFLYCTL0186:   Services which failed to start:
> service jboss.deployment.unit."image_servlet_req_dump.war".POST_MODULE
> [Server:server-one]
>
> --
> Regards,
> Rohan Emmanuel
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
_______________________________________________
undertow-dev mailing list
undertow-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev



--
Regards,
Rohan Emmanuel