-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

On 1/5/2010 4:55 PM, Paul Campbell wrote:
> lsof -i
> COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> java      13931  pwc   33u  IPv6 199611      0t0  TCP *:webcache (LISTEN)
> java      13931  pwc   41u  IPv6 199612      0t0  TCP *:8009 (LISTEN)
> java      13931  pwc   42u  IPv6 199616      0t0  TCP
> localhost.localdomain:mxi (LISTEN)
> 
> I can't find anything in config files that helps me to understand why
> Tomcat might use IPv6.
> 
> There are no other such uses.
> I really would prefer not use ipv6.

Try forcing IPV4 in the JVM by adding:

- -Djava.net.preferIPv4Stack=true

to your startup command. You can do this a number of ways, but the
easiest would be to put the following into your
CATALINA_BASE/bin/setenv.sh script:

CATALINA_OPTS=-Djava.net.preferIPv4Stack=true

If you already have CATALINA_OPTS set, you will have to merge-in the
above configuration appropriately.

If you are using APR, you may have more work to do. Since you didn't say
anything about your configuration, I can't give you any further advice.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktDuUoACgkQ9CaO5/Lv0PBH2ACfa3PWH7C0CSS9BsvKYfCvKHaZ
SrwAnjbRNgjVioDFl4RWd3xEZbXnxAas
=smLb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to