1 2 3 Previous Next 39 Replies Latest reply on Jan 29, 2013 4:15 PM by qc4vmware

    Error with AD plugin

    radio Novice

      Hi all,

       

      I'm getting the error "Unable to execute 'fetchRelation' for type : ActiveDirectory : java.lang.NullPointerExeption

       

      Played around with different configurations for the plugin without success. Any ideas?

       

      vco.jpg

        • 1. Re: Error with AD plugin
          tschoergez Master
          VMware EmployeesUser ModeratorsvExpert

          Hi!

          Have you set the proper AD-Settings in the plugin-configuration in the webbased Orchestrator configuration tool?

          (you may copy it from the LDAP-settings, but you have configure it at least once)

           

          In other plugins, you get comparable errors when something is going wrong with the config or the external system (here: The AD-Server) is not reachable from vCO and/or the configured credentials.

           

          Regards,

          Joerg

          • 2. Re: Error with AD plugin
            radio Novice

            The plugin configuration looks ok for me. I copied it from the LDAP config and it has a green status. I also played around with some settings like shared session and the port (ldap / global catalog). Unfortunately it does not change anything. The user also has also full browsing rights. I double checked this with our AD expert here, so I'm pretty sure that the settings are ok.

            • 3. Re: Error with AD plugin
              tschoergez Master
              VMware EmployeesvExpertUser Moderators

              hm, ok.

              Than I have two ideas:

              1. Can you just try it with an user which has Domain Administrative rights?

              2. check in $vco-install-dir/app-server/server/vmo/log the server.log file, if there are some "better" error messages.

               

              Unfortunately, in the plugin-documentation there is not a lot of information about the requirements and troubleshooting :-(

               

              Regards,

              Joerg

              • 4. Re: Error with AD plugin
                tschoergez Master
                User ModeratorsvExpertVMware Employees

                next idea:

                just try to start one workflow (e.g. the "Create an OU") to see if it works, maybe we also get some more terse LDAP-error messages then.

                Cheers,

                joerg

                1 person found this helpful
                • 5. Re: Error with AD plugin
                  radio Novice

                  Interesting...running that workflow works! It seems that just browsing in the inventory has a problem.

                  We have a lot of objects in our AD, could that be the cause?

                   

                  Frank

                  • 6. Re: Error with AD plugin
                    tschoergez Master
                    vExpertVMware EmployeesUser Moderators

                    Hi,

                    depending on your AD-structure: I can imagine that the user does not have proper rights allover the complete structure. And so the inventory-view brakes when it reaches a point of no access....

                    Also: I don't think the plugin supports trusted domains and forests, if you have some.

                     

                    For the scalability: can you give a "house number", how many objects you have?

                    • 7. Re: Error with AD plugin
                      ppanicherski Novice
                      VMware Employees

                      Could you please provide the server log file. I want to investigate this to see if it is a bug or an issue with permissions/rights or a configuration issue

                      • 8. Re: Error with AD plugin
                        cdecanini_ Virtuoso
                        VMware Employees

                        The plug-in is supposed to support forest. This is one of the improvements over the previous Microsoft plug-in.

                        You should definitely open a support request to VMware Global Support Services to have this troubleshooted & fixed.

                         

                        Christophe.

                        • 9. Re: Error with AD plugin
                          tschoergez Master
                          vExpertUser ModeratorsVMware Employees

                          good to know, thanks for clarification :-)

                          • 10. Re: Error with AD plugin
                            radio Novice

                            Thank You all for your great responses...

                             

                            I've attached the log file (just exchanged the original username with a placeholder). If I should open an official call, please let me know...

                             

                            For the AD structure, I guess we have at least 200.000 objects, forests, trusts, everything... there are certainly bigger environments, but it has some complexity

                            But hopefully that's not the cause anyway.

                             

                            Frank

                            • 11. Re: Error with AD plugin
                              ppanicherski Novice
                              VMware Employees

                              Hi again,

                               

                              Thanks for the log file.

                               

                              I investigated the stack trace and compared it with the source code of the AD plugin. It looks like the  MSPluginFactory of the AD plugin is working with a "DIFFERENT ?!?" version of Container class (I see in stacktrace that methods that do not exist in current version of AD plugin's Container class are called)

                               

                              Is it possible that You have forgot to uninstall the Microsoft plugin?

                               

                              Please make sure that you have completely removed the old Microsoft plugin + delete the microsoft DAR file from the plugins folder, and then please restart the VCO.

                               

                              I'll continue digging into this and I'll keep you posted.

                              • 12. Re: Error with AD plugin
                                radio Novice

                                Hi!

                                Wait, uninstall the Microsoft plugin? Did I miss something?

                                 

                                I've got the following plugins in the plugin directory:

                                 

                                o11nplugin-ad.dar
                                o11nplugin-enums.dar
                                o11nplugin-jakartacommonsnet.dar
                                o11nplugin-jdbc.dar
                                o11nplugin-library.dar
                                o11nplugin-mail.dar
                                o11nplugin-ssh.dar
                                o11nplugin-vmware-update-manager.dar
                                o11nplugin-vsphere41.dar
                                o11nplugin-weboperator.dar
                                o11nplugin-xml.dar
                                • 13. Re: Error with AD plugin
                                  ppanicherski Novice
                                  VMware Employees

                                  In your case it is obvious you do not have Microsoft plugin...so you are not missing anything.

                                  I'll let you know if I find something that migh help.

                                  • 14. Re: Error with AD plugin
                                    ChrisMueller Novice

                                    Is there allready a sollution found for this issue.

                                    Currently I have the same problem on a fresh installed vCO. In weboperator browsing is possible. In the GUI inventory I got a error.

                                     

                                    In the log there are not really hints. But in my log I nearly see the same errors as ratio. I noticed the following entry:

                                     

                                    Plugin config file 'o11nplugin-ad.dar' : SAX parsing exception 'cvc-complex-type.3.2.2: Attribute 'invoker-mode' is not allowed to appear in element 'action'.'

                                    1 2 3 Previous Next