Thanks for the reply! I managed to figure out my mistake. It was a simple problem with the url-pattern in my web.xml. So, the POST URLs were being routed properly, but the PATCH URLs were not. 

- Chris

On Thu, Dec 12, 2019 at 5:00 PM Stuart Douglas <sdouglas@redhat.com> wrote:
This is actually coming from the Servlet API, from HttpServlet. How are you actually trying to handle the PATCH method? You must have extended HttpServlet because that is what gives the error message, but it does not have a doPatch method so I am not sure how you are planning on handling the actual request?


On Fri, 13 Dec 2019 at 01:44, Chris Baumgartner <chris.baumgartner@fujifilm.com> wrote:
Hello,

My company is using Wildfly 10.0.0. Sorry, but I'm not sure what version of undertow is in it.

I have a client application that is trying to perform an HTTP PATCH request. The error that is being returned to the client is "Method PATCH is not defined in RFC 2068 and is not supported by the Servlet API". This isn't true, because it is in RFC 2068. 

I can see that HTTP POST methods are reaching my servlet, but PATCH methods are not.

If I run the servlet in another Web server (Jetty), it works just fine.

I've been searching through both Wildfly and Undertow code, and I can't figure out where this error is coming from.

Does undertow support HTTP PATCH requests? I'm assuming it does, and there is some configuration setting that I need, but I'm not sure which one.

Any help is greatly appreciated.

Thanks.

--
Chris Baumgartner
Java Software Developer
FUJIFILM Medical Systems U.S.A., Inc.
TeraMedica Division
10400 Innovation Drive, Suite 200
Milwaukee, WI 53226
Office: (414) 908-7724
www.teramedica.com

Helping provide healthcare experiences that enhance the quality of life.

NOTICE:  This message, including any attachments, is only for the use of the intended recipient(s) and may contain confidential, sensitive and/or privileged information, or information otherwise prohibited from dissemination or disclosure by law or regulation, including applicable export regulations.  If the reader of this message is not the intended recipient, you are hereby notified that any use, disclosure, copying, dissemination or distribution of this message or any of its attachments is strictly prohibited.  If you received this message in error, please contact the sender immediately by reply email and destroy this message, including all attachments, and any copies thereof._______________________________________________
undertow-dev mailing list
undertow-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev


--
Chris Baumgartner
Java Software Developer
FUJIFILM Medical Systems U.S.A., Inc.
TeraMedica Division
10400 Innovation Drive, Suite 200
Milwaukee, WI 53226
Office: (414) 908-7724
www.teramedica.com

Helping provide healthcare experiences that enhance the quality of life.

NOTICE:  This message, including any attachments, is only for the use of the intended recipient(s) and may contain confidential, sensitive and/or privileged information, or information otherwise prohibited from dissemination or disclosure by law or regulation, including applicable export regulations.  If the reader of this message is not the intended recipient, you are hereby notified that any use, disclosure, copying, dissemination or distribution of this message or any of its attachments is strictly prohibited.  If you received this message in error, please contact the sender immediately by reply email and destroy this message, including all attachments, and any copies thereof.