Dependency checking

From Resin 3.0

Jump to: navigation, search


Resin restarts web-apps and virtual hosts when it detects a change in the <web-app> or <host>. The restart behavior is controlled by the <redeploy-mode> tag which defaults to "automatic".

Checked Resources

Resin checks the following resources to see if the web-app or host should be restarted:

<dependency-check-interval>

The <dependency-check-interval> directive configures how often Resin should check <web-app> or <host> dependencies for restarting. The restarting behavior is controlled by the <redeploy-mode> directive.

<dependency-check-interval> uses Period Configuration values.

During development, a <dependency-check-interval> of "2s" is appropriate. For deployment, a much large value like "1h" or "1d" is appropriate.

Personal tools