[undertow-dev] Undertow-handlers.conf parse error

Rohan Emmanuel rohan.emmanuel07 at gmail.com
Mon Feb 27 05:47:00 EST 2017


yes, looks similar.I see that the fix is in 1.3.19.Final.
I am using comparatively older version undertow 1.3.15.Final which comes in
Wildfly 10.0.0.Final.
Thanks

On Mon, Feb 27, 2017 at 3:49 PM, Stuart Douglas <sdouglas at redhat.com> wrote:

> Is it possible you are running into
> https://issues.jboss.org/browse/UNDERTOW-656 ?
>
> On Mon, Feb 27, 2017 at 3:59 PM, Rohan Emmanuel
> <rohan.emmanuel07 at gmail.com> wrote:
> > 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 at 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 at 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 at lists.jboss.org
> >> > https://lists.jboss.org/mailman/listinfo/undertow-dev
> >> _______________________________________________
> >> undertow-dev mailing list
> >> undertow-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/undertow-dev
> >
> >
> >
> >
> > --
> > Regards,
> > Rohan Emmanuel
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
>



-- 
Regards,
Rohan Emmanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20170227/74ebd0fd/attachment.html 


More information about the undertow-dev mailing list