2 Replies Latest reply on Apr 18, 2013 3:47 AM by AndreiAstra

    Problem with legacy plugin in Web Client

    AndreiAstra Novice

      I tried to see my legacy plugin 'aastra_test_name' in vSphere Web Client.


      I added to 'webclient.properties':


      I can see that the directory was created:
      C:\ProgramData\VMware\vSphere Web Client\script-plugin-packages\com.vmware.vim.viClientScripts\aastra_test_name-6.5
      but the file 'plugin-package.xml' is empty there.
      I'm getting in the log 'vsphere_client_virgo.log':
      com.vmware.vise.extensionfw.ExtensionManager  Error retrieving deployment data for the plugin package at C:\ProgramData\VMware\vSphere Web Client\script-plugin-packages\com.vmware.vim.viClientScripts\aastra_test_name-6.5 java.io.IOException: org.xml.sax.SAXParseException: Premature end of file.
      com.vmware.vise.vim.commons.i18n.CatalogManager  Loading catalog '/catalog/extensions/aastra_test_name/locale/en/extension.vmsg' from 'C:\ProgramData\VMware\vSphere Web Client\catalog\\VirtualCenter\5.1.0\en\aastra_test_name\extension_47134c84b0df762d8f9ac18942dd66ef.vmsg'
      As far as I can see, there is no other information in the log related to the package. I attached the log. I also attached my script configuration.


      What could be wrong? How should I proceed here?

        • 1. Re: Problem with legacy plugin in Web Client
          AndreiAstra Novice

          I changed my plugin to use HTTPS. Now, the error from the log went away.


          But stil the directory is empty:


          C:\ProgramData\VMware\vSphere Web Client\script-plugin-packages\com.vmware.vim.viClientScripts


          My plugin configuration is



          <scriptConfiguration version="4.0">
          <vendor>Dell Corp.</vendor>
          <extension parent="HomeView.Inventory">
          <title locale="en">aastra_test_plugin</title>
          <extension parent="InventoryView.Datacenter">
          <title locale="en">aastra_test_plugin</title>


          I cannot see the plugin



          • 2. Re: Problem with legacy plugin in Web Client
            laurentsd Master
            VMware Employees

            Your virgo log shows an error when parsing the <key>.  It cannot be empty, use the extension key that was used to register this plugin.