5
Configuring Data Access for Oracle Real-Time Decisions 5-1
5
Configuring Data Access for Oracle Real-Time Decisions
JDBC data sources are used by Oracle RTD to access outside data. Data sources are application-server specific, and are used to identify new JDBC data sources that are to
be used as suppliers in Inline Services. These data sources can be RDBMS databases, as well as ODBC identified data sources. For information about supported versions for
enterprise data sources, see the documents referred to in
Section 1.3, System Requirements and Certification.
This chapter contains the following topics:
■
Section 5.1, Creating Additional JDBC Data Sources in WebLogic
■
Section 5.2, Testing a New Enterprise Data Source
5.1 Creating Additional JDBC Data Sources in WebLogic
If you are running Real-Time Decision Server on WebLogic, follow the steps in this section to configure JDBC data sources so that your Inline Services can access outside
data.
This section contains the following topics:
■
Section 5.1.1, Setting the Path to JDBC Jar Files for Your Data Source
■
Section 5.1.2, Creating a Data Source in WebLogic
5.1.1 Setting the Path to JDBC Jar Files for Your Data Source
To set the path to JDBC jar files for your data source, you may need to add paths to the Classpath for your Managed Server, if your data source database is different from the
Oracle RTD database, and you have not previously edited the Classpath.
1.
If the enterprise data source you want to add is a Teradata data source, copy the files terajdbc4.jar, and tdgssconfig.jar to a directory of your choice,
teradata_jar_files_directory . You can download these files from the
Teradata Web site at http:www.teradata.com
. Make sure that the JDBC driver files you download are compatible with the database version you are using.
2.
Log in to the Administration Console for your Oracle RTD domain. http:weblogic_host:portconsole
.
3.
Navigate the path: Environment Servers managed_server_name Configuration Server Start tab.
5-2 Oracle Fusion Middleware Administrators Guide for Oracle Real-Time Decisions
4. Add the appropriate path or paths to ClassPath, including Windows or
LinuxUnix separators between entries. Do not include spaces between your entries.
■
For Teradata teradata_jar_files_directory\terajdbc4.jar
teradata_jar_files_directory\tdgssconfig.jar
5.
Save.
6.
Restart the WebLogic Managed Server.
5.1.2 Creating a Data Source in WebLogic
You can use the WebLogic Server Administration Console to create a data source in WebLogic. Before you begin, ensure that WebLogic is started.
To create a data source in WebLogic:
1.
Access the WebLogic Server Administration Console for the WebLogic domain in which Oracle RTD is deployed at the URL http:weblogic_
host:portconsole . At the login prompt, enter the administrator user name
and password.
2. In the tree on the left, expand Services, then expand JDBC and choose Data
Sources .
3. Click New. You may need to click Lock Edit first to enable the New button.
The Create a New JDBC Data Source window appears, showing the first page JDBC Data Source Properties of a sequence of pages that contain fields you must
enter.
4.
On the JDBC Data Source Properties page, follow these steps:
a. For Name, provide a descriptive name for the data source for example, db_