Web-app-deploy

From CauchoWiki

Jump to: navigation, search


The <web-app-deploy> directive configures the webapps directory, i.e. a location where you can drop .war files and have them expanded to web-apps.

Essentially, it's an automatic directory for <web-app> directives with archive-path attributes.

For example, in the default resin.conf, if you drop a foo.war in server.root/webapps, it will expand to webapps/foo and be browseable at http://www.foo.com/foo.

It's also possible to create a Web Application without a .war files by creating a directory in the webapps without

...
<web-app-deploy path="webapps"/>
...
attributedescriptiondefault
pathThe location for both expansion directories and archivesnone
archive-directoryThe location for archive (.war) filespath
expand-directoryThe directory where archives are expandedpath
expand-prefixPrefix to generate the expanded directory""
expand-suffixSuffix to generate the expanded directory""
url-prefixPrefix for any URL accessnone
expand-cleanup-filesetList of files to delete on redeploydelete entire archive
require-fileadditional files which will force a reloadnone
startup-modestarting mode of deployed web-appsautomatic
redeploy-modemode for checking an redeploying web-appsautomatic
web-app-defaultdefault configuration for all web-appsnone
web-appoverriding configuration for any deployed webappsnone
Personal tools