[Bug 541520] Re: Using incorrect JVM Garbage Collector

Thierry Carrez thierry.carrez at ubuntu.com
Wed Mar 24 08:14:04 GMT 2010


It should not break because authbind is special-cased in the init
script:

Init script sets:
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m"
Then sources the defaults file, which may or may not override JAVA_OPTS
Then if authbind is set, it does:
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"

So -Djava.net.preferIPv4Stack=true will always be added if AUTHBIND=yes.
My change in the defaults file is just to reflect the JAVA_OPTS default value in the init script, as a starting point for someone that wants to override it.

-- 
Using incorrect JVM Garbage Collector
https://bugs.launchpad.net/bugs/541520
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list