secretRequired="false"
添加到AJP
连接器的选项是server.xml
。但是,连接器不会以Protocol handler start failed
错误开始。它位于 Apache Server 版本 2.4.25 之后。
<Connector port="8009"
address="127.0.0.1" tomcatAuthentication="false" URIEncoding="UTF-8" enableLookups="false"
protocol="AJP/1.3" redirectPort="8663" connectionTimeout="600000" secretRequired="false" />
错误:
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.
谢谢