tomcat6以上版本增加了内存检测的功能,有时避免显示相应的内容,可以采用下面方式就行屏蔽。
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
下面可以进一步屏蔽gc问题
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"
gcDaemonProtection="false"/>