users@grizzly.java.net

Unified ports with Grizzly Servlet container/Glassfish?

From: Gregory Gerard <ggerard_at_mac.com>
Date: Thu, 10 Dec 2009 19:22:49 -0800

Hi,

Will try the user list first since this is a getting started question and might be one of configuration.

Using Tomcat right now to host several webapps with one webapp doing it's own NIO listener for a custom protocol.

I would like to unify these with Grizzly.

I would like to have just 8080/8081 (or other port pair for clear and TLS, but that's the only difference).

1. Can someone point me to a backgrounder on port unification in general -- I'm seeing stuff from years ago rather than more recent stuff. https://glassfish.dev.java.net/issues/show_bug.cgi?id=4322 seems to have reduced this from the "One Port To Rule Them All" teaser.

2. If I just want to do HTTP and a non-HTTP protocol with just Servlet container support (Tomcat replacement), what would I need to do?

3. Would #2 be portable to GlassFish v3 with all the clustering, load balancing, and other -ings that GF can do.

4. I've seen a Jetty+Grizzly out there -- is this the preferred melding or should I use just Grizzly?

I've looked at the Grizzly site and I don't see anything that matches.

thanks,
greg