【问题标题】:catalina.properties gets overridden on Tomcat restartcatalina.properties 在 Tomcat 重启时被覆盖
【发布时间】:2012-11-02 14:17:05
【问题描述】:

我在 Catalina.properties 中的 common.loader 中添加了一个属性(例如添加了 C:/apps/conf) 当我重新启动 Tomcat 7 时它会被重置。虽然每次重新启动时都不是这样。

想知道为什么有时当服务器被弹跳时它会被覆盖,有什么想法吗?

【问题讨论】:

    标签: tomcat tomcat7 catalina


    【解决方案1】:

    如果您使用的是 Eclipse,请确保在重新启动之前更新工作区中“Servers”项目中的 catalina.properties。这是此文件的主版本,将覆盖您在 tomcat 目录中更改的任何内容。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-01-14
    • 1970-01-01
    • 2013-05-07
    • 2018-03-12
    • 2020-02-02
    • 2017-11-06
    • 1970-01-01
    相关资源
    最近更新 更多