Hi
This Linux script is meant for checking the status of
applications in WAS V7.0 application server/JVM. I want
the equivalent version for AIX. I verified the wsadmn part
of the script on AIX and no issues. Thanks in advance
print "Getting Application Status..."
apps = AdminApp.list().splitlines();
for app in apps:
#print app
appObj=AdminControl.completeObjectName
('type=Application,name='+a
pp+',*')
if appObj != '' :
appStatus = 'running';
else :
appStatus = 'stopped';
print 'Application:'+app+'='+appStatus
As mentioned wsadmin objects are working fine on AIX
(As shown below). Essentially I am looking for AIX syntax.
Thanks
wsadmin>AdminApp.list().splitlines()
['ACSDummyEAR', 'B2BCustomTAMUI', 'DefaultApplication',
'GrpRegEAR', 'HardcopyReplacementEAR', 'HomeEAR',
'MMGEAR', 'MRSHomeEAR', 'PlantsByWebSphere',
'SamplesGallery', 'WCTWSEAR', 'WIDummyEAR',
'ivtApp', 'query']
wsadmin>AdminControl.completeObjectName
('type=Application,*')
WASX7026W: String "type=Application,*"
corresponds to 19 different MBeans; returning first one.
'WebSphere:name=MMGEAR,process=server1,platform=
dynamicproxy,node=UD1981HTA19Node01,J2EEName=
MMGEAR,Server=server1,version=7.0.0.21,type=Application,
mbeanIdentifier=cells/UD1981HTA19Node01Cell/
applications/MMGEAR.ear/deployments/MMGEAR/
deployment.xml#ApplicationDeployment_1170692337680,
cell=
UD1981HTA19Node01Cell,spec=1.0'