users@jersey.java.net

[Jersey] Re: jersey-samples-1.8 server not reachable

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Thu, 01 Sep 2011 17:26:15 +0200

Hello Nicolas,

that is kind of strange.. does that apply for all samples?

I can see you are trying to run helloworld sample.. have you seen
README.html file? It mentions that you should run

mvn compile exec:java

and check

http://localhost:9998/helloworld..

Have you done any modification(s)?

Pavel

On 8/26/11 12:03 PM, Nicolas Bregenzer wrote:
> hi all,
>
> i'm getting a strange error in simply compiling the jersey samples.
>
> compile is largely successful except some warnings
> [WARNING] Some problems were encountered while building the effective
> model for com.sun.jersey.samples:helloworld:jar:1.8
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 116,
> column 21
>
> but complies successful and server is startet.
>
> Starting grizzly...
> Aug 25, 2011 11:49:06 PM
> org.glassfish.grizzly.http.server.NetworkListener start
> INFO: Started listener bound to [localhost:8181]
> Aug 25, 2011 11:49:06 PM org.glassfish.grizzly.http.server.HttpServer
> start
> INFO: [HttpServer] Started.
> Jersey app started with WADL available at
> http://localhost:8181/application.wadl
> Try out http://localhost:8181/helloworld
> Hit enter to stop it...
>
>
> however, server can't be reached, even not over telnet.
>
> other ports don't work either, even 80 where permission denied is
> outputted if i don't sudo
>
> really strange,
>
> best regards
> nicolas