You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aditi Sinha <ad...@gmail.com> on 2012/09/10 09:19:44 UTC
Re: How to support IPv6 on Apache Tomcat Version 7.0.22
Hi Chris,
Apologies for coming back on this one after a long gap.
Wanted to know if the HTTP NIO connectors do not support IPv6?
In our server.xml we had below two connectors defined. This configuration
did not support Ipv6 For both ssl and non-ssl requests.
1. For non-SSL requests: HTTP Connector with protocol="HTTP/1.1"
*(HTTP BIO connector)*
2. For SSL requests: HTTP Connector with protocol="
org.apache.coyote.http11.Http11NioProtocol" *(HTTP NIO connector)*
On modifying these two connectors to use the BIO implementation, *protocol*
*=**“org.apache.coyote.http11.Http11Protocol”* the server supports IPv6.
Is there any other configuration required so that HTTP NIO connector would
support IPv6?
Thanks & Regards,
Aditi
On Tue, Jul 10, 2012 at 10:11 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Aditi,
>
> On 7/9/12 5:37 AM, Aditi Sinha wrote:
> > I could get the comparison of the three connectors here
> >
> http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Connector_Comparison
> >
> > With the BIO connector specified, the server is not responding to
> > the https request. Is it because SSL Handshake is Blocking for BIO
> > connector?
>
> Everything is blocking for the BIO connection -- that's what the "B"
> stands for.
>
> > We need to support SSL. Is there a way to have below configuration
> > support IPv6?
>
> I can't see a reason why you can't use SSL over any of the connectors.
> What happens when you try to connect? Note that AJP never supports
> HTTPS (at least not directly -- the web proxy must terminate the SSL
> connection, but can forward the details like cipher, client
> certificate, etc. to Tomcat and your webapp).
>
> > HTTP Connector: NIO protocol
>
> <Connector protocol="org.apache.coyote.ajp.Http11NioProtocol"
> ....
> />
>
> > AJP Connector: APR protocol/NIO protocol.
>
> <Connector protocol="org.apache.coyote.ajp.AjpNioProtocol"
> ....
> />
>
> That should be all that is necessary.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/8W0IACgkQ9CaO5/Lv0PA0RwCfe8hWScXATo/pPjBCcsGCwWi5
> jYgAoKRjazQPQkEe0T1vwlvulMc/kgk5
> =k0tm
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: How to support IPv6 on Apache Tomcat Version 7.0.22
Posted by Aditi Sinha <ad...@gmail.com>.
Chris,
Thanks for the info. I would start another email thread.
Regards,
Aditi
On Mon, Sep 10, 2012 at 7:11 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Aditi,
>
> On 9/10/12 3:19 AM, Aditi Sinha wrote:
> > Wanted to know if the HTTP NIO connectors do not support IPv6?
>
> AFAIK, all Tomcat connectors support IPv6 if your JVM and OS support
> IPv6 (and tcnative/apr support IPv6 if you are using APR). If you are
> having a specific problem, please start another thread and give as
> much configuration and error message/behavior detail as possible.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iEYEARECAAYFAlBN7hkACgkQ9CaO5/Lv0PAMeACcCAdvrdWGjEkvPpXFyoUqhKUT
> YYEAoL5pbfvhCoRyd3rFMPW4sxfAlOzN
> =ebYS
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: How to support IPv6 on Apache Tomcat Version 7.0.22
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aditi,
On 9/10/12 3:19 AM, Aditi Sinha wrote:
> Wanted to know if the HTTP NIO connectors do not support IPv6?
AFAIK, all Tomcat connectors support IPv6 if your JVM and OS support
IPv6 (and tcnative/apr support IPv6 if you are using APR). If you are
having a specific problem, please start another thread and give as
much configuration and error message/behavior detail as possible.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBN7hkACgkQ9CaO5/Lv0PAMeACcCAdvrdWGjEkvPpXFyoUqhKUT
YYEAoL5pbfvhCoRyd3rFMPW4sxfAlOzN
=ebYS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org