3 Replies Latest reply on May 22, 2013 11:16 AM by arun2arunraj

    AutoDiscovery() is not discovering Agent Plugin in some circumstances.

    arun2arunraj

      Hi Developers,

       

          I have been facing this problem since I have started developing agent plugins.

       

          I am practising myself as a RHQ Plugin developer. For that I am deploying many plugins in a day.

       

          I always purge my old plugin when I want to deploy a new updated plugin. Server updating the resource types, There is no issue in it. As well as In Agent Plugin we dont see any error. But In the Discovery tab, we cant see our plugin. It is happened many times, I cant figure out the problem. If I have purge the plugin more than 3 time, It is occuring( I am not sure about the number ).

       

       

      Regards,

      ArunRaj

        • 1. Re: AutoDiscovery() is not discovering Agent Plugin in some circumstances.
          arun2arunraj

          Hi Developers,

           

             Is there any maximum number of purging option for Agent plugins. The Plugin is not discovering any resources, after several purges. Please help me solve this problem. Even in Server side the agent is perfectly logged;

           

          Regards,

          ArunRaj

          • 2. Re: AutoDiscovery() is not discovering Agent Plugin in some circumstances.
            jayshaughnessy

            There should not be any limit to purging your plugins.

             

            But it is not necessary to purge a plugin unless you are really trying to get rid of it permanently.  You can hot-deploy new versions of the same plugin by just dropping the new version in <server_home>/plugins.   After the server installs the updated plugin (you can see it happen in the log) then you can update your agent with a restart or a '> plugins update' prompt command.

            • 3. Re: AutoDiscovery() is not discovering Agent Plugin in some circumstances.
              arun2arunraj

              Hi Jay,

               

                  As I am experimenting with RHQ. I am not writing a perfect codes, More over I dont know how to write a code ?. So Most of the time , I am getting error. But No idea which of my code making error, So I am purging my plugin and then deploying it again. So in some times ( For me it is many times ), Plugin deployed in server, But It could not be updated in Agent Side. ... ....

               

                 Help me to become a RHQ Plugin Developer by providing best standalone-pc.bat ( It is not good to experiment, sorry for me only ) or something else.

               

              Regards,

              ArunRaj.