Startup-mode
From Resin 3.0
(Difference between revisions)
(renamed tag to directive) |
|||
Line 1: | Line 1: | ||
− | [[Category:Configuration]] [[Category: | + | [[Category:Configuration]] [[Category:Directives]] |
− | The <startup-mode> | + | The <startup-mode> directive configures the initial deployment state of a <[[web-app]]> or <[[host]]>. |
* automatic - starts the instance automatically at server startup | * automatic - starts the instance automatically at server startup |
Latest revision as of 20:23, 21 February 2006
The <startup-mode> directive configures the initial deployment state of a <web-app> or <host>.
- automatic - starts the instance automatically at server startup
- lazy - starts the instance on a request
- manual - only starts with a management (JMX) command
The default <startup-mode> is "automatic" which is the correct choice for most applications. For sites with large numbers of web-apps or virtual hosts, the "lazy" startup-mode can save some memory.