set appManager [$AdminControl queryNames type=ApplicationManager,cell=$cellname,node=$nodename,process=server1,*]
This command gets the name of the application manager Mbean
for the applications running on the server.
set app [$AdminControl queryNames
type=Application,cell=$cellname,node=$nodename,process=server1,J2EEName=ivtApp,*]
This command gets the application detail and assigns it to a
variable.
set appName [$AdminControl getAttribute $app name]
This command gets the application name and assigns it to a
variable.
$AdminControl invoke $appManager stopApplication $appName
This command stops the ivtApp.
This command gets the name of the application manager Mbean
for the applications running on the server.
set app [$AdminControl queryNames
type=Application,cell=$cellname,node=$nodename,process=server1,J2EEName=ivtApp,*]
This command gets the application detail and assigns it to a
variable.
set appName [$AdminControl getAttribute $app name]
This command gets the application name and assigns it to a
variable.
$AdminControl invoke $appManager stopApplication $appName
This command stops the ivtApp.
没有评论:
发表评论