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
- 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.
- Developer: Open the WCDE_installdir/schema/data/xml/9.0.0/wcs.9.0.0.2.bootstrap.xml file for editing.
- Wrap the contents of the file with <import> </import>.
- Save the file.
- Rerun the updatedb utility.