Troubleshooting Import Export Tool
The export or import operation fails and the error log contains this message:
java.sql.SQLException: Access denied for user 'root'@'localhost'Solution: Make sure the database is running and that the database connection properties in
conf/misc/importexporttool.configare set correctly.The export or import operation fails and the error log contains a message similar to the following:
java.lang.ClassNotFoundException: com.mysql.jdbc.DriverSolution: Make sure the appropriate JDBC library is on the Import-Export tool’s class path. Copy the JDBC library used by the Elastic Path web applications to the Import-Export tool’s
libdirectory.The export or import operation fails and the error log contains
ConfigurationExceptionand/orSAXParseExceptionmessages.Solution: Make sure that the export or import configuration file contains well formed XML and that it validates against the corresponding schema in the schema directory (
schemaExportConfig.xsdorschemaImportConfig.xsd).The export or import operation fails and the error log contains this message:
java.net.ConnectException: Connection refused: connectSolution:
- Ensure that the database and the Elastic Path search web application are available and the search server URL is correct.
- When connecting to a database and a search server on a remote host, ensure that either the
COMMERCE/SYSTEM/SEARCH/searchHostsetting or the-Dep.search.default.urlJava system property value is set to the search server URL.
The export operation completes successfully, but the wrong data or no data is exported.
Solution: Make sure that the search query in the search configuration file is correct.
The export operation fails and the error log contains the following:
EpQLParseException: Cannot parseSolution: There is a syntax error in the search query string. Check the syntax of your query against the syntax described in Search Query Language.
The export operation completes successfully, but no files are created or the files are in the wrong location.
Solution: Verify the package name and delivery target settings in the export configuration file.
The import operation fails because it can’t find the data files to be imported.
Solution: Verify the retrieval source setting in the import configuration file.
The export operation completes successfully, but the summary report indicates that the total number of objects is 0 and the generated files contain no data.
Solution: Make sure that the type of the exporter in the export configuration file matches the export criteria in the search configuration file. If the types do not match, no data will be exported.
A product or category fails to import because the parent catalog does not exist. However, the parent catalog exists in the package.
Solution: Make sure that the import strategy for the parent object type is set to use Insert or Insert or Update. For more information, see the section Combining Import Strategies.
The import operation fails when a data point is imported with the same GUID but any other different attribute.
Solution: Verify data in the
data_policies.xmlfile or clean up your database.