3 Replies Latest reply on Oct 5, 2015 9:43 AM by pankajchhabra

    web client plugin SDk sample code does not work

    benzbenz Novice

      Hi

      I have download vsphere web client SDK and tried to deploy and run sample plugin with my web client. I followed the instruction in README.txt:

       

      In order to deploy and run the examples outside Eclipse follow these steps:

      - stop your vSphere Web Client server

      - copy 1 or more example from /samples/build/plugin-packages" to your server's

         plugin-packages directory

      - restart your vSphere Web Client server

      - check the Virgo server log to verify that all plug-ins were loaded correctly

      - start your browser, login to vSphere Web Client and select the various views

         described in the examples.  

       

      But I don’t see the helloworld icon on my web client. I check the virgo server log file below and it shows the helloworld plugin was loaded.

       

      [2012-05-18 17:56:38.345] [INFO ]  Connection(2)-10.12.144.107  <DE0000I> Installing bundle 'com.vmware.samples.helloworldui' version '1.0.0'.

      [2012-05-18 17:56:38.360] [INFO ]  Connection(2)-10.12.144.107  <DE0001I> Installed bundle 'com.vmware.samples.helloworldui' version '1.0.0'.

      [2012-05-18 17:56:38.376] [INFO ]  Connection(2)-10.12.144.107  <DE0004I> Starting bundle 'com.vmware.samples.helloworldui' version '1.0.0'.

      [2012-05-18 17:56:38.376] [INFO ] start-signalling-2            <WE0000I> Starting web bundle 'com.vmware.samples.helloworldui' version '1.0.0' with context path '/helloworld-ui'.

      [2012-05-18 17:56:38.703] [INFO ] start-signalling-2            <WE0001I> Started web bundle 'com.vmware.samples.helloworldui' version '1.0.0' with context path '/helloworld-ui'.

      [2012-05-18 17:56:38.703] [INFO ] start-signalling-2            <DE0005I> Started bundle 'com.vmware.samples.helloworldui' version '1.0.0'.

      [2012-05-18 17:56:38.984] [INFO ]  Connection(2)-10.12.144.107  <DE0000I> Installing bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0'.

      [2012-05-18 17:56:39.000] [INFO ]  Connection(2)-10.12.144.107  <DE0001I> Installed bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0'.

      [2012-05-18 17:56:39.000] [INFO ]  Connection(2)-10.12.144.107  <DE0004I> Starting bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0'.

      [2012-05-18 17:56:39.000] [INFO ] start-signalling-2            <WE0000I> Starting web bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0' with context path '/helloworld-i18n-ui'.

      [2012-05-18 17:56:39.327] [INFO ] start-signalling-2            <WE0001I> Started web bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0' with context path '/helloworld-i18n-ui'.

      [2012-05-18 17:56:39.327] [INFO ] start-signalling-2            <DE0005I> Started bundle 'com.vmware.samples.helloworld_i18nui' version '1.0.0'.

       

      Anyone have any idea about what is going on? What did I miss?

       

      Thanks

        • 1. Re: web client plugin SDk sample code does not work
          tegsen Lurker

          Hi! Benzbenz,

           

          Could you tell me the URL to download vsphere 5 web client sdk? I can't seem to find it.

           

          Thanks.

          • 2. Re: web client plugin SDk sample code does not work
            mcaptk Novice

            Looks like it has been a year since you had posted this, so I doubt you are looking anymore.  But maybe this will help someone else.  I was running into the same problem.  I *think* I was following the tutorial steps correctly, but could not get the hello world to load.  Here is how I got it working:

             

            In the STS under the servers tab, find your running Virgo Runtime [Started, Synchronized] with helloworld-ui [Synchronized] under it.  I right-clicked on helloworld-ui and removed it (while the Virgo Server was still running).  Then I right clicked on Virgo Runtime and chose the the "Add and Remove..."... in the dialog, I re-added the helloworld-ui that I had just removed.  Then I went back to the STS under Package Explorer tab, right-clicked on helloworld-ui, and did a "Run As => Web Application"  From there it showed up in my web client.  Hope this helps.

            • 3. Re: web client plugin SDk sample code does not work
              pankajchhabra Novice

              For me, even on following the steps mentioned by mcaptk, hello world plugin does not show up in the browser.