Configuring a JDBC Driver for Standalone Applications

5-10 Oracle Fusion Middleware Installation Guide for Oracle Enterprise Content Management Suite

5.3.2 Configuring an External Database Provider for Standalone Applications

You can create an external database provider in Oracle Content Server for standalone applications, such as the Batch Loader utility, to connect directly to the database with JDBC without using the SystemDatabase Provider for the Oracle WebLogic Server data source. For standalone applications to use Oracle Text Search, you must configure the external database provider to include the JDBC connection information. By default, the configuration of an incoming provider does not include values for JDBC Driver and JDBC Connection String. You need to add these values, but be careful not to change the provider name because you cannot rename an existing provider. To change the name of a provider, you need to delete it and add it again. For information about changing the configuration of a provider, see Editing Provider Information in Oracle Fusion Middleware System Administrators Guide for Oracle Content Server.

5.4 Configuring a JDBC Driver for Standalone Applications

For Oracle Content Server to work with standalone applications, such as the Batch Loader Utility, you need to configure a JDBC driver for the system database or an external database provider. Oracle Fusion Middleware provides DataDirect JDBC drivers for Microsoft SQL Server and IBM DB2 databases to support Oracle Content Server standalone applications. You can use the System Properties utility, which Figure 5–2 shows, to enter the configuration information. Figure 5–2 System Properties Utility Configuring Oracle Universal Content Management 5-11 To configure a JDBC Driver for standalone applications: 1. As a system administrator, run SystemProperties from the bin directory for the Oracle Content Server instance to start the System Properties utility. ■ UNIX path: DomainHomeucmcsbinSystemProperties ■ Windows path: DomainHome\ucm\cs\bin\SystemProperties

2. On the System Properties screen, click the Database tab, where you can select the

appropriate driver and enter the connection string, user name, and password. You do not need to enter a class path or driver name, or copy any JAR files. You can find the JDBC connection string and user name in the Oracle WebLogic Server Administration Console. Log in to the Administration Console, and then select Services, then Data Sources, then CSDS or URMDS, and then Connection Pool . On the Connection Pool tab, the connection string is in the URL field, and the user name is in the Properties field. For security, the password is not displayed.

3. On the Database tab, select the appropriate driver under Use Java Database

Connectivity , and enter the connection string. For Microsoft SQL Server, select DataDirect SQL Server JDBC Driver, and enter a connection string of this form: jdbc:weblogic:sqlserver:database_hostname:database_port_ number;databaseName=database_name For IBM DB2, select DataDirect DB2 JDBC Driver, and enter a connection string of this form: jdbc:weblogic:db2:database_hostname:database_port_ number ;databaseName=database_name

4. Enter the user name and password for the database in the JDBC User Name and

JDBC User Password fields.

5. Click OK.

6. Restart Oracle Content Server, as described in Section 10.3, Restarting a Managed Server.

5.5 Importing a Database Root CA Certificate into the Key Store for a Standalone Application