On the Home Page, select JDBC, then select Data Sources. Click New. Provide information for your data source. For Name and JNDI Name, provide the Click Finish when you are done providing JDBC data source settings.

5-8 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition 15. To verify that the application has been deployed, log in to the WebLogic Server Administration Console and click Deployments under Your Deployed Resources. Verify that your application appears in the list for example, obieebroker_app_ name. Setting Up a JDBC Data Source in the WebLogic Server You must set up a JDBC data source in Oracle WebLogic Server for your application. To set up a JDBC data source in Oracle WebLogic Server: 1. Ensure that Oracle WebLogic Server is running. If it is not running, start it. For example, on Windows, run MW_HOME\user_projects\domains\your_ domain\bin\startWebLogic.cmd. 2. Open the WebLogic Server Administration Console. For example, if your Oracle WebLogic Server is running locally on port 7001, go to http:localhost:7001console. 3. Log in to the WebLogic Server Administration Console with the credentials you created when you set up your WebLogic domain.

4. On the Home Page, select JDBC, then select Data Sources.

5. Click New.

6. Provide information for your data source. For Name and JNDI Name, provide the

DataSource Name you specified in the Application Module configuration for the application, without the java:compenv context prefix for example, jdbcApplicationDBDS. In addition, make sure to select the target on which you want to deploy the data source before exiting the wizard.

7. Click Finish when you are done providing JDBC data source settings.

Setting the Logging Level for the Deployed Application in Oracle WebLogic Server The log file for the server to which your application is deployed server_ name-diagnostic.log records information about your deployed application. You can find this file in the server-specific directory within your domain. For example, on Windows, the log file for the AdminServer is located in: MW_HOME \user_projects\domains\your_domain\servers\AdminServer\logs To set the logging level for your deployed application: 1. Open the Oracle WebLogic Server file logging.xml for editing. You can find this file in: MW_HOME \user_projects\domains\your_domain\config\fmwconfig\servers\server_name 2. Within the loggers element, add the following child elements: logger name=oracle.bi.integration.adf level=LOG_LEVEL logger name=oracle.bi.integration.adf.v11g.obieebroker level=LOG_LEVEL Log levels include SEVERE, WARNING, INFO, CONFIG, FINE, FINER, and FINEST. Refer to the Oracle WebLogic Server documentation for information about logger levels. 3. Save and close the file. 4. Restart Oracle WebLogic Server. Working with ADF Business Component Data Sources 5-9 Importing Metadata from ADF Business Component Data Sources You must complete the steps in Setting Up ADF Business Component Data Sources before you can import metadata from ADF Business Component data sources. To import metadata from an ADF Business Component data source: 1. In the Administration Tool, select File, then select Import Metadata. The Import Metadata Wizard appears. Figure 5–1 shows the Import Metadata Wizard. Figure 5–1 Import Metadata Wizard: ADF Business Component Data Source Note that the Map to Logical Model and Publish to Warehouse screens in the Import Metadata Wizard are reserved for a future release. Check the Oracle Business Intelligence chapter in Oracle Fusion Middleware Release Notes for updates about the functionality in these two screens.

2. In the Select Data Source screen, select OracleADF_HTTP for Connection Type.