YES!  I have found this to...
To elaborate a little more, as soon as I install IPV6 on XP SP2 running Tomcat 5.5.17
ALL address's seem to map to LOCALHOST.... and they ALL work.

ie
<Host name="localhost"   ..... will display ANY IP coming in a request...

BUT if you actually put in

<Host name="Host Name" ..... that will stop working
<Host name="IPV6" ..... that IP will stop working
<Host name="10.0.0.4" ..... that IP will stop working

BUT if you take them out.... they all work through LOCALHOST.... even from a browser on another machine.

If you look at wot actually comes into the servlet

http localhost   -> 0.0.0.0
http HOSTNAME   -> 0.0.0.0
http GLOBAL IPv6  -> 0.0.0.0
http 127.0.0.1  ->  127.0.0.1 (that works)
http 10.0.0.4 -> 10.0.0.4 (that works..... but it shouldnt only localhost is setup)

So... something aint right... but I'm not sure if this is something to do with XP SP2 or a genuine bug.

Anyway Saverio.... as you said localhost is working on anything... so just take the other mappings out... and hopefully you dont need to access the IP in the program.

Perhaps this all starts working correctly when one maps to domain names.... havnt had a chance to test that, but I dont think it will work.
Maybe a guru can check this out.....
Or.... even if someone could describe the behaviour of IPv6 on linux... that would tell us if its a MS funny.

Saverio I saw you in the Apache group.... yes good idea to try use Apache as a IPv6 frontend and map to IP4 on JK... but they dont seem to be too into Apache IPv6 on Win32... no builds out there. :( When I get around to it I'll try build Apache for Win32 IPv6... have to load up Visual Studio... not looking forward to it ;)


----- Original Message ----- From: "SAVERIO FERRARO" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Friday, April 27, 2007 5:52 PM
Subject: IPv6 address in hostname


Hi all,
I have some problem with tomcat 5.5.17 and IPV6.
It works correctly when I try to access at Manager page with http://[::1]:8080 and with http://[full ipv6 address]:8080.

But when I put the ipv6 address to access my application, like this:

<Host name="[2001:db8:290c:1291::1]" appBase="webapps"
      unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">

Tomcat doesn't work!

With IPv4 address it worked but now doesn't run!
I can't put inside the hostname because I haven't i DNS.


May You help me?
Thanks.

Saverio FERRARO

_________________________________________________________________
Calcio, Quiz, Sudoku, Scacchi. Inizia la sfida su Messenger, GRATIS! http://www.messenger.it/giochi_e_attivita.html


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to