When my Felix (OSGi) starts it launches Felix Web Console bundle. This bundle uses Jetty which uses the felix property org.osgi.service.http.port
to determine which HTTP port number to use.
One of my bundles on OSGi, developed by myself requires Grizzly to deal with WebSockets and so forth, therefore, one of the bundles that is also launched by OSGi is Grizzly OSGi HTTP Server bundle. Which attaches a web server to the HTTP port defined in org.osgi.service.http.port
.
This causes a collision of HTTP ports. The dilema, I need both Felix Web Console and Grizzly. For what I'm concerned, Grizzly can run on a different por. But it seems to be lacking means to achieve this task.
Has anyone had this problem before? This issue from 2009 reflects this problem and it seems that Grizzly team fixed it, since I'm using the last release version 2.3.18, I can't see why I'm facing this problem.