dev@grizzly.java.net

Testing OSGi HttpService

From: Hubert Iwaniuk <neotyk_at_kungfoo.pl>
Date: Wed, 4 Feb 2009 20:49:31 +0100

Hi,

If you would like to see Grizzly based OSGi HttpService in action here is
something for you.

Go to *contribs/grizzly-httpservice/src/it/first-it/* and run *mvn clean
install pax:provision*
Now you are having Felix running and Grizzly OSGi Service deployed listening
on port *8080* with test Servlet registered under** alias */1*.
http://localhost:8080/1 should tell you *Grizzly*.

If first step failed not been able to download some of grizzly modules, make
sure to run *mvn install* on *trunk*.
If you want to change port that Grizzly is bound to, change *
org.osgi.service.http.port* in *properties* in *pom.xml*.
Wonder where Servlet that was registered under */1* is, look at *
Activator.java*.

Hope you find this useful and thanks for listening,
   Hubert.