现象:
每次项目启动日志到这句就停止不动了(JUL to SLF4J bridge is not available on the classpath),虽然后面会启动起来
解决办法:在tomcat安装目录中的catalina.sh中加一句配置即可解决该问题
JAVA_OPTS="$JAVA_OPTS -Xms2048m -Xmx2048m -Xmn1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:CMSFullGCsBeforeCompaction=1 -XX:+UseCMSCompactAtFullCollection -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled
#tomcat启动时间过长配置参数
-Djava.security.egd=file:/dev/./urandom
#debug模式配置参数
-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999"