【问题标题】:Tomcat and updated flex services-config.xmlTomcat 和更新的 flex services-config.xml
【发布时间】:2012-05-14 13:40:12
【问题描述】:

我需要更新列出 Tomcat 中 amf 通道的 flex/services-config.xml,而无需重新启动 Tomcat 或使用管理器。

这可能吗?是否有一些命令可以用来在不重新启动 Tomcat 的情况下重新加载应用程序。

我正在使用 雄猫 6

谢谢

戴夫

【问题讨论】:

    标签: apache-flex tomcat grails


    【解决方案1】:

    services-config.xml 中,您可以设置自动重新部署间隔,以查找配置更改:

    <system>
        <redeploy>
            <enabled>true</enabled>
            <!-- Change to fit your requirements -->
            <watch-interval>20</watch-interval>
            <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>                       
            <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>                                  
            <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> 
            <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
        </redeploy>
    </system>
    

    不过,您必须至少手动重新部署一次才能使其生效

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-07
      相关资源
      最近更新 更多