Oracle® Warehouse Builder User's Guide 11g Release 1 (11.1) Part Number B31278-01 |
|
|
View PDF |
Scenario
While working with Warehouse Builder, the designers need to access log files and check on different types of errors. This case study outlines all the different types of error messages that are logged by Warehouse Builder and how to access them.
Solution
Warehouse Builder logs the following types of errors when you perform different operations:
Case Study
This case study shows you how to retrieve error logs after performing different operations in Warehouse Builder.
Installation Errors
When you run the Oracle Universal Installer to install Warehouse Builder, the installation error logs are automatically stored in:
C:\ProgramFiles\Oracle\Inventory\logs\installActions<timestamp>.log
When you run the Warehouse Builder Repository Assistant, the workspace installation error logs are stored in:
OWB_ORACLE_HOME
\owb\reposasst\log.txt.0
When you run the Warehouse Builder Runtime Assistant, the runtime installation error logs are stored in:
OWB_ORACLE_HOME
\owb\rtasst\log.txt.0
Metadata Import and Export Errors
Metadata Import: When you import a project or specific objects into your workspace using the Metadata Import Utility, Warehouse Builder records details of the import process in a log file. You can specify the name and location of this log file from the Metadata Import dialog box.
Metadata Export: When you export a Warehouse Builder project or specific objects using the Metadata Export Utility, Warehouse Builder records the details of the export in a log file. You can specify the name and location of this log file from the Metadata Export dialog box.
Metadata Import Using the Transfer Wizard
If you are importing design metadata using the Warehouse Builder Transfer Wizard, then you can view the log file after the import is complete. Warehouse Builder displays the My Metadata Transfer dialog box.
Click View Log File to view the log file, as shown in Figure 20–1. Click Save As to save the log file to your local system.
Validation Errors
In Warehouse Builder, you can validate all objects by selecting the objects from the console tree and then selecting Validate from the Object menu. After the validation is complete, the validation messages are displayed in the Validation Results window, as shown in Figure 20–2.
You can also validate mappings from the Mapping Editor by selecting Mapping, then Validate. The validation messages and errors are displayed in the Validation Results window.
On the Validation tab of the Validation Results window, double-click an object name in the Object column to display the editor for that object. You can fix errors in the editor. Double-click a message in the Message column to display the detailed error message in a message editor window. To save the message to your local system, select Code in the menu bar, then select Save as File.
Warehouse Builder saves the last validation messages for each previously validated objects. You can access these messages at any time by selecting the object from the console tree in the Project Explorer, select View from the menu bar, and then click Validation Messages. The messages are displayed in the Validation Results window.
Generation Errors
After you generate scripts for Warehouse Builder objects, the Generation Results window displays the generation results and errors, as shown in Figure 20–3. Double-click an error under the Messages column on the Validation tab to display a message editor that enables you to save the errors to your local system.
Deployment and Execution Errors
You can store execution or deployment error and warning message logs on your local system by specifying a location for them. In the Project Explorer, select the project. Then from the Tools menu, select Preferences. In the Preferences dialog box, click the Logging option in the object tree to the left. In the list box on the right, you can set the log file path, file name and maximum file size. You can also select the types of logs you want to store.
You can view this log of deployment and error messages from the Warehouse Builder console by selecting View from the menu bar, and then Messages Log. This Message Log dialog box is read-only.
Runtime Audit Browser
If an error occurs while transforming or loading data, the audit routines report the errors into the runtime tables. You can easily access these error reports using the Runtime Audit Browser (RAB). The RAB provides detailed information about past deployments and executions. These reports are generated from data stored in the runtime repositories. Click the Execution tab in the Execution reports to view error messages and audit details.
Name and Address Server Errors
If you are using the Name and Address cleansing service provided by Warehouse Builder, you can encounter related errors.
Name and address server start up and execution errors can be located at:
OWB_ORACLE_HOME
\owb\bin\admin\NASver.log
If your Name and Address server is enabled in:
OWB_ORACLE_HOME
\owb\bin\admin\NameAddr.properties:TraceLevel=1
,
then it produces the log file NASvrTrace.log.