I am trying to capture vcenter events using the vi java sample. Intermittently waitForUpdatesEx is throwing
java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.NotAuthenticated
com.vmware.vim25.mo.PropertyCollector.waitForUpdatesEx(PropertyCollector.java:125)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:122)
Thread-53 System.err at com.vmware.vim25.ws.VimStub.waitForUpdatesEx(VimStub.java:96)
Thread-53 System.err at com.vmware.vim25.mo.PropertyCollector.waitForUpdatesEx(PropertyCollector.java:125)
Is this anyway related to vsphere webclient session setting? If I restart webclient everything working fine for sometime.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to capture vcenter events using the vi java sample. Intermittently waitForUpdatesEx is throwing
java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.NotAuthenticated
com.vmware.vim25.mo.PropertyCollector.waitForUpdatesEx(PropertyCollector.java:125)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:122)
Thread-53 System.err at com.vmware.vim25.ws.VimStub.waitForUpdatesEx(VimStub.java:96)
Thread-53 System.err at com.vmware.vim25.mo.PropertyCollector.waitForUpdatesEx(PropertyCollector.java:125)
Is this anyway related to vsphere webclient session setting? If I restart webclient everything working fine for sometime.
Hi Ram, could you please share the way in which you are trying to capture the vcenter events?