tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Janner <Jeffrey.Jan...@PolyDyne.com>
Subject RE: HTTP NIO connector not supporting IPv6
Date Tue, 11 Sep 2012 14:00:12 GMT
> -----Original Message-----
> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Sent: Tuesday, September 11, 2012 8:57 AM
> To: 'Tomcat Users List'
> Subject: RE: HTTP NIO connector not supporting IPv6
> 
> Aditi -
> 
> All connectors support both IPv4 and IPv6, including BIO, NIO, and
> native/APR. However, how you configure the connector will affect which
> protocol is supported.
> 
> As far as I've been able to tell from empirical testing (see previous
> threads), if you leave off the address parameter, the java-based
> connectors (BIO & NIO) will set up listeners on both of the "any"
> addresses, i.e. 0.0.0.0:port for IPv4 and [::]:port for IPv6. Unless
> it's been fixed in a recent release, the APR will only set up to listen
> on the IPv6 address.  You have to specifically give it the IPv4 "any"
> if you want IPv4 support. Since I only support IPv4 right now, I
> haven't re-tested the current version of APR. (pltr)
> 
> So, as Daniel says, please resend your message with copies of the
> actual <connector> tags, minus any passwords and excess comments.  If
> you are seeing any errors in your catalina.log file, those would be
> helpful as well.
> 
> Jeff
> 
 
p.s. sorry for the top-post, it's early.
p.p.s.  The above is testing done under Windows servers.

Also, you really should upgrade to the latest sun JDK (jdk1.6.0_35).  There are issues with
some of the lower versions, but I don't think any that affect the connector mechanism.


> > -----Original Message-----
> > From: Aditi Sinha [mailto:adisinha0423@gmail.com]
> > Sent: Tuesday, September 11, 2012 7:21 AM
> > To: Tomcat Users List
> > Subject: HTTP NIO connector not supporting IPv6
> >
> > Hi,
> >
> >
> >
> > We have a web server hosted on Apache Tomcat Version 7.0.22.
> >
> > Machine details: Windows 2008 server machine, 32-bit OS
> >
> > Java version:  jdk1.6.0_25
> >
> >
> >
> > Two HTTP connectors are defined in server.xml.
> >
> > 1.       For non-SSL requests:  Connector with  protocol="HTTP/1.1"
> >     (HTTP
> > BIO connector)
> >
> > 2.       For SSL requests:  Connector with
> > protocol="org.apache.coyote.http11.Http11NioProtocol"       (HTTP NIO
> > connector)
> >
> >
> >
> > With the above configuration server is not accessible through the
> IPv6
> > address.   The "netstat -an" command also does not list the connector
> > ports(defined in server.xml).
> >
> >
> >
> > *On modifying these two connectors to use the BIO implementation,
> > protocol="org.apache.coyote.http11.Http11Protocol"
> > the server supports IPv6.  *
> >
> >
> >
> > Any idea why HTTP NIO connector would not support IPv6?
> >
> >
> >
> > Thanks & Regards,
> >
> > Aditi
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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