listApplications
Command Category: Deployment Commands
Description
列出所有应用,当前部署在WebLogic domain的
[weblogic@zjtlcb bin]$ cat deploy.py
from java.util import *
from javax.management import *
import javax.management.Attribute
print 'starting the script .... '
connect(adminServerName="AdminServer")
progress= deploy(appName='DevOps', path='/home/weblogic/WARnew/OOCAS.war',createplan='true')
print progress.printStatus()