Failed to dataload schema/data/xml/9.0.0/wcs.9.0.0.2.bootstrap.xml

You might notice the following error when you run the updatedb utility after upgrading to HCL Commerce Version 9.0.0.2.

Failed to dataload schema/data/xml/9.0.0/wcs.9.0.0.2.bootstrap.xml
Invalid xml (no root element) and dataload attempts do load this file directly

Problem

The wcs.9.0.0.2.bootstrap.xml file is not formed properly. The file is missing the <import> directive.

Solution

  1. Open the wcs.9.0.0.2.bootstrap.xml file.
    • Runtime: Enter the Utility server Docker container and open the /opt/WebSphereCommerceServer90/schema/data/xml/9.0.0/wcs.9.0.0.2.bootstrap.xml file for editing.
    • HCL Commerce DeveloperDeveloper: Open the WCDE_installdir/schema/data/xml/9.0.0/wcs.9.0.0.2.bootstrap.xml file for editing.
  2. Wrap the contents of the file with <import> </import>.
  3. Save the file.
  4. Rerun the updatedb utility.