Startup-mode

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(renamed tag to directive)
 
Line 1: Line 1:
[[Category:Configuration]] [[Category:Tags]]
+
[[Category:Configuration]] [[Category:Directives]]
  
The <startup-mode> tag configures the initial deployment state of a <[[web-app]]> or <[[host]]>.   
+
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.

See Also

Personal tools