On Aug 27, 2009, at 3:41 PM, Hontvári József wrote:

> I tried many ways to set dependency-check-interval to 2s in  
> resin.xml without any success. Resin 4.0.1 still checks war file  
> change by 60 s, which is the default value. I attached a diff file  
> about one of the configurations.
>
> ps: The "<web-app-deploy> schema" section in the documentation still  
> lists this attribute as "redeploy-check-interval" which is likely an  
> obsolete name.
> See here: http://caucho.com/resin/reference/webapp-tags.xtp#web-app-deploy
> Also the section refers to "attributes" in the title, but it refers  
> to elements in the scheme. I am not sure, but it seems that this  
> section lists elements not attributes. Maybe some of them can be  
> both attributes and elements.

It's dependency-check-interval in the web-app-deploy.  There is a  
minimum of 5s.

-- Scott

>
> --- C:/resin/conf/resin.xml   Cs aug. 27 23:59:03 2009
> +++ C:/resin/conf/resin.xml.orig      Sze ápr. 29 18:51:48 2009
> @@ -38,7 +38,7 @@
>      - level='info' for production
>      - 'fine' or 'finer' for development and troubleshooting
>     -->
> -  <logger name="com.caucho" level="fine"/>
> +  <logger name="com.caucho" level="info"/>
>
>   <logger name="com.caucho.java" level="config"/>
>   <logger name="com.caucho.loader" level="config"/>
> @@ -96,9 +96,7 @@
>                 rollover-period="1W"/>
>
>       <!-- creates the webapps directory for .war expansion -->
> -      <web-app-deploy path="webapps" dependency-check-interval="2s"/>
> -      <dependency-check-interval>2s</dependency-check-interval>
> -     
> +      <web-app-deploy path="webapps"/>
>     </host-default>
>
>     <!--
> @@ -143,7 +141,7 @@
>       <http address="*" port="8080"/>
>
>       <!-- SSL port configuration: -->
> -      <http address="*" port="8444">
> +      <http address="*" port="8443">
>         <jsse-ssl self-signed-certificate-name="re...@localhost"/>
>       </http>
>
> @@ -169,8 +167,6 @@
>
>     <!-- the default host, matching any host name -->
>     <host id="" root-directory=".">
> -      <dependency-check-interval>2s</dependency-check-interval>
> -
>       <!--
>          - configures an explicit root web-app matching the
>          - webapp's ROOT
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to