摘要: 1.位置: (1)/opt/tomcat7/conf下的server.xml文件中<Connector>节点的配置优化,记得先备份。 (2)出厂默认(在server.xml文件中的74行左右,用我们的配置替换现在的配置即可) 2.优化: (1)标准版: <Connector port="8080" 阅读全文
posted @ 2018-05-23 22:17 无天666 阅读(2619) 评论(0) 推荐(0)
摘要: 最近部署的tomcat,里面放了一个apk提供给测试人员测试,而有一天压测的时候,他们一致反馈下载不了,结果查看日志才发现如下错误: [html] view plain copy INFO: Maximum number of threads (200) created for connector with address null and port 8091 才惊醒这个tomcat根本... 阅读全文
posted @ 2018-05-23 21:52 无天666 阅读(3311) 评论(0) 推荐(0)
摘要: 元素名 属性 解释 server port 指定一个端口,这个端口负责监听关闭tomcat 的请求 shutdown 指定向端口发送的命令字符串 service name 指定service 的名字 Connector ( 表示客户端和service之间的连接) port 指定服务器端要创建的端口号 阅读全文
posted @ 2018-05-23 21:30 无天666 阅读(275) 评论(0) 推荐(0)