users@jersey.java.net

Jersey HelloWorld sample hangs on Windows

From: David Bosschaert <david.bosschaert_at_gmail.com>
Date: Thu, 27 Mar 2008 11:27:36 +0000

Hi,

 I'm a newbie to Jersey and came across a really weird problem. I run
 the HelloWorld sample using:

> ant run
 ..
     [java] Visit: http://localhost:9998/helloworld
     [java] Hit return to stop...

 Now when I try to hit the http://localhost:9998/helloworld with a
 browser (tried FireFox, IE and wget) it just hangs.
 (I'm using Jersey 0.6.1-ea and tried both JDK 1.5 and 1.6)

 When I try the exact same on Linux it works fine.

 Does anyone know what the problem is? I need to get this working on Windows.

 Thanks!

 David