Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 Proxy

Okay - I figured out the issue. I had the maxThreads parameter set to 1, which came from some things I saw online. Since the default value is 256, I'm guessing there weren't enough threads to actually process the request, and the request timed out before anything else could be done.

On Tue, Oct 7, 2014 at 9:25 PM, Matt Deimel <mdeimel@xxxxxxxxx> wrote:

I'm trying to create an async proxy using Jetty 9.2.3.v20140905. From what I've ready and looked at before, I believe that I should be able to do this through the web.xml of a maven project, and not require any code.

Here you can see a very simple project that covers what I think should work:

Below I have also included the web.xml file. I'm making use of ProxyServlet$Transparent, and trying to proxy requests from localhost:8080/cnn to (just as a test). When I run this with "mvn jetty:run" and access localhost:8080/cnn, it just tries to load, and eventually fails with a 504 Gateway Timeout error.

I believe this is everything that is required to make an async proxy, but I must be missing something. If anyone could lend a hand I sure would appreciate it.




Back to the top