Hello
I was able to successfully register my plugin package (with version 1.0) as an extension on the vcenter server.
I used the vsphere web client to connect to my vcenter server. As expected it downloaded and extracted the abc.zip to the vsphere-client-serenity folder. The version number 1.0 was correctly appended to the folder name.
Next I updated my extension on the vcenter server with a new version 2.0.
Again I used the vsphere web client to connect to my vcenter server. As expected it downloaded the latest and extracted the abc.zip to the vsphere-client-serenity folder. A new folder with the version number 2.0 was correctly created and the previous folder with version 1.0 was undeployed and removed as expected.
However when I login to the vsphere webclient after the above I get the following exception and my extension is not visible on the UI.
On logging out and logging back in, I am able to get past this problem.
Failed to download package abc.zip from https://<ip-addr>:<port>/abc.zip java.util.concurrent.TimeoutException: null
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at com.vmware.vise.vim.extension.VcExtensionManager.addPackages(VcExtensionManager.java:317)
at com.vmware.vise.vim.extension.VcExtensionManager.sessionStarted(VcExtensionManager.java:139)
at com.vmware.vise.security.DefaultAuthenticationProvider$1.call(DefaultAuthenticationProvider.java:399)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Any thoughts on what could be wrong?
Thanks
Elizabeth