Start an application using wsadmin

 

Using Jacl

### Identify the application manager MBean for the server where the app
### resides and assign it the appMgr variable.

 set appMgr [$AdminControl queryNames cell=cell,node=node,type=ApplicationManager,process=server,*]

### Start the application.
$AdminControl invoke $appMgr startApplication AppName

 

Using Jython


### Identify the application manager MBean for the server where the app
### resides and assign it the appMgr variable.

appMgr = AdminControl.queryNames('cell=cell,node=node,type=ApplicationManager,process=server,*')
print appMgr

### Start the application.
AdminControl.invoke(appMgr, 'startApplication', 'AppName')