Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Baffled by Jetty-6.1 - server reply is same as server request.

Hi -

I hope I somebody can help me with this.

We have an auth. service registered with Jetty-6.1 running inside an OSGi container. This works fine on 5 out of 6 machines (OS X Lion), but fails on one. All machines are running exactly the same code (…). The behavior is the same in Firefox, Safari, Chrome and Safari on iPad.

When we send a request to the server in the form of http://localhost:9090/AuthenticationService?wsdl we get the wsdl, but when we make the same request with the IP address of the host,, the reply that comes back is pretty much the same as the request with the special characters escaped. The server is obviously listening on that NIC because we get a response back. Not quite the response we expect though.

We have been scratching our head and pulling out our hair for a couple of days now, to the point where there are no hairs left to pull on. Completely baffled.

Can anyone shed some light on this or give us some suggestions on where to start (continue) debugging this issue. The request, the response and the Jetty startup log are included below.

Your help is highly appreciated.

Kind Regards,


The request:
GET /AuthenticationService?wsdl HTTP/1.1
User-Agent: Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive

The response:
GET %2FAuthenticationService%3Fwsdl HTTP%2F1.1
User-Agent%3A Mozilla%2F5.0 (iPad%3B U%3B CPU OS 4_3_5 like Mac OS X%3B en-us) AppleWebKit%2F533.17.9 (KHTML%2C like Gecko) Version%2F5.0.2 Mobile%2F8L1 Safari%2F6533.18.5
Accept%3A application%2Fxml%2Capplication%2Fxhtml%2Bxml%2Ctext%2Fhtml%3Bq%3D0.9%2Ctext%2Fplain%3Bq%3D0.8%2Cimage%2Fpng%2C*%2F*%3Bq%3D0.5
Accept-Language%3A en-us
Accept-Encoding%3A gzip%2C deflate
Connection%3A keep-alive

[org.mortbay.log] : Container Server@8135daf + org.mortbay.jetty.servlet.Context@4ce63606{/,null} as handler
[org.mortbay.log] : Container ServletHandler@1de4eb5b + org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-1428842218 as servlet
[org.mortbay.log] : Container ServletHandler@1de4eb5b + (S=org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-1428842218,[/*]) as servletMapping
[org.mortbay.log] : Container SessionHandler@2017b2b2 + ServletHandler@1de4eb5b as handler
[org.mortbay.log] : Container SessionHandler@2017b2b2 + org.mortbay.jetty.servlet.HashSessionManager@73d4d493 as sessionManager
[org.mortbay.log] : Container org.mortbay.jetty.servlet.Context@4ce63606{/,null} + SessionHandler@2017b2b2 as handler
[org.mortbay.log] : jetty-6.1.x

Back to the top