Deploying with Genero Archive / Genero Archive procedures |
When you undeploy an archive, the archive is no longer deployed and cannot be reactivated.
To undeploy an archive named fuzzy.gar:
gasadmin --undeploy-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 --undeploy-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>
Command suceeded. Genero archive successfully deployed.
Command failed. ERROR: Failed to undeploy the Genero Archive ERROR: ... and error messages indicating the reasons of the failure...