Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Warning from ProxyServlet

Before this could be considered a bug, you should run your server in debug mode while writing all log messages into a file, and isolate the portion of the log that corresponds to the point where this problem occurs. After you do that if the log information would not contain a clue to a possible mis-configuration, you should open a bug report for it.

-Michael

On Thu, Oct 28, 2010 at 7:16 AM, Mark Payne <mark.payne@xxxxxxxxxxx> wrote:
I have a ProxyServlet.Transparent set up within a Jetty server to forward URLs ending "/sparql" to another web server that hosts a knowledge base.

context.addServlet(new ServletHolder(new ProxyServlet.Transparent(
              "/sparql", repositoryServerHost, repositoryServerPort)), "/sparql/*");

Normally the proxying works fine, but intermittently I send a request and it causes:

1. Jetty to log a warning - WARN [org.eclipse.jetty.servlets.ProxyServlet$Transparent-30476892-30] (Slf4jLog.java:40) - Unexpected data received but no request sent

2. My HTTP client to hang waiting for a response

3. My underlying server to log that it has received and processed a request.

Looking through the source xref  I found that the warning message comes from handle() in org.eclipse.jetty.client.HttpConnection, and gets logged if it is discovered that a response contains data while _exchange is null.

Any suggestions why this might be happening? It seems that somewhere the reference to _exchange is not getting set properly, because clearly a request _is_ being sent. Unfortunately I can't see a clear link between the type of request that I send and the appearance of the warning. Let me know if this would be better directed to the dev mailing list or a bug report.

Thanks,

Mark Payne
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top