Monthly Archives: 8 月 2018

windows下根据cer证书ssl文件生成keystore文件

指令如下:

keytool.exe -import -alias "***.store" -file "***.c
er" -keystore ***.store

 

Tomcat 警告:consider increasing the maximum size of the cache

tomcat8布署war包,出现如标题的报错,这是因为tomcat8以上对resource采取了cache,而默认的大小是10M。

解决的办法很简单,就是在context.xml中调大缓存。

代码如下:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

123