![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[z/OS]](../images/ngzos.gif)
Intelligent Management: middleware application administrative tasks
You can use the Jacl or Jython scripting languages to create and manage middleware applications with the wsadmin tool.
- addMiddlewareAppWebModule
- addMiddlewareTarget
- deployWasCEApp
- exportMiddlewareApp
- exportMiddlewareAppScript
- listMiddlewareAppEditions
- listMiddlewareApps
- listMiddlewareAppWebModules
- listMiddlewareTargets
- modifyMiddlewareAppWebModule
- modifyPHPApp
- modifyUnmanagedWebApp
- modifyWasCEApp
- removeMiddlewareAppWebModule
- removeMiddlewareTarget
- showMiddlewareApp
- installWasCEApp
- startWasCEApp
- stopWasCEApp
- undeployWasCEApp
- uninstallMiddlewareApp
- unregisterApp
addMiddlewareAppWebModule
The addMiddlewareAppWebModule command adds a Web module to a middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
- -moduleName
- Specifies the name of a module. (String, required)
- -virtualHost
- Specifies the name of the virtual host, which enables a single host machine to resemble multiple host machines. (String, required)
- -contextRoot
- Specifies the path prefix that is associated with the application. Use this parameter to compose the URL that is needed to access the application files. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. This parameter is required if the specified application has more than one edition. (String, optional)
- -cluster
- Specifies the name of the cluster. This parameter adds a dynamic cluster as a deployment target. (String, optional)
- -node
- Specifies the name of the node. (String, optional)
- -server
- Specifies the name of the server. Issue both the server and node parameters to add a standalone server as a deployment target. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask addMiddlewareAppWebModule {-app myJavaEEApplication -moduleName myModule -contextRoot /MyJ2EEApp -virtualHost default_host -node AppServerNode1 -server tomcatServer1}
- Using Jython string:
AdminTask.addMiddlewareAppWebModule ('[-app myJavaEEApplication -moduleName myModule -contextRoot /MyJ2EEApp -virtualHost default_host -node AppServerNode1 -server tomcatServer1]')
- Using Jython
list:
AdminTask.addMiddlewareAppWebModule (['-app', 'myJavaEEApplication', '-moduleName', 'myModule', '-contextRoot', '/MyJ2EEApp', '-virtualHost', 'default_host', '-node', 'AppServerNode1', '-server', 'tomcatServer1'])
Interactive mode example usage
- Using Jacl:
$AdminTask addMiddlewareAppWebModule {-interactive}
- Using Jython
string:
AdminTask.addMiddlewareAppWebModule ('[-interactive]')
- Using Jython
list:
AdminTask.addMiddlewareAppWebModule (['-interactive'])
addMiddlewareTarget
The addMiddlewareTarget command adds a deployment target to a middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. This parameter is required if the specified application has more than one edition. (String, optional)
- -module
- Specifies the name of the module. Use this parameter to narrow the scope of a command to a single module. (String, optional)
- -cluster
- Specifies the name of the cluster. Use this parameter to add a dynamic cluster as a deployment target. (String, optional)
- -node
- Specifies the name of the node. (String, optional)
- -server
- Specifies the name of the server. Issue both the server and node parameters to add a standalone server as a deployment target. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask addMiddlewareTarget {-app myJavaEEApplication -node AppServerNode1 -server tomcatServer1}
- Using Jython string:
AdminTask.addMiddlewareTarget ('[-app myJavaEEApplication -node AppServerNode1 -server tomcatServer1]')
- Using Jython
list:
AdminTask.addMiddlewareTarget (['-app', 'myJavaEEApplication', '-node', 'AppServerNode1', '-server', 'tomcatServer1'])
Interactive mode example usage
- Using Jacl:
$AdminTask addMiddlewareTarget {-interactive}
- Using Jython string:
AdminTask.addMiddlewareTarget ('[-interactive]')
- Using Jython list:
AdminTask.addMiddlewareTarget (['-interactive'])
deployWASCEApp
The deployWasCEApp command adds a representation of a WebSphere® Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
- -node
- Specifies the name of the node. (String, required)
- -server
- Specifies the name of the server. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask deployWasCEApp {-app newSample -edition 2 -node nodeName -server WasCEServerRep}
- Using Jython string:
AdminTask.deployWasCEApp ('[-app newSample -edition 2 -node nodeName -server WasCEServerRep]')
- Using Jython
list:
AdminTask.deployWasCEApp (['-app', 'newSample', '-edition', '2', '-node', 'nodeName', '-server', 'WasCEServerRep'])
Interactive mode example usage
- Using Jacl:
$AdminTask deployWasCEApp {-interactive}
- Using Jython string:
AdminTask.deployWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.deployWasCEApp (['-interactive'])
exportMiddlewareApp
The exportMiddlewareApp command exports a middleware application to a directory.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
- -dir
- Specifies the directory in which the application is located. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. This parameter is required if the specified application has more than one edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask exportMiddlewareApp {-app sample -dir /home/user1}
- Using Jython string:
AdminTask.exportMiddlewareApp ('[-app sample -dir /home/user1]')
- Using Jython
list:
AdminTask.exportMiddlewareApp (['-app', 'sample', '-dir', '/home/user1'])
Interactive mode example usage
- Using Jacl:
$AdminTask exportMiddlewareApp {-interactive}
- Using Jython string:
AdminTask.exportMiddlewareApp ('[-interactive]')
- Using Jython list:
AdminTask.exportMiddlewareApp (['-interactive'])
exportMiddlewareAppScript
The exportMiddlewareAppScript command exports the scripts of a middleware application to a directory.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
- -dir
- Specifies the name of the directory in which the middleware application script is located. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -type
- Specifies the type of script. The valid types are SETUP and CLEANUP. Specify the type to narrow the scope of the command to a single script. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask exportMiddlewareAppScript {-app sample -dir /home/user1}
- Using Jython string:
AdminTask.exportMiddlewareAppScript ('[-app sample -dir /home/user1]')
- Using Jython
list:
AdminTask.exportMiddlewareAppScript (['-app', 'sample', '-dir', '/home/user1'])
Interactive mode example usage
- Using Jacl:
$AdminTask exportMiddlewareAppScript {-interactive}
- Using Jython
string:
AdminTask.exportMiddlewareAppScript ('[-interactive]')
- Using Jython
list:
AdminTask.exportMiddlewareAppScript (['-interactive'])
listMiddlewareAppEditions
The listMiddlewareAppEditions command lists all the editions of a middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
None.
Return value
The command returns a list of edition names.
Batch mode example usage
- Using Jacl:
$AdminTask listMiddlewareAppEditions {-app sample}
- Using Jython string:
AdminTask.listMiddlewareAppEditions ('[-app sample]')
- Using Jython
list:
AdminTask.listMiddlewareAppEditions (['-app', 'sample'])
Interactive mode example usage
- Using Jacl:
$AdminTask listMiddlewareAppEditions {-interactive}
- Using Jython
string:
AdminTask.listMiddlewareAppEditions ('[-interactive]')
- Using Jython
list:
AdminTask.listMiddlewareAppEditions (['-interactive'])
listMiddlewareApps
The listMiddlewareApps command list all of the middleware applications.
Target object
None.
Required parameters
None.
Optional parameters
None.
Return value
The command returns a list of the middleware applications.
Batch mode example usage
- Using Jacl:
$AdminTask listMiddlewareApps
- Using Jython string:
AdminTask.listMiddlewareApps()
- Using Jython list:
AdminTask.listMiddlewareApps()
Interactive mode example usage
- Using Jacl:
$AdminTask listMiddlewareApps {-interactive}
- Using Jython string:
AdminTask.listMiddlewareApps ('[-interactive]')
- Using Jython list:
AdminTask.listMiddlewareApps (['-interactive'])
listMiddlewareAppWebModules
The listMiddlewareAppWebModules command lists the Web modules of a middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
- -edition
- Specifies the name of the edition. (String, required)
Optional parameters
None.
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask listMiddlewareAppWebModules {-app sample -edition 1}
- Using Jython string:
AdminTask.listMiddlewareAppWebModules ('[-app sample -edition 1]')
- Using Jython
list:
AdminTask.listMiddlewareAppWebModules (['-app', 'sample', '-edition', '1'])
Interactive mode example usage
- Using Jacl:
Using Jython string:$AdminTask listMiddlewareAppWebModules {-interactive}
AdminTask.listMiddlewareAppWebModules ('[-interactive]')
- Using Jython
list:
AdminTask.listMiddlewareAppWebModules (['-interactive'])
listMiddlewareTargets
The listMiddlewareTargets command lists the deployment targets for a middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -module
- Specifies the name of the module. (String, optional)
Return value
The command returns a list of deployment target objects.
Batch mode example usage
- Using Jacl:
$AdminTask listMiddlewareTargets {-app sample}
- Using Jython string:
AdminTask.listMiddlewareTargets ('[-app sample]')
- Using Jython
list:
AdminTask.listMiddlewareTargets (['-app', 'sample'])
Interactive mode example usage
- Using Jacl:
$AdminTask listMiddlewareTargets {-interactive}
- Using Jython
string:
AdminTask.listMiddlewareTargets ('[-interactive]')
- Using Jython list:
AdminTask.listMiddlewareTargets (['-interactive'])
modifyMiddlewareAppWebModule
The modifyMiddlewareAppWebModule command modifies the virtual hosts of an application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -renameEdition
- Specifies the new name of the edition. (String, optional)
- -description
- Specifies how the edition is modified. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask modifyMiddlewareAppWebModule {-app sample -edition 1 -renameEdition 2 -description Update Edition}
- Using Jython string:
AdminTask.modifyMiddlewareAppWebModule ('[-app sample -edition 1 -renameEdition 2 -description Update Edition]')
- Using Jython
list:
AdminTask.modifyMiddlewareAppWebModule (['-app', 'sample', '-edition', '1', '-renameEdition', '2', '-description', 'Update Edition'])
Interactive mode example usage
- Using Jacl:
$AdminTask modifyMiddlewareAppWebModule {-interactive}
- Using Jython
string:
AdminTask.modifyMiddlewareAppWebModule ('[-interactive]')
- Using Jython
list:
AdminTask.modifyMiddlewareAppWebModule (['-interactive'])
modifyPHPApp
The modifyPHPApp command updates a PHP application.
Target object
None.
Required parameters
- -app
- Specifies the name of the PHP application. (String, required)
Optional parameters
- -edition
- Specifies the edition of the PHP application. (String, optional)
- -renameEdition
- Specifies the new name of the edition. (String, optional)
- -description
- Specifies the description of the modified edition. (String, optional)
- -archive
- Specifies the path to the application archive file. (String, optional)
- -setupScript
- Specifies the path to the setup script file. (String, optional)
- -cleanupScript
- Specifies the path to the cleanup script file. (String, optional)
- -contextRoot
- Specifies the path prefix that is associated with the application. (String, optional)
- -virtualHost
- Specifies the name of the virtual host. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask modifyPHPApp {-app myPHPApplication -edition 1 -renameEdition 1.0.0}
- Using Jython string:
AdminTask.modifyPHPApp ('[-app myPHPApplication -edition 1 -renameEdition 1.0.0]')
- Using Jython
list:
AdminTask.modifyPHPApp (['-app', 'myPHPApplication', '-edition', '1', '-renameEdition', '1.0.0'])
Interactive mode example usage
- Using Jacl:
$AdminTask modifyPHPApp {-interactive}
- Using Jython string:
AdminTask.modifyPHPApp ('[-interactive]')
- Using Jython list:
AdminTask.modifyPHPApp (['-interactive'])
modifyUnmanagedWebApp
The modifyUnmanagedWebApp command updates an unmanaged Web application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -renameEdition
- Specifies the new name of the edition. (String, optional)
- -description
- Specifies the description of the modified edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask modifyUnmanagedWebApp {-app sample -edition 1 -renameEdition 2 -description Update Edition}
- Using Jython string:
AdminTask.modifyUnmanagedWebApp ('[-app sample -edition 1 -renameEdition 2 -description Update Edition]')
- Using Jython
list:
AdminTask.modifyUnmanagedWebApp (['-app', 'sample', '-edition', '1', -renameEdition', '2', '-description', 'Update Edition'])
Interactive mode example usage
- Using Jacl:
$AdminTask modifyUnmanagedWebApp {-interactive}
- Using Jython
string:
AdminTask.modifyUnmanagedWebApp ('[-interactive]')
- Using Jython list:
AdminTask.modifyUnmanagedWebApp (['-interactive'])
modifyWasCEApp
The modifyWasCEApp command updates a WebSphere Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -renameEdition
- Specifies the new name of the edition. (String, optional)
- -description
- Specifies the description of the edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask installWasCEAapp {-app sample -edition 1 -renameEdition 2 -description Update Edition}
- Using Jython string:
AdminTask.modifyWasCEApp ('[-app sample-edition 1 -renameEdition 2 -description Update Edition]')
- Using Jython
list:
AdminTask.modifyWasCEApp (['-app', 'sample','-edition', '1', 'renameEdition', '2', '-description', 'Update Edition'])
Interactive mode example usage
- Using Jacl:
$AdminTask modifyWasCEApp {-interactive}
- Using Jython string:
AdminTask.modifyWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.modifyWasCEApp (['-interactive'])
removeMiddlewareAppWebModule
The removeMiddlewareAppWebModule command removes the Web module from the middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -moduleName
- Specifies the name of the Web module. (String, optional)
- -cluster
- Specifies the name of the cluster. (String, optional)
- -node
- Specifies the name of the node. (String, optional)
- -server
- Specifies the name of the server. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask removeMiddlewareAppWebModule {-app sample -edition 1 -moduleName myModule}
- Using Jython string:
AdminTask.removeMiddlewareAppWebModule ('[-app sample -edition 1 -moduleName myModule]')
- Using Jython
list:
AdminTask.removeMiddlewareAppWebModule (['-app', 'sample', '-edition', '1', '-moduleName', 'myModule'])
Interactive mode example usage
- Using
Jacl:
$AdminTask removeMiddlewareAppWebModule {-interactive}
- Using Jython
string:
AdminTask.removeMiddlewareAppWebModule ('[-interactive]')
- Using Jython
list:
AdminTask.removeMiddlewareAppWebModule (['-interactive'])
removeMiddlewareTarget
The removeMiddlewareTarget command removes the deployment targets from the middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -module
- Specifies the name of the Web module. (String, optional)
- -cluster
- Specifies the name of the cluster. (String, optional)
- -node
- Specifies the name of the node. (String, optional)
- -server
- Specifies the name of the server. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask removeMiddlewareTarget {-app sample -cluster cluster1}
- Using Jython string:
AdminTask.removeMiddlewareTarget ('[-app sample -cluster cluster1]')
- Using Jython
list:
AdminTask.removeMiddlewareTarget (['-app', 'sample', '-cluster', 'cluster1'])
Interactive mode example usage
- Using Jacl:
$AdminTask removeMiddlewareTarget {-interactive}
- Using Jython
string:
AdminTask.removeMiddlewareTarget ('[-interactive]')
- Using Jython
list:
AdminTask.removeMiddlewareTarget (['-interactive'])
showMiddlewareApp
The showMiddlewareApp command displays the attributes of the middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using Jacl:
$AdminTask showMiddlewareApp {-app sample}
- Using Jython string:
AdminTask.showMiddlewareApp ('[-app sample]')
- Using Jython list:
AdminTask.showMiddlewareApp (['-app', 'sample'])
Interactive mode example usage
- Using Jacl:
$AdminTask showMiddlewareApp {-interactive}
- Using Jython string:
AdminTask.showMiddlewareApp ('[-interactive]')
- Using Jython list:
AdminTask.showMiddlewareApp (['-interactive'])
installWasCEApp
The installWasCEApp command installs a WebSphere Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
- -archive
- Specifies the location of the archive file. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
- -description
- Specifies the description of the edition.
- -plan
- Specifies the location of the external deployment plan.
- -webModules: [[moduleName1 contextRoot1 virtualHost1][moduleName2 contextRoot2 virtualHost2]...]
- Specifies the Web modules. Each moduleName value must match the name that is contained in the deployment descriptor file.
- -clusterTargets
- Specifies the cluster targets. Apply this parameter to the entire application.
- -serverTargets
- Specifies the server targets. Apply this parameter to the entire application.
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask installWasCEApp {-app sample -archive /tmp/sample.ear -edition 1 -serverTargets {{myserver01 WASCE_2.0.0.2_myserver01_DS_1}} -webModules {{samplemicrowebapp.war /B default_host}}}
- Using Jython string:
AdminTask.installWasCEApp ('[-app sample -archive /tmp/sample.ear -edition 1 -serverTargets [[myserver01 WASCE_2.0.0.2_myserver01_DS_1]] -webModules [[samplemicrowebapp.war /B default_host}}]')
- Using Jython
list:
AdminTask.installWasCEApp (['-app', 'sample', '-archive', '/tmp/sample.ear', '-edition', '1', '-serverTargets', '[[myserver01 WASCE_2.0.0.2_myserver01_DS_1]]', '-webModules', '[[samplemicrowebapp.war /B default_host]]'])
Interactive mode example usage
- Using Jacl:
$AdminTask installWasCEApp {-interactive}
- Using Jython string:
AdminTask.installWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.installWasCEApp (['-interactive'])
startWasCEApp
The startWasCEApp command starts a WebSphere Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using Jacl:
$AdminTask startWasCEApp {-app sample -edition 1}
- Using Jython string:
AdminTask.startWasCEApp ('[-app sample -edition 1]')
- Using Jython
list:
AdminTask.startWasCEApp (['-app', 'sample', '-edition', '1'])
Interactive mode example usage
- Using Jacl:
$AdminTask startWasCEApp {-interactive}
- Using Jython string:
AdminTask.startWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.startWasCEApp (['-interactive'])
stopWasCEApp
The stopWasCEApp command stops a WebSphere Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using Jacl:
$AdminTask stopWasCEApp {-app sample -edition 1}
- Using Jython string:
AdminTask.stopWasCEApp ('[-app sample -edition 1]')
- Using Jython
list:
AdminTask.stopWasCEApp (['-app', 'sample', '-edition', '1'])
Interactive mode example usage
- Using Jacl:
$AdminTask stopWasCEApp {-interactive}
- Using Jython string:
AdminTask.stopWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.stopWasCEApp (['-interactive'])
undeployWasCEApp
The undeployWasCEApp command removes a representation of a WebSphere Application Server Community Edition application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
- -node
- Specifies the name of the node. (String, required)
- -server
- Specifies the name of the server. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask undeployWasCEApp {-app sample -edition 2 -node nodeName -server WasCEServerRep}
- Using Jython string:
AdminTask.undeployWasCEApp ('[-app newSample -edition 2 -node nodeName -server WasCEServerRep]')
- Using Jython
list:
AdminTask.undeployWasCEApp (['-app', 'newSample', '-edition', '2', '-node', 'nodeName', '-server', 'WasCEServerRep'])
Interactive mode example usage
- Using Jacl:
$AdminTask undeployWasCEApp {-interactive}
- Using Jython string:
AdminTask.undeployWasCEApp ('[-interactive]')
- Using Jython list:
AdminTask.undeployWasCEApp (['-interactive'])
uninstallMiddlewareApp
The uninstallMiddlewareApp command uninstalls the middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using
Jacl:
$AdminTask uninstallMiddlewareApp {-app sample -edition 1}
- Using Jython string:
AdminTask.uninstallMiddlewareApp ('[-app sample -edition 1]')
- Using Jython
list:
AdminTask.uninstallMiddlewareApp (['-app', 'sample', '-edition', '1'])
Interactive mode example usage
- Using Jacl:
$AdminTask uninstallMiddlewareApp {-interactive}
- Using Jython
string:
AdminTask.uninstallMiddlewareApp ('[-interactive]')
- Using Jython
list:
AdminTask.uninstallMiddlewareApp (['-interactive'])
unregisterApp
The unregisterApp command removes an unmanaged middleware application.
Target object
None.
Required parameters
- -app
- Specifies the name of the middleware application. (String, required)
Optional parameters
- -edition
- Specifies the name of the edition. (String, optional)
Return value
Batch mode example usage
- Using Jacl:
$AdminTask unregisterApp {-app sample -edition 1}
- Using Jython string:
AdminTask.unregisterApp ('[-app sample -edition 1]')
- Using Jython
list:
AdminTask.unregisterApp (['-app', 'sample', '-edition', '1'])
Interactive mode example usage
- Using Jacl:
$AdminTask unregisterApp {-interactive}
- Using Jython string:
AdminTask.unregisterApp ('[-interactive]')
- Using Jython list:
AdminTask.unregisterApp (['-interactive'])