users@jersey.java.net

Re: Jersey HelloWorld sample hangs on Windows

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 28 Mar 2008 14:35:26 +0100

Paul Sandoz wrote:
> Hi David,
>
> Could you try running with the system property:
>
> -Dsun.net.httpserver.debug=true
>
> and send the output in an email? it might give a clue to what is going
> wrong.
>

Another possible cause: do you have a firewall running?

Paul.

> Thanks,
> Paul.
>
> David Bosschaert wrote:
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109