Deploying with Genero Archive / Genero Archive procedures |
When you deactivate (disable) a deployed archive, the applications and services provided by the archive are not exposed (no longer available to users).
To disable a Genero Archive named fuzzy.gar:
gasadmin --disable-archive fuzzy.gar
By default, the results are output in text format. When the console output uses the form of an XML document, it can be easier to parse by other applications than textual output. To output in XML, specify the --xml-output option:
gasadmin --disable-archive fuzzy.gar --xml-outputThe exit status is a 0 (zero) in case of success, 1 in case of error.
<DEPLOYMENT success=”TRUE”> <MESSAGE>Archive <archive-name> successfully undeployed</MESSAGE> </DEPLOYMENT>
<DEPLOYMENT success=”FALSE”> <ERROR>Failed to undeploy <archive-name> archive.</ERROR> <ERROR>... and error messages indicating the reasons of the failure....</ERROR> </DEPLOYMENT>