You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marco Brambilla <ma...@cefriel.it> on 2003/01/23 18:07:40 UTC

Tomcat and IPv6

Hello everybody,

I'm a student and I'm working for a university assay in order to make 
tomcat run on IPv6 (between the other things).
I read around that tomcat working with IPv6 should depend on the ability 
of the underlaying VM to be compatible with IPv6 and not on tomcat itself.
I'm using J2SDK1.4.1 on Linux RedHat 7.3, kernel 2.4.19 recompiled with 
IPv6 modules, and tomcat 4.1.18.
When I point Mozilla(1.2.1) to :

    http://[::1]:8080  (Tomcat lisening on port 8080, of course)
    http://[::1]       (Tomcat lisening on port 80, of course)
    http://[my site-local ip6addr]:80 or 8080 (Tomcat lisening on the 
right port, of course)

I always receive the same response: a white page.
Sniffing the traffic with Ethereal on the loopback interface, I 
discovered that Tomcat answers:

   "Error 404 - Bad Request".

If I point Mozilla to my IPv4 address, no metter the port, everything 
works perfectly!
I tried also with Apache and it works perfectly with both IPv4 and IPv6, 
so the IPv6 stack should be working right.
Can anybody please tell me if it's only a configuration mistake or if 
there is a deeper reason for this problem ?
Can actually Tomcat work over IPv6 ?
Since Tomcat working on IPv6 is a necessary condition for me to get my 
degree, any help will be really appreciated.
Thanks in advance

    Marco


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>