VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Aug 31, 2009 12:34 PM by weitian  

VMPowerStateAlarm returns null using its sample code in vijava220090625 etc. posted: Aug 22, 2009 8:45 PM

Click to view Michael_Michael's profile Enthusiast 54 posts since
Sep 10, 2008

when debuging as followings

ServiceInstance si = new ServiceInstance(new URL(urlStr), username, password, true);
AlarmManager am = si.getAlarmManager();
Folder rootFolder = si.getRootFolder();
VirtualMachine vm = (VirtualMachine) new InventoryNavigator(rootFolder).searchManagedEntity("VirtualMachine", vmname);

returns null from the statement of "AlarmManager am = si.getAlarmManager();" and cannot keep runing .

is anything needed to configure on esx hosts related to this alarm manager ?


Click to view weitian's profile Enthusiast 32 posts since
Feb 12, 2009
Please post your question directly on the vijava web site: http://vijava.sourceforge.net/

Developer Social Media

Communities