You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Iván Sánchez <iv...@ee.oulu.fi> on 2007/02/12 15:37:30 UTC

Using Grizzly with Tomcat

Hei,

I am trying to develop a server which uses Comet. According to 
http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http 
connector. I have surf through Internet, and I have found Grizzly 
(https://glassfish.dev.java.net/javaee5/webtier/webtierhome.html) that 
is an HTTP connector which uses NIO. Can I use Grizzly with Tomcat? In 
that case, could you give me some help with the steps I have to follow?

Thank you very much.
Iván


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Using Grizzly with Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Iván Sánchez [mailto:ivan@ee.oulu.fi] 
> Subject: Using Grizzly with Tomcat
> 
> I am trying to develop a server which uses Comet. According to 
> http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http 
> connector.

What's wrong with Tomcat's NIO connector?  Just specify:
    org.apache.coyote.http11.Http11NioProtocol
as the protocol value.  See the description of the protocol attribute here:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Using Grizzly with Tomcat

Posted by Rémy Maucherat <re...@gmail.com>.
On 2/12/07, Iván Sánchez <iv...@ee.oulu.fi> wrote:
> Hei,
>
> I am trying to develop a server which uses Comet. According to
> http://tomcat.apache.org/tomcat-6.0-doc/aio.html I need a nio http
> connector.

I think you need to read the Tomcat documentation again then. This is
not what is written on the page (quote from the text in bold at the
top: "IMPORTANT NOTE: Usage of these features requires using the APR
or NIO HTTP connectors."). The HTTP and AJP connector page in the docs
includes a list of the available connectors.

Rémy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org