豆子种子发芽过程图片:'F:\mypath\test.keystore' did not find a matching property
来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 06:24:23
Tomcat 6,JDK 1.6。
在配置HTTPS时,启动Tomcat服务器后,在Catalina.log中出现
警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'F:\mypath\test.keystore' did not find a matching property.
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="你的.keystore文件" />
将protocol参数由"HTTP/1.1"改成"org.apache.coyote.http11.Http11Protocol",重新启动Tomcat,搞定!
ps:改正后的代码为:
maxThreads="150" scheme="https" secure="true"
keystoreFile="F:\mypath\test.keystore"
keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" />
根据Tomcat官方的文档http://tomcat.apache.org/tomcat-6.0-doc/config/http.html,"HTTP/1.1"和"org.apache.coyote.http11.Http11Protocol"是一样的,但是不知道为什么前者会出错而后者就是对的,而且HTTP部分的Connector用的也是"HTTP/1.1"。
在配置HTTPS时,启动Tomcat服务器后,在Catalina.log中出现
警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'F:\mypath\test.keystore' did not find a matching property.
clientAuth="false" sslProtocol="TLS"
keystoreFile="你的.keystore文件" />
将protocol参数由"HTTP/1.1"改成"org.apache.coyote.http11.Http11Protocol",重新启动Tomcat,搞定!
ps:改正后的代码为:
keystoreFile="F:\mypath\test.keystore"
keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" />
根据Tomcat官方的文档http://tomcat.apache.org/tomcat-6.0-doc/config/http.html,"HTTP/1.1"和"org.apache.coyote.http11.Http11Protocol"是一样的,但是不知道为什么前者会出错而后者就是对的,而且HTTP部分的Connector用的也是"HTTP/1.1"。
'F:\mypath\test.keystore' did not find a matching property
To find a girlfriend
PROPERTY OF A EUROPEAN ROYAL FAMILY
test
test
test
test
test
test
WHO did the right thing: Calling Taiwan a pro...
I am not a liar
Hukou proves to be a hurdle in property buying
For love or property, law sheds a light
每天谚语A faithful friend is hard to find. www
German Sinologist: To find a clue to the CPC ...
Youth?is?not?a?time?of?life
美国空军 F/A-22
Clashes over South China Sea pose a test to n...
Did Walter Mondale's daughter keep a 'tell all' diary about an affair with Bill Clinton?
When a photograph is not just a photograph...
Using SNMP to Find a Port Number from a MAC Addres
A均线变异F
空燃比A/F
Is Libya the end of NATO, or a test of a new ...