digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

在server.xml中配置SSL时,发现了每次发布项目都导致server.xml被还原了:

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" 
			   keystoreFile="D:\localhost.keystore" keystorePass="xxxxx"/>

 每次修改的配置,都被还原了。

解决办法:

1)

2)

去掉 自动发布 即可。

posted on 2015-06-04 10:51  digdeep  阅读(400)  评论(0编辑  收藏  举报
不懂数据库和Web安全的架构师不是一个好的程序员。