6 Replies Latest reply on Oct 14, 2015 7:34 AM by Bill Robinson

    Unable to load the XML

      Hi all,


      I've a Bladelogc 7.4.5 system, since some days, when I try to run patch analysis jobs, come out this error:



      [03 May 2011 17:47:49,241] [Job-WorkItem-Thread-39] [INFO] [BLAdmin:BLAdmins:] [PatchAnalysis] Started running the job 'My Patch Analysis Job' on application server '<OP Manager Hostname>'(2,000,000)


      [03 May 2011 17:47:49,986] [Job-WorkItem-Thread-10] [INFO] [BLAdmin:BLAdmins:] [PatchAnalysis] Making request for http://xml.shavlik.com/data/hfnetchk6b.cab


      [03 May 2011 17:47:50,387] [Job-WorkItem-Thread-10] [INFO] [BLAdmin:BLAdmins:] [PatchAnalysis] Time stamp on the server matches with local copy of http://xml.shavlik.com/data/hfnetchk6b.cab. Skipping download.


      [03 May 2011 17:47:51,071] [Job-WorkItem-Thread-10] [INFO] [BLAdmin:BLAdmins:] [PatchAnalysis] Executing command: BLPatchCheck2 0 -pt 13  -s "C:/Program Files/BladeLogic/RSC/tmp/hfnetchk6b38899/hfnetchk6b.cab" "C:/Program Files/BladeLogic/RSC/tmp/shavlik_results38900.xml"


      [03 May 2011 17:48:01,391] [AppServer-Monitor-Thread] [INFO] [::] [Appserver] Total JVM (B): 93192192,Free JVM (B): 13330616,Used JVM (B): 79861576,VSize (B): 887062528,RSS (B): 191574016


      [03 May 2011 17:48:21,548] [Job-WorkItem-Thread-10] [ERROR] [BLAdmin:BLAdmins:] [PatchAnalysis] Error executing Analyzer: ExitCode = 1 on the host "<Target Hostname>": Error: 80004005 Unable to load the XML at 'C:/Program Files/BladeLogic/RSC/tmp/hfnetchk6b38899/hfnetchk6b.cab'.


      [03 May 2011 17:48:21,656] [Job-WorkItem-Thread-38] [INFO] [BLAdmin:BLAdmins:] [PatchAnalysis] The job 'My Patch Analysis Job' has failed



      Any ideas?


      Best Regards,



        • 1. Re: Unable to load the XML

          Error: 80004005 Unable to load the XML at 'C:/Program Files/BladeLogic/RSC/tmp/hfnetchk6b38899/hfnetchk6b.cab'.


          The issue is with extraction of XML from the CAB file. You can perform few fixes depending on your environment:


          Patch Analysis Flow:

          1 - appserver uploads Shavlik CAB file to the target

          2 - XML file is extracted from the CAB file

          3 - Analysis is run against XML file

          On rare occasions the extraction fails on the system, and analysis never executes.


          This is for 7.5+

          To bypass the extraction all together, so that the appserver uploads XML file to the target, and Analysis is run against XML file:


          Go to Tools / Patch Analysis Configuration and modify links for HfNetChk6b.CAB and PD5.CAB:

          xml.shavlik.com/data/hfnetchk6b.CAB to xml.shavlik.com/data/hfnetchk6b.XML

          xml.shavlik.com/data/pd5.CAB to xml.shavlik.com/data/pd5.XML


          This is for 7.4.x

          Keep the Shavlik links pointed to the CAB files, and use the following bladelogic special agent version: ftp://ftp.bmc.com/pub/lzr/agent_7.4.5.798/

          The reason you cannot use XMLs in 'Patch Analysis Configuration' in 7.4.x is because the 7.4.x agent only understand the CAB, so while the Analysis would complete with XML, the Deploy would fail; in 7.5 the deploy with XML is not an issue.



          • 2. Unable to load the XML

            Hi Lazar,


            tanks for your answer. I know that the problem is in the XML file becaure if you try to download the file

            xml.shavlik.com/data/hfnetchk6b.XML you can see this messagge: "XML Parsing Error: not well-formed".


            I read this docucument:


            and I think that XML file is locked by Shavlik....



            • 3. Unable to load the XML

              Hi Lazar,






              I've solved the problem, for the moment.

              Thankyou very much.




              • 4. Unable to load the XML

                The XMLs are encrypted. When you paste the link into the browser, it tries to open it, throwing the error message: "XML Parsing Error: not well-formed".


                Replacing the URLs to XML in your configuration, will only affect Analysis, as I mentioned earlier. Since you are on 7.4.5, you Deploy Jobs will not work for newly added patches. Please revisit the original post if you hit the issue with Deploy Jobs.



                • 5. Unable to load the XML

                  Ok. Many many tanks, Lazar



                  • 6. Re: Unable to load the XML
                    Atul Matkar

                    i have BSA 8.6P1 and when i do windows 2012 patching i see this error

                    Cannot create blpackages and deployment jobs, Error: Cannot copy metadata file (Caused By: JNI file copy from '//fileserver//data/bmc/bladelogic/storage//patch/catalog/catalog_2007800/hfnetchk6b.xml' to '/opt/bmc/bladelogic/NSH/tmp/application_server/remediate-2004500-Win2012_Patch_Analaysis2015-07-28 20-14-52-300+0800_19968c9b-b721-40dd-80d2-f7bc2aaa39f4/scripts/hfnetchk6b.xml' failed: : No such file or directory)


                    patching error.JPG

                    • 7. Re: Unable to load the XML
                      Bill Robinson

                      This is a different error.  the job is looking for the hfnetchk6b.xml which is deprecated.  There’s a defect for this already.  you can copy the hf7b.xml to hfnetchk6b.xml in the catalog location on the file server to fix this. (storage/patch/catalog/catalog_xxx)