tomcat
zhangzuyuanbest
这个作者很懒,什么都没留下…
展开
-
tomcat启动变慢 通过手动选择算法来修缮让它启动速度变快
使用腾讯云的CentOS 7.2 CVM 服务器跑Tomcat时发现,Tomcat启动的特别慢,通过查看日志,发现时间主要花在实例化SecureRandom对象上了。 由该日志可以看出,实例化该对象使用了460秒,导致整个应用启动了480秒之久。 根本原因是SecureRandom 这个jre的工具类的问题. 具体内容:JDK-6521844 : SecureRandom转载 2017-08-11 16:26:56 · 388 阅读 · 0 评论 -
关于在tomcat中一个80端口跑多个项目的配置
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyr原创 2017-09-07 09:53:20 · 1352 阅读 · 0 评论 -
tomcat调优
在bin/catalina.sh的头部 加入 JAVA_OPTS='-Xms256m -Xmx512m -XX:PermSize=128m'原创 2017-10-10 21:10:26 · 278 阅读 · 0 评论