The following example uses the AdminConfig object to disable application loading in deployed targets:
Using Jacl:
set deployments [$AdminConfig getid /Deployment:myApp/]Example output:
myApp(cells/mycell/applications/myApp.ear/deployments/myApp:deployment.xml#Deployment_1)
Using Jacl:
set deploymentObject [$AdminConfig showAttribute $deployments deployedObject] set targetMappings [lindex [$AdminConfig showAttribute $deploymentObject targetMappings] 0]
Example output:
(cells/mycell/applications/ivtApp.ear/deployments/ivtApp:deployment.xml#DeploymentTargetMapping_1)
Using Jacl:
foreach tm $targetMappings { $AdminConfig modify $tm {{enable false}} }
Using Jacl:
$AdminConfig save