tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reich, Matthias" <matthias.re...@siemens.com>
Subject RE: NIO connector
Date Fri, 01 Feb 2008 09:49:45 GMT
Hi,

I am doing it this way:

Connector c = new Connector(protocol);
c.setPort(port);
if (secure)
{
   c.setScheme("https");                    
   c.setSecure(true);
}
// now set further attributes as required

- Matthias
 

-----Original Message-----
From: brien colwell [mailto:xcolwell@gmail.com] 
Sent: Friday, February 01, 2008 6:45 AM
To: Tomcat Users List
Subject: Re: NIO connector

hi Filip,

Still no success there ... I think I'm missing something fundamental.
Just in case anyone is interested, I'm running Tomcat 6.0.13, JDK
1.6.0_04, with libnative for the APR connector. I'm going to stick to
APR for now ... I wanted to run a benchmark, but it's not critical.

Best regards,
Brien


On Jan 31, 2008 5:50 PM, Filip Hanik - Dev Lists <devlists@hanik.com>
wrote:
> Connector c =
>
e.createConnector((String)null,8080,"org.apache.coyote.http11.Http11NioP
rotocol");
>
>
> 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
>
>

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