Bug#597814: tomcat6: dpkg error reported in postint script

Steve Lane sdlane at lbl.gov
Fri Sep 24 16:56:12 UTC 2010


# debconf-show tomcat6
* tomcat6/javaopts: -Djava.awt.headless=true -Xmx128m -Xmx512m -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+TraceClassLoading -XX:+TraceClassUnloading -XX:HeapDumpPath=\/var\/log\/tomcat6\/java_pid_4.hprof -XX:+HeapDumpOnOutOfMemoryError
* tomcat6/groupname: tomcat6
* tomcat6/username: tomcat6

Here's what /etc/default/tomcat6 looks like:

JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+TraceClassLoading -XX:+TraceClassUnloading -XX:HeapDumpPath=\/var\/log\/tomcat6\/java_pid_4.hprof -XX:+HeapDumpOnOutOfMemoryError"

(This is the only place in /etc/default/tomcat6 where JAVA_OPTS is
uncommented/set, so I'm not sure why the '-Xmx128m' is still being
included..?)

Thanks,

--
Steve Lane
System Administrator, Scientific Computing
Joint BioEnergy Institute
Lawrence Berkeley National Laboratory







More information about the pkg-java-maintainers mailing list