会挽雕弓如满月,西北望,射天狼。|

园龄:粉丝:关注:

tomcat 8.0 升级 9.0,启动报错Protocol handler start failed

  1. 关键日志如下:
    Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.

  2. 检索文档
    在 apache-tomcat-9.0.93/webapps/docs/changelog.html 文档中看到 "secretRequired that defaults to true."
    说明在之前版本,默认值为false

  3. 修改 server.xml 配置
    <Connector port="8071" protocol="AJP/1.3" redirectPort="8448" secretRequired="false" />

  4. 重启服务
    验证成功。

本文作者:武平宁

本文链接:https://www.cnblogs.com/dewan/p/18381377

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   武平宁  阅读(47)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起