Loading Data from an XML Schema

5-8 Oracle® Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator

5.7 Troubleshooting

This section provides information on how to troubleshoot problems that you might encounter when using XML in Oracle Data Integrator. It contains the following topics: ■ Detect the Errors Coming from XML ■ Common Errors

5.7.1 Detect the Errors Coming from XML

Errors appear often in Oracle Data Integrator in the following way: java.sql.SQLException: No suitable driver at ... at ... ... the java.sql.SQLExceptioncode simply indicates that a query was made through the JDBC driver, which has returned an error. This error is frequently a database or driver error, and must be interpreted in this direction. Only the part of text in bold must first be taken in account. It must be searched in the XML driver documentation. If it contains a specific error code, like here, the error can be immediately identified. If such an error is identified in the execution log, it is necessary to analyze the SQL code send to the database to find the source of the error. The code is displayed in the description tab of the task in error.

5.7.2 Common Errors

This section describes the most common errors with XML along with the principal causes. It contains the following topics: ■ No suitable driver The JDBC URL is incorrect. Check that the URL syntax is valid. ■ File XML file is already locked by another instance of the XML driver. The XML file is locked by another userapplication. Close all application that might be using the XML file. If such an application has crashed, then remove the .lck file remaining in the XML files directory. ■ The DTD file xxxxxxx.dtd doesnt exist This exception may occur when trying to load an XML file by the command LOAD FILE. The error message can have two causes: ■ The path of the DTD file is incorrect. Table 5–4 KMs to Integrate Data in an XML File Mode Staging Area KM Notes Update XML IKM SQL Incremental Update Generic KM Append XML IKM SQL Control Append Generic KM Append All RDBMS IKM SQL to SQL Append Generic KM