Archive-path
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
+ | [[Category:Configuration]] | ||
+ | |||
The <archive-path> tag assigns a [[.war]] file for a <[[web-app]]> or a .jar file for a <[[host]]>. | The <archive-path> tag assigns a [[.war]] file for a <[[web-app]]> or a .jar file for a <[[host]]>. | ||
Revision as of 02:26, 9 November 2005
The <archive-path> tag assigns a .war file for a <web-app> or a .jar file for a <host>.
If the web-app is deployed using <web-app-deploy>, the .war file will be assigned automatically.
example
In the following example, the "/foo" web-app uses /var/www/foo as its expanded <document-directory> and uses /var/www-deploy/foo.war as its source archive. Resin will expand any new version of foo.war into /var/www/foo.
<resin xmlns="http://caucho.com/ns/resin"> ... <host id=""> <web-app id="/foo" document-directory="/var/www/foo" archive-path="/var/www-deploy/foo.war"> </web-app> </host> ... </resin>