Deleting Applications
You can delete applications from the Administrator GUI or by using the CLI. If you are using the Administrator GUI, you have a Force Delete option that deletes the application regardless of its state.
GUI
- Procedure
-
Click the Applications button.
-
In the Applications list, click one or more applications.
-
Choose a delete option.
Option Description Procedure Delete Deletes the application if the application is not deployed and no order application depends on it. -
Do one of the following:
-
Click Delete.
-
Delete > Delete.
-
-
If there are target applications, the Application Dependencies to Delete dialog displays.
-
Select the checkboxes next to the target applications to delete.
-
Click Delete.
Force Delete Deletes the application regardless of its state. This option is enabled only if you have the necessary permissions.
For more information, see Setting Enterprise Permissions.
Caution: Exercise extreme caution when using this option as it might leave your system in a non-working state.Select Delete > Force Delete. The selected applications and target applications are deleted.
-
CLI
-
In the data file, specify Environment and Application elements in base format. Drivers required for the application resource instances can be specified inside the <Application> element in the
data.xml
file.<Environment xsi:type="amxdata:Environment" name="envName" > <Application xsi:type="amxdata:Application" name="test.app1" contact="TIBCO Inc."description="Test application with imported resource template which requires a driver feature" importResourceTemplates="true" resourceTemplatesScope="Application"> <Node name="${dev.node.name}" environmentName="${dev.envt.name}"/> <ApplicationTemplate xsi:type="amxdata_reference:ApplicationTemplate_reference" name="AppTemplate"/> <!-- Specify the resource template in the DAA and the required driver feature. --> <Driver resourceTemplateName="OracleResourceTemplate" driverFeatureName="com.tibco.tpcl.gen.oracle.jdbc.feature" driverFeatureVersion="11.2.100.001"/> </Application> </Environment>
-
In the build file, set the action attribute of the AMXAdminTask element to delete and the objectSelector attribute to Environment/Application. To perform a force delete, add the -force option.
<AMXAdminTask action="delete" objectSelector="Environment/Application" [-force] />