tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: NIO connector
Date Fri, 01 Feb 2008 01:50:41 GMT
Connector c = 
e.createConnector((String)null,8080,"org.apache.coyote.http11.Http11NioProtocol");

Filip

brien colwell wrote:
> hi Filip,
>
> Thanks for the tip. Any thoughts on why createConnector would give null?
>
> embedded.createConnector( (InetAddress) null, port,
> 				"org.apache.coyote.http11.Http11NioProtocol" );
>
> Brien
>
>
>
> On Jan 31, 2008 7:15 AM, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
>   
>> use
>>
>> public Connector createConnector(String address, int port,String protocol)
>>
>> set org.apache.coyote.http11.Http11NioProtocol as the protocol value
>>
>> should work
>> Filip
>>
>>
>> brien colwell wrote:
>>     
>>> hi all --
>>>
>>> I'm trying to hook the NIO connector to an engine, but I'm lost in how
>>> to do this. I'm using Tomcat "embedded", so I have an Engine instance,
>>> from which I have a Session object. Can anyone take me from there?
>>>
>>> Thanks!
>>>
>>>       
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>>
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>     
>
> ---------------------------------------------------------------------
> 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
>
>
>
>   


---------------------------------------------------------------------
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


Mime
View raw message