Re: [Resin-interest] How to set checking interval for war redeploy?

2009-08-28 Thread Hontvári József
I changed the following line of the original configuration but it still 
doesn't have any effect:


 

I tried both:
 
   5s
 
and
 

There is no error message in the log, but war and resin.xml changes are 
still noticed only after 60 s.



Scott Ferguson wrote:

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 " 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.origSze ápr. 29 18:51:48 2009
@@ -38,7 +38,7 @@
 - level='info' for production
 - 'fine' or 'finer' for development and troubleshooting
-->
-  
+  

  
  
@@ -96,9 +96,7 @@
rollover-period="1W"/>

  
-  
-  2s
-   
+  



-  
+  

  

@@ -169,8 +167,6 @@



-  2s
-
  

Re: [Resin-interest] How to set checking interval for war redeploy?

2009-08-28 Thread Scott Ferguson

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 " 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
> -->
> -  
> +  
>
>   
>   
> @@ -96,9 +96,7 @@
> rollover-period="1W"/>
>
>   
> -  
> -  2s
> - 
> +  
> 
>
> 
> -  
> +  
> 
>   
>
> @@ -169,8 +167,6 @@
>
> 
> 
> -  2s
> -
>