WLST query (List deployed applications and hosts together)
问题 I have two WLST queries. I execute it through WebLogic Scripting Tool console. These queries are: 1) List of deployed applications and status: connect('weblogic','password','t3://localhost:7001') cd('AppDeployments') deplymentsList=cmo.getAppDeployments() for app in deplymentsList: domainConfig() cd ('/AppDeployments/'+app.getName()+'/Targets') mytargets = ls(returnMap='true') domainRuntime() cd('AppRuntimeStateRuntime') cd('AppRuntimeStateRuntime') for targetinst in mytargets: curstate4=cmo