Disable a deployed archive
When you disable a deployed Genero Archive (gar) file, the applications and services provided by the archive are not exposed (no longer available to users).
As a prerequisite, you have a deployed Genero Archive (.gar) file that has been enabled.
To disable a single application or service, remove its configuration file from the group directory. The original configuration files remain available in the deployed archive directory.
gasadmin
command with the appropriate arguments.
To disable a Genero Archive (gar) file named fuzzy.gar:
gasadmin gar --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 gar --disable-archive fuzzy.gar --xml-output
<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>
You can view a list of all deployed archives (enabled and disabled) with the gasadmin gar --list-archives command. For details, go to List deployed archives.