[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416
- From: Joakim Erdfelt <joakim@xxxxxxxxxxx>
- Date: Tue, 29 May 2012 07:05:36 -0700
- Delivered-to: email@example.com
I cannot replicate this problem.
(in other words: no build and/or test failures reported in maven)
What I did.
Note: left clone on master
$ cd jgit
$ mvn clean install
This worked on:
* Ubuntu Oneiric (11.10) x64
with JDK 1.6.0_30-b12 (oracle, non-openjdk)
* Windows 7 (64 bit)
with JDK 1.7.0_02-b13 (oracle)
Both builds with maven 3.0.3
Question, why jetty 8.x?
None of the serviets appear to use servlet-3.0 specific features.
If you are not using servlet 3.0 then there is no reason to be using Jetty 8.x, stick with Jetty 7.x.
Note: Jetty 7.x and 8.x are developed in parallel, both experience releases at the same time.
I'm digging into your AppServer class right now to see if anything else jumps out.
(the people behind jetty and cometd)
On Tue, May 29, 2012 at 6:11 AM, Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx>
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to
Jetty 8.1.3.v20120416 coming with Juno . These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git
commands over HTTP in order to test jgit's HTTP transport protocol
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.
Dani captured a thread dump of the latter case  . The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.
The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Cache-Control: no-cache, max-age=0, must-revalidate
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson  but this isn't
jetty-dev mailing list