users@jersey.java.net

Re: [Jersey] Connection refused

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 19 Oct 2009 22:06:05 +0200

On Oct 19, 2009, at 5:08 PM, Wim Van Leuven wrote:

> Hello,
>
> I just started to test my jersey ReST services using the Jersey test
> framework. Very neat stuff!
>
> However, I tried using the embedded glassfish container and with the
> grizzly web container, for which my tests all fail with connection
> refused.
>

Can you supply some sample code and details of your client?

Have you played with a simple sample say the following:

http://download.java.net/maven/2/com/sun/jersey/samples/helloworld/1.1.2-ea/helloworld-1.1.2-ea-project.zip
http://download.java.net/maven/2/com/sun/jersey/samples/helloworld-webapp/1.1.2-ea/helloworld-webapp-1.1.2-ea-project.zip


> Does anybody have any clues into what is going wrong here?

Hard to say without more info :-)

Paul.


> --
> Kind regards,
>
> Wim Van Leuven
>
> Netbeans 6.7
> Maven 2.2.1
> Jersey {$jersey.version}
>