Re: [jetty-users] HttpChannel.minimalErrorResponse - fails recursively (IllegalStateException: Committed)

2019-11-04 Thread Joakim Erdfelt
> As for `ErrorPageErrorHandler`, does it make a difference that we're not displaying pages to users? Our use of Jetty is mostly AJAX Web services--the client doesn't really have anything to look at in the response body if the status code is 4xx or 5xx. Even errors can have responses, AJAX

Re: [jetty-users] HttpChannel.minimalErrorResponse - fails recursively (IllegalStateException: Committed)

2019-11-04 Thread Jason Young
Thanks, I will try an update. As for `ErrorPageErrorHandler`, does it make a difference that we're not displaying pages to users? Our use of Jetty is mostly AJAX Web services--the client doesn't really have anything to look at in the response body if the status code is 4xx or 5xx. On Mon, Nov 4,

[jetty-users] HttpChannel.minimalErrorResponse - fails recursively (IllegalStateException: Committed)

2019-11-04 Thread Jason Young
Hi, I don't know how to reproduce this behavior, but I have seen in our logs e.g.: java.lang.OutOfMemoryError: Java heap space > > at > org.eclipse.jetty.server.session.SessionHandler.complete(SessionHandler.java:420) > at >

Re: [jetty-users] Confusion on adding https for Ubuntu distribution's Jetty

2019-11-04 Thread Peter Boughton
Hi Phil, I'm wondering if I should just chuck the Ubuntu Jetty If it doesn't use JETTY_BASE properly, that's what I would do. Especially given the deploy error you mention - which suggests an incorrect configuration, if Jetty can't find its own built-in module. (Alternatively, you could

Re: [jetty-users] Using Jetty transparent http proxy to forward to public website

2019-11-04 Thread Greg Wilkins
Martin, With a transparent proxy as you are using, you need to proxy all the links. The issue is that you are injecting a /myproxy servlet path into the "transparent" proxy, so you are transforming request for http://127.0.0.1:7070/myproxy/ to requests for http://htmlhelp.com/. Plus you are not

[jetty-users] Using Jetty transparent http proxy to forward to public website

2019-11-04 Thread Martin Brentnall
Hi everyone, I'm trying to use Jetty transparent proxy to forward to a public web server, but currently unable to get a simple example working as I would expect. This is my code: --- CODE BEGIN --- package test.myproxy; import org.eclipse.jetty.proxy.ProxyServlet; import