Beruflich Dokumente
Kultur Dokumente
for Database
Installation
Software Release 6.3
October 2012
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR
BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED
ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED
SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR ANY
OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A
LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE AGREEMENT,
OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER LICENSE AGREEMENT
WHICH IS DISPLAYED DURING DOWNLOAD OR INSTALLATION OF THE SOFTWARE (AND WHICH IS
DUPLICATED IN THE LICENSE FILE) OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR
CLICKWRAP END USER LICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE “LICENSE” FILE(S) OF
THE SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, AND YOUR
USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright laws and treaties. No part
of this document may be reproduced in any form without the written authorization of TIBCO Software Inc.
TIBCO, The Power of Now, TIBCO ActiveMatrix BusinessWorks, TIBCO Adapter SDK, TIBCO Administrator, TIBCO
Database Drivers Supplement, TIBCO Designer, TIBCO Enterprise Message Service, TIBCO Hawk, TIBCO Rendezvous,
and TIBCO Runtime Agent are either registered trademarks or trademarks of TIBCO Software Inc. in the United States
and/or other countries.
EJB, Java EE, J2EE, and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems,
Inc. in the U.S. and other countries.
All other product and company names and marks mentioned in this document are the property of their respective owners and
are mentioned for identification purposes only.
THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALL
OPERATING SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAME
TIME. SEE THE README FILE FOR THE AVAILABILITY OF THIS SOFTWARE VERSION ON A SPECIFIC
OPERATING SYSTEM PLATFORM.
THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES
ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED
IN NEW EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR
CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR
INDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING BUT
NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.
Copyright © 1999-2012 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
| iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Changes from the Previous Release of this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
TIBCO ActiveMatrix Adapter for Database Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Other TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Connecting with TIBCO Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiv
How to Join TIBCOmmunity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiv
How to Access TIBCO Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiv
How to Contact TIBCO Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiv
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figures
Tables
Preface
This software may be available on multiple operating systems. However, not all
operating system platforms for a specific software version are released at the same
time. Please see the readme file for the availability of this software version on a
specific operating system platform.
Topics
This section itemizes the major changes from the previous release of this guide.
Related Documentation
Typographical Conventions
Convention Use
ENV_NAME TIBCO products are installed into an installation environment. A product installed
into an installation environment does not access components in other installation
TIBCO_HOME
environments. Incompatible products and multiple instances of the same product
TIB_ADADB_HOME must be installed into different installation environments.
An installation environment consists of the following properties:
• Name Identifies the installation environment. The name is appended to the
name of Windows services created by the installer and is a component of the
path to the product in the Windows Start > All Programs menu. This directory is
referenced in documentation as ENV_NAME.
• Path The folder into which the product is installed. This folder is referenced in
documentation as TIBCO_HOME.
TIBCO ActiveMatrix Adapter for Database installs into a directory within a
TIBCO_HOME. This directory is referenced in documentation as TIB_ADADB_HOME.
The default value of TIB_ADADB_HOME depends on the operating system. For
example on Windows systems, the default value is C:\tibco\adapter\adadb\version.
code font Code font identifies commands, code examples, filenames, pathnames, and output
displayed in a command window. For example:
Use MyCommand to start the foo process.
bold code font Bold code font is used in the following ways:
• In procedures, to indicate what a user types. For example: Type admin.
• In large code samples, to indicate the parts of the sample that are of particular
interest.
• In command syntax, to indicate the default parameter for a command. For
example, if no parameter is specified, MyCommand is enabled:
MyCommand [enable | disable]
Convention Use
italic font Italic font is used in the following ways:
• To indicate a document title. For example: See TIBCO ActiveMatrix
BusinessWorks Concepts.
• To introduce new terms. For example: A portal page may contain several
portlets. Portlets are mini-applications that run in a portal.
• To indicate a variable in a command or code syntax that you must replace. For
example: MyCommand PathName
Key combinations Key names separated by a plus sign indicate keys pressed simultaneously. For
example: Ctrl+C.
Key names separated by a comma and space indicate keys pressed one after the
other. For example: Esc, Ctrl+Q.
The note icon indicates information that is of special interest or importance, for
example, an additional action required only in certain circumstances.
The tip icon indicates an idea that could be useful, for example, a way to apply the
information provided in the current section to achieve a specific result.
The warning icon indicates the potential for a damaging situation, for example, data
loss or corruption if certain steps are taken or not taken.
This chapter explains installation modes, requirements, and other options you should be
aware of before starting the installation. Before you install the adapter, read this chapter
and fill out the Pre-installation Worksheets on page 10.
Topics
Installation Overview
Installation Modes
Three installation modes are available: GUI, Console, and Silent.
GUI Mode
In the GUI Mode, the installer presents panels that allow you to make choices about
product selection, product location, and so on. To invoke the installer in GUI Mode,
double-click the executable.
Console Mode
Console Mode allows you to run the installer from the command prompt or terminal
window. This is useful if your machine does not have a GUI environment.
Silent Mode
Silent Mode installs the product using either default or custom settings that are saved in a
response file. Silent Mode installs the product without prompting you for information.
Installation Types
Two installation types are available: Typical and Custom.
• Typical Choose this type to install all components that are contained in the adapter.
• Custom Choose this type to select components to be installed in the adapter.
Installer Account
Microsoft Windows
You must have administrator privileges for the machine on which this product is installed.
If you do not have administrator privileges, the installer exits. You must then log out of the
system and log in as a user with the required privileges, or request your system
administrator to assign the privileges to your account.
If you intend to install the product on a network drive, ensure that the account used for
installation has permission to access the network drive.
Windows Terminal Server must be running in remote admin mode, not application sharing
mode. The adapter is not supported if installed on a machine that is using Windows
Terminal Server in application sharing mode.
The best way to install the adapter on Windows Terminal Server is to use the Add/Remove
Programs control panel applet. This automatically sets your mode to Install during the
installation and then back to Execute afterwards. Alternatively, you can manually change
your mode to Install before starting the installation by typing the following at a command
prompt:
C:\> change user /install
UNIX
TIBCO ActiveMatrix Adapter for Database can be installed by any type of user:
• Regular user (non-root)
• Super-user (root)
While installing this product on UNIX platforms, ensure that the same installer account is
used to install all TIBCO Adapters products.
A graphic environment, such as CDE or X Windows is required to run the installer in GUI
Mode.
• Installation environment details, such as user that invoked the installer, host name,
Java home in the environment, operating system details, and so on.
• List of assemblies installed.
• Information related to the Ant scripts that are executed by the installer.
Installation Requirements
This section describes the system memory requirements, software requirements, and
supported platforms for this product.
Supported Platforms
See the readme file for more details on the supported platforms, versions, and required
patches.
Software Requirements
You can install the software on different machines and use them across the network. For
example, you can use TIBCO Designer on one machine to configure a TIBCO
ActiveMatrix Adapter for Database adapter on another machine.
Table 2 lists the required and optional software products. The software products below are
distributed and installed separately from this product. See the readme file for the
supported versions.
Software Description
TIBCO Rendezvous Required. If you are going to use TIBCO Runtime Agent 5.7.1, you need to
install TIBCO Rendezvous 8.3.x separately before installing TIBCO Runtime
Agent.
TIBCO Runtime Agent Required. TIBCO Runtime Agent includes TIBCO Designer along with a
number of TIBCO and third-party libraries used by the adapter and other
TIBCO products. You must install TIBCO Runtime Agent before you install
TIBCO ActiveMatrix Adapter for Database.
Note: If the adapter is installed on 64-bit TIBCO Runtime Agent version 5.7.3
or 5.7.4, the adapter installation will be different. See Running the 32-bit
Adapter on 64-bit TIBCO Runtime Agent on page 47 for details.
Software Description
TIBCO Administrator Required for deployment. TIBCO Administrator includes the following
modules:
• User Management. Management of authentication, roles and users, that is,
connecting roles (groups) and users to access control lists (ACLs). This
includes security for server-based projects at design time and for deployed
applications at runtime.
• Resource Management. Monitoring of machines and of all running
applications in a TIBCO administration domain. Alerts can be created, for
example, to notify an administrator if the number of processes or disk
usage exceeds a certain number.
• Application Management. Uploading of Enterprise Archive (EAR) files,
creation, configuration, deployment, and monitoring of applications. This
console is also used to start and stop applications.
TIBCO Administrator is available as a separate installation and can be
installed after installing the adapter.
TIBCO Enterprise Message Service Required. TIBCO Enterprise Message Service is used as the notification and
messaging backbone for TIBCO ActiveMatrix Adapter for Database. TIBCO
ActiveMatrix Adapter for Database is not necessarily installed on the machine
on which TIBCO Enterprise Message Service is installed.
Note that TIBCO Enterprise Message Service is also used by the TIBCO
ActiveMatrix SOAP and JMS binding types. The TIBCO ActiveMatrix
Adapter for Database license does not cover this usage of the included TIBCO
Enterprise Message Service software. You must separately license TIBCO
Enterprise Message Service or another supported JMS product for this usage
TIBCO Enterprise Message Service is available as a separate installation and
can be installed after the adapter is installed.
TIBCO Database Drivers Supplement Optional. TIBCO Database Drivers Supplement provides the licensed
DataDirect database JDBC drivers that can be used with TIBCO ActiveMatrix
Adapter for Database.
TIBCO ActiveMatrix BusinessWorks Optional. TIBCO ActiveMatrix BusinessWorks is a scalable, extensible, and
easy-to-use integration platform that allows you to develop integration
projects. TIBCO Adapters are typically part of integration projects created
using TIBCO ActiveMatrix BusinessWorks.
TIBCO ActiveMatrix BusinessWorks is available as a separate installation,
and can be installed after installing the adapter.
Adapter Components
Component Description
Runtime This process does the actual work of passing and converting data to and from the vendor
application. Also, the required ODBC drivers are included in TIBCO ActiveMatrix Adapter
for Database software packages. See ODBC Drivers on page 8.
Design time Adapter-specific GUI that is loaded in TIBCO Designer (see next section for details) at
configuration time.
This component includes the palette and samples that demonstrate how TIBCO
ActiveMatrix Adapter for Database interacts with TIBCO ActiveMatrix BusinessWorks.
The adapter installation package does not include JDBC drivers. For more information
about required JDBC drivers, see JDBC Drivers on page 9.
One of the following databases must be installed and configured for your system before
installing TIBCO ActiveMatrix Adapter for Database. You must be able to connect to the
database before starting installation. On Oracle, both the Enterprise Edition and Standard
Edition are supported.
The adapter supports both 32-bit and 64-bit versions, where applicable, for the databases
listed below.
The supported databases can be hosted on any platform supported by the database vendor.
ODBC Drivers
TIBCO ActiveMatrix Adapter for Database uses ODBC to access your database during
runtime. The adapter supports the ODBC driver that is supplied with the adapter
installation package as well as ODBC driver that is provided separately by the database
vendor listed in Table 4, ODBC Driver Supported Platform, on page 8.
Sybase ASE Yes Yes Yes Yes Yes Yes Yes Yes
Sybase Anywhere Yes Yes Yes Yes Yes Yes Yes Yes
DB2 UDB Yes Yes Yes Yes Yes Yes Yes Yes
DB2 for z/OS2 Yes Yes Yes Yes Yes Yes Yes Yes
DB2 for iSeries2 Yes Yes Yes Yes Yes Yes Yes Yes
EnterpriseDB3 Yes No No No No No No No
1. Both vendor drivers included with the server installation and DataDirect drivers are supported.
2. Through remote connection only.
3. Only vendor drivers are supported.
JDBC Drivers
TIBCO ActiveMatrix Adapter for Database uses JDBC to access your database during
design time. The adapter design-time palette supports the JDBC drivers included in
TIBCO Database Drivers Supplement, as well as the JDBC drivers that are provided
separately by the database vendors. When configuring the adapter, you specify the JDBC
URL and the correct driver is automatically loaded.
The JDBC URLs are documented in TIBCO ActiveMatrix Adapter for Database
Configuration and Deployment.
Pre-installation Worksheets
TIBCO home This is the directory where TIBCO Runtime Agent was
directory path installed. TIBCO Runtime Agent must be installed on each
machine where the adapter will be installed.
(By default, this is C:\tibco on Microsoft Windows)
Installer user Account to log on to the machine with and run the installer. This
account user must have write permission to the TIBCO home directory.
(Example: administrator)
Installer user Network domain to which the user account above belongs.
domain (Windows (Example: ENGR2)
only)
Adapter
Description Value for Your Machine
Information
Adapter installation Obtain the correct TIBCO ActiveMatrix Adapter for Database
package installation package. This is available on CD, FTP, network
drive, or http://download.tibco.com as appropriate.
ODBC driver The correct ODBC driver version for your database, see
version Supported Databases and Drivers on page 8.
ODBC driver The full path of the ODBC driver directory. Drivers are installed
directory path with the adapter or can also be third-party, see Supported
Databases and Drivers on page 8.
(By default, TIB_ADADB_HOME\odbc\Drivers)
Database Information
Most supported databases require you to enter these parameters to configure the adapter.
The specific parameter names and the type of information required depends on the
database and driver you are using. Check with your database administrator to determine
exactly what information will be needed for your system.
If you are connecting to a DB2 for z/OS database, you will need additional information, as
described for Microsoft Windows in Post-installation Tasks on Microsoft Windows
Platforms on page 24, or for UNIX in Post-installation Tasks on UNIX Platforms on
page 40.
Database
Description Value for Your Database
Information
Data Source Name and A name and description you create that identifies this
description database configuration in the system.
(Example: Accounting)
Database
Description Value for Your Database
Information
Server (or Host) The name, IP address, client connection string, or other
identifier of the database server and database to which the
adapter will connect.
(Example: Oracleserver or 199.226.224.34)
Topics
The following sections describe the installation process in the available installation
modes:
• GUI Mode, page 14
• Console Mode, page 16
• Silent Mode, page 17
GUI Mode
To install this product in GUI Mode, complete the following steps:
1. Open the physical media or download the installation package.
2. Extract the contents of the package to a temporary directory.
3. Navigate to the temporary directory.
4. Run TIBCOUniversalInstaller. You can do so in one of the following ways:
— Double-click the installer icon.
— On the command prompt, provide the absolute path of the installer file without
specifying any options. The installer defaults to GUI Mode.
5. Click the Next button on the Welcome dialog.
6. Read through the license text when the License Agreement dialog is displayed, select
the I Accept The Terms Of The License Agreement radio button, then click the
Next button.
7. Select the Use An Existing TIBCO_HOME radio button, and then click the Next
button on the TIBCO Installation Home dialog, as shown in Figure 1.
Console Mode
To install this product in Console Mode, complete the following steps:
1. Open the physical media or download the installation package.
2. Extract the contents of the package to a temporary directory.
3. Navigate to the temporary directory by using a console window.
4. Run TIBCOUniversalInstaller -console.
5. Complete the installation by responding to the console window prompts.
Silent Mode
In Silent Mode, the universal installer does not prompt for any inputs during installation.
Instead, the inputs are read from a response file that can be provided as a command-line
parameter. If no value is specified, the installer uses the default
TIBCOUniversalInstaller_adadb_version.silent file.
— Update the ENV_NAME TIBCO ActiveMatrix Adapter for Database must use the
same ENV_NAME that other TIBCO adapters use.
For example, update ENV_NAME as follows:
<entry key="createNewEnvironment">false</entry>
<entry key="environmentName">TIBCO_HOME</entry>
— Update features to install Set the features that you want to install to true as
follows:
<entry key="feature_Adapter_adadb">true</entry>
<entry key="feature_Palette_adadb">true</entry>
<entry key="feature_Samples_adadb">true</entry>
<entry key="feature_ADB Documentation_adadb">true</entry>
This section describes how to uninstall TIBCO ActiveMatrix Adapter for Database in the
following available modes:
• GUI Mode, page 19
• Console Mode, page 21
GUI Mode
To uninstall the adapter, complete the following steps:
1. Shut down all running TIBCO Adapters applications.
2. Navigate to the TIBCO_HOME/tools/universal_installer directory and run
TIBCOUniversalInstaller. The TIBCO Installation Manager dialog is displayed.
3. Select the Uninstall Products From A TIBCO Home Location radio button, and
choose the TIBCO_HOME location from the TIBCO Home Location drop-down list on
the TIBCO Installation Manager dialog, as shown in Figure 3.
5. Select one of the following uninstallation options on the Uninstallation Type dialog:
— Custom Uninstall You can select the products to be removed.
If you select this option, click the Next button. The Product Uninstall Selection
dialog is displayed, as shown in Figure 4.
— Typical Uninstall The universal uninstaller removes all the products in the
TIBCO_HOME.
If you select this option, click the Next button, and go to step 7.
6. Check the checkboxes of products that you want to uninstall on the Product Uninstall
Selection dialog, and then click the Next button.
7. Review the Pre-Uninstall Summary on the Pre-Uninstall Summary dialog, and click
the Uninstall button to start the uninstallation process.
8. Review the Post-Uninstall Summary, and click the Finish button to exit the uninstall
wizard.
Console Mode
To uninstall this product in Console Mode, complete the following steps:
1. Using a command window, navigate to the TIBCO_HOME\tools\universal_installer directory.
2. Type the following command at the command prompt:
TIBCOUniversalInstaller.exe -console
Topics
The create_user script creates a database user account with the necessary privileges required
for the adapter. If you are using Oracle and will be using the alerter, this user also needs
the privilege to access the alerter package.
1. Open a command window and change directory to your database directory. For
example, for Oracle:
cd TIB_ADADB_HOME\config\oracle
2. Change the create_user script by using a text editor to identify the account name and
password for the database user who will run the adapter. If you are using Oracle and
will be using the alerter, also provide the account name to use. For example, for
Oracle:
CREATE USER karlh IDENTIFIED BY adbuser;
GRANT CONNECT, RESOURCE TO karlh IDENTIFIED BY adbuser;
This account is used to connect to the database and access tables created when
configuring an adapter. Note that a publication source table or subscription destination
table can belong to a different schema than the default specified in the create_user script.
For more information, see TIBCO ActiveMatrix Adapter for Database Configuration
and Deployment.
3. Execute the create_user script as the database administrator. For example, for Oracle:
sqlplus dba_user_id/dba_password@service @create_user.sql
4. If you are using Oracle and will be using the alerter, also execute the alerter.sql script.
This script sets up the tables used by the alerter. Use the database user account created
in step 2. For example:
sqlplus dba_user_id/dba_password@service @alerter.sql
When configuring the adapter instance in TIBCO Designer, you need to add the JDBC
driver file into the adapter installation library directory: TIB_ADADB_HOME\lib
For example:
For MySQL database:
TIB_ADADB_HOME\lib\mysql-connector-java-version-bin.jar
For Teradata database:
TIB_ADADB_HOME\lib\tdgssconfig.jar
TIB_ADADB_HOME\lib\terajdbc4.jar
For PostgreSQL database:
TIB_ADADB_HOME\lib\postgresql-9.0-801.jdbc3.jar
TIB_ADADB_HOME\lib\postgresql-9.0-801.jdbc4.jar
If you are using Oracle with a non-wire protocol driver, you must provide the
ORACLE_HOME\bin location to the tibco.env.CUSTOM_PATH property in the adapter TRA
properties file: TIB_ADADB_HOME\bin\adbagent.tra.
If you are using Teradata, you must specify the shared ICU library path and Teradata client
utility (CLI) path in the adapter TRA properties file: TIB_ADADB_HOME\bin\adbagent.tra.
tibco.env.CUSTOM_PATH
TERADATA_HOME/Client/version/CLIv2;TERADATA_HOME/Client/version/Shared ICU Libraries for
Teradata/lib
1. Install the ODBC drivers according to the instructions provided by your database
vendor.
2. Add the location of your drivers to the PATH system variable according to the
instructions provided by your database vendor.
3. Continue with Configuring the ODBC System Data Source on page 26.
You must define a System DSN, not a User DSN. If you define a User DSN, the adapter
will not be visible in the TIBCO Administrator GUI.
If your Microsoft Windows platform is a 64-bit one, you have to open the 32-bit ODBC
Administrator located at C:\WINDOWS\sysWOW64\odbcad32.exe to view and configure the 32-bit
ODBC driver data sources.
1. Navigate to the Control Panel window, then locate and double-click the Data Sources
(ODBC) icon.
2. Click the System DSN tab, then click the Add... button on the ODBC Data Source
Administrator dialog, as shown in Figure 5.
3. Select an ODBC driver and click the Finish button on the Create New Data Source
dialog, as shown in Figure 6.
4. Click the Configure... button on the ODBC Data Source Administrator dialog, the
ODBC Driver Setup dialog is displayed. Click the General tab and type appropriate
values in the fields. Click the Help button for an explanation of each field.
5. Click the Advanced tab, check the Procedure Returns Results checkbox. This is
necessary for the ODBC driver to return retrieved data from stored procedures for
Request-Reply operations.
Also, check the Enable Timestamp with Timezone checkbox. For more information,
see TIBCO ActiveMatrix Adapter for Database Configuration and Deployment.
Fill in the other fields as required for your configuration, or accept the defaults.
6. Click the Apply button, then click the Test Connect button to test the connection.
Type the username and password, then click the OK button.
7. Click the OK button in the ODBC Driver Setup dialog to save the object, then click
the OK button to exit.
For this procedure, the z/OS system logon and password must have DB2 BIND authority.
For more information, see the section Configuring and Connecting to Data Sources in
Chapter 5, The DB2 Wire Protocol Driver in the Progress DataDirect Connect Series for
ODBC User’s Guide, available in TIB_ADADB_HOME\odbc\help.
To create the ODBC packages on the machine where DB2 z/OS database is running,
follow these steps:
1. On the machine where TIBCO ActiveMatrix Adapter for Database is installed,
navigate to the Control Panel, then locate and double-click the Data Sources
(ODBC) icon.
2. Click the System DSN tab, then click the Add... button. The Create New Data Source
dialog is displayed.
3. Select the TIBCO 7.0.0 DB2 Wire Protocol item from the driver list, and click the
Finish button.
4. Fill in the fields on the ODBC DB2 Wire Protocol Driver Setup dialog according to
the configuration of the machine where DB2 for z/OS is running. The dialog below
shows sample data. Click the Help button for the field descriptions.
5. Click the Modify Bindings tab. Fill in the fields according to the configuration of the
machine where DB2 for z/OS is running. Figure 12 shows sample data. Click the Help
button for field descriptions.
Figure 12 Modify Bindings Tab in the ODBC DB2 Driver Setup Dialog
6. Click the Modify Bindings button to generate the ODBC packages on the machine
where DB2 for z/OS is running. You will need your z/OS system logon and password.
A status message displays when the packages are created.
To verify the packages, submit a SQL statement to execute in DB2 for z/OS using, for
example, SPUFI from TSO/ISPF or DB2 Command Center from NT. The following
statement uses the values shown in step 4 above; use values that are appropriate to your
configuration.
SELECT * FROM SYSIBM.SYSPACKAGE where name like ’DEF00%’ and COLLI = ’DATADIRECT00’
If output similar to the following appears, the packages have been successfully created.
LOCATION COLLID NAME CONTOKEN
---------+---------+---------+---------+---------+-------
DATADIRECT00 DEF00A ìàâàêà .
DATADIRECT00 DEF00B ìàâàêà .
DATADIRECT00 DEF00C ìàâàêà .
To create the JDBC packages on the machine where DB2 for z/OS is running, follow these
steps:
1. On the machine where TIBCO ActiveMatrix Adapter for Database is installed, start
TIBCO Designer and display the Connection tab for the adapter.
2. Enter the following JDBC driver and URL information:
— JDBC Driver tibcosoftwareinc.jdbc.db2.DB2Driver
3. Click the Test Connection button to generate the JDBC packages on the machine
where DB2 for z/OS is running. You will need your z/OS system logon and password.
When the packages are created, a Successful Connection message displays and three
packages are cataloged in DB2 for z/OS.
To verify the packages, submit a SQL statement to execute in DB2 for z/OS using, for
example, SPUFI from TSO/ISPF or DB2 Command Center from NT. The following
statement uses the values shown in step 2 above; use values that are appropriate to your
configuration.
SELECT * FROM SYSIBM.SYSPACKAGE where name like 'DEF00%' and COLLID = 'DATADIRECT00'
If output similar to the following appears, the packages have been successfully created.
LOCATION COLLID NAME CONTOKEN
---------+---------+---------+---------+---------+-------
DATADIRECT00 DEF00A ¢àâä.àâ.
DATADIRECT00 DEF00B ¢àâä.àâ.
DATADIRECT00 DEF00C ¢àâä.àâ.
2. Click the System DSN tab, then click the Add... button. The Create New Data Source
dialog is displayed.
3. Select the Teradata item from the Name column, and click the Finish button.
4. Fill in the fields on the ODBC Driver Setup For Teradata Database dialog according to
the configuration of the machine where Teradata database is running. Click the Help
button for the field descriptions.
5. Click the Options >> button on the ODBC Driver Setup For Teradata Database
dialog. The Teradata ODBC Driver Options dialog is displayed, as shown in
Figure 13.
3. Select the TIBCO 7.00 PostgreSQL Wire Protocol item from the Name column, and
then click the Finish button in the Create New Data Source dialog. The ODBC
PostgreSQL Wire Protocol Driver Setup dialog is displayed, as shown in Figure 15.
Figure 15 Filling in Fields on the ODBC Driver Setup for PostgreSQL Database
4. Fill in the fields on the ODBC PostgreSQL Wire Protocol Driver Setup dialog
according to the configuration of the machine where the PostgreSQL database is
running. Click the Apply button to save the configuration. Then click the Test
Connect button to test the connection. The Logon to PostgreSQL Wire Protocol
dialog is displayed, as shown in Figure 16.
5. Type the username and password in the Logon to PostgreSQL Wire Protocol dialog,
then click the OK button.
6. Click the OK button in the ODBC Driver Setup dialog to save the configuration.
7. Click the OK button in the ODBC Data Source Administrator dialog to exit.
Connecting to an EnterpriseDB
To connect to an EnterpriseDB, complete the following steps:
1. Navigate to the Control Panel window, then locate and double-click the Data Sources
(ODBC) icon.
2. Click the System DSN tab, then click the Add... button. The Create New Data Source
dialog is displayed, as shown in Figure 17.
3. Select the EnterpriseDB 9.1 (ANSI) or EnterpriseDB 9.1 (UNICODE) item from
the Name column, and click the Finish button. The EnterpriseDB ODBC Driver
dialog is displayed, as shown in Figure 18.
Figure 18 Filling in Fields on the ODBC Driver Setup for EnterpriseDB Database
4. Fill in the fields on the dialog according to the configuration of the machine where
EnterpriseDB database is running. Then, click the Test button to test the connection.
The Connection Test dialog is displayed.
5. Click the OK button in the Connection Test dialog if it successfully connected. Click
the Save button to save the configuration in the EnterpriseDB ODBC Driver dialog.
6. Click the OK button in the ODBC Data Source Administrator dialog to exit.
Additional Tasks
If using the SSL feature for ODBC drivers, the path to the driver libraries need to be added
to the environment variable PATH.
For example, set PATH=TIB_ADADB_HOME\odbc\Drivers;%PATH%
TIBCO ActiveMatrix Adapter for Database is now installed. See TIBCO ActiveMatrix
Adapter for Database Configuration and Deployment for additional configuration tasks
and instructions to perform various procedures, including tutorials.
Before running TIBCO ActiveMatrix Adapter for Database on a UNIX platform, you need
to complete the following tasks:
• Setting Environment Variables, page 40
• Setting Directory Permissions, page 40
• Configuring the Adapter in TIBCO Designer, page 41
• Configuring the ODBC System Data Source, page 42
• Optionally Installing Custom ODBC Drivers, page 42
• Installing Additional TIBCO Software, page 46
When using the Oracle non-wire protocol driver, ODBC_HOME/lib must always appear in
LD_LIBRARY_PATH before any database vendor's lib directory, such as ORACLE_HOME/lib.
Make sure that all adapter users have read and write permissions for the odbc.ini file. This
file is located in TIB_ADADB_HOME/odbc.
Make sure that all adapter users have read, write, and execute permissions for the
following directories where the adapter files and configuration information are stored:
TIB_ADADB_HOME/bin
TIB_ADADB_HOME/logs
TIB_ADADB_HOME/ledger
TIB_ADADB_HOME/sql
TIBCO_HOME/tra/TRA_version/logs
TIBCO_HOME/logs
For example, if you install the adapter in /opt/tibco, you can make these directories writable
for all other users by executing the following commands:
% chmod a+w /opt/tibco/adapter/adadb/version/bin
% chmod a+w /opt/tibco/adapter/adadb/version/logs
% chmod a+w /opt/tibco/adapter/adadb/version/ledger
% chmod a+w /opt/tibco/adapter/adadb/version/sql
% chmod a+w /opt/tibco/tra/TRA_version/logs
When configuring the adapter instance in TIBCO Designer, you need to add the JDBC
driver file into the adapter installation library directory: TIB_ADADB_HOME/lib
For example:
For MySQL database:
TIB_ADADB_HOME/lib/mysql-connector-java-version-bin.jar
For Teradata database:
TIB_ADADB_HOME/lib/tdgssconfig.jar
TIB_ADADB_HOME/lib/terajdbc4.jar
For PostgreSQL database:
TIB_ADADB_HOME/lib/postgresql-9.0-801.jdbc3
TIB_ADADB_HOME/lib/postgresql-9.0-801.jdbc4
The data source on UNIX systems is configured by using the odbc.ini file. This file is
located in TIB_ADADB_HOME/odbc.
See the ODBC driver documentation for information on configuring your system data
sources.
For Oracle, the EnableTimestampWithTimeZone parameter in the odbc.ini file is set to 1. For more
information, see TIBCO ActiveMatrix Adapter for Database Configuration and
Deployment.
The adapter can connect to a DB2 database running on z/OS. (TIBCO ActiveMatrix
Adapter for Database itself cannot run on z/OS.)
In order to connect to the database, you need to create ODBC and JDBC packages on the
machine where DB2 for z/OS is running. Once the packages are created, they can be used
by PUBLIC. The packages can be used as long as you are using the TIBCO 5.30 DB2
Wire Protocol driver. If you upgrade to a newer driver, you will need to repeat these
procedures with the new driver.
To connect to a DB2 for z/OS database, follow the instructions in the section Configuring
and Connecting to Data Sources in Chapter 5, The DB2 Wire Protocol Driver in Progress
DataDirect Connect Series for ODBC User’s Guide, available at TIB_ADADB_HOME/doc/help.
For this procedure, the z/OS system logon and password must have DB2 BIND authority.
b. Open the folder and run the ./Configure command. By default, the files are installed
into the /usr/local directory. As is usual with configure, this location can be changed
by altering the prefix option to configure.
./configure --prefix=/home/adb/unixODBC --enable-gui=no
c. Enter the lib directory of this folder, and find the MySQL ODBC driver library,
libmyodbc5.so, and the MySQL ODBC setup library for ODBCConfig GUI tool of
unixODBC, libmyodbc3S.so.
Use odbcinst tool of unixODBC to register the MySQL ODBC driver.
Go to the $unixODBC_HOME/bin directory, and find the odbcinst command there.
Create an odbcinst_mysql.ini template file for MySQL ODBC driver. For example:
[MySQL ODBC 5.1 Driver]
Driver = /home/adb/odbc/installation/mysql/mysql-connector-odbc-5.1.5-linux-x86-32bit/lib/libmyodbc5.so
SETUP =
/home/adb/odbc/installation/mysql/mysql-connector-odbc-5.1.5-linux-x86-32bit/lib/libmyodbc3S.so
-d driver
SERVER = localhost
USER = ODBC
PASSWORD =
PORT = 3306
DATABASE = test
option = 0
initstmt =
socket =
sslca =
sslcapath =
sslcert =
sslcipher =
sslkey =
charset =
sslverify =
readtimeout =
writetimeout =
-s data source
-h user dsn
export ODBCINI=path_of_odbc_mysql.ini
tibco.env.ODBCINI /home/adb/unixODBC/dsn_template/MySQL_dsn_template.ini
tibco.env.CUSTOM_LIB_PATH unixODBC_HOME/lib%PSP%%TIB_ADADB_HOME%/odbc/lib
export ODBCINI=path_of_odbc_tera.ini
tibco.env.ODBCINI path_of_odbc_tera.ini
tibco.env.CUSTOM_LIB_PATH
TERADATA_HOME/teradata_version/client/odbc_32/lib:path_of_other library files
On HP-UX IA platform, the adapter uses a 64-bit driver, so for all the ODBC driver paths,
you must point to the odbc_64 directory instead of odbc_32.
• Do not install the 32-bit TIBCO RV using installing 32-bit TIBCO TRA which
embeds the 32-bit TIBCO RV installation.
• The following procedure applies for all versions Windows platforms supported by
TIBCO ActiveMatrix Adapter for Database.
• The following procedure applies only for 64-bit TRA 5.7.3 and 5.7.4.
To ensure 32-bit TIBCO ActiveMatrix Adapter for Database can run on 64-bit TIBCO
Runtime Agent version 5.7.4, you need to complete the following steps:
1. Install 64-bit TIBCO Rendezvous (RV) and TIBCO Runtime Agent (TRA) 5.7.3 or
5.7.4 in one installation environment. For example: 64BIT_TIBCO_HOME.
2. Install 32-bit TIBCO RV and TRA 5.7.3 or 5.7.4 in a new installation environment.
For example: 32BIT_TIBCO_HOME.
3. Install 32-bit TIBCO ActiveMatrix Adapter for Database in 64BIT_TIBCO_HOME.
4. Make the following changes in the adbagent.tra file which is in the
TIB_ADADB_HOME\bin directory.
This section lists some common installation errors along with their causes and solutions.
Topics
The installer on UNIX usually opens an additional window for graphics when operating in
GUI Mode. The DISPLAY environment variable tells the installer on which computer to
open the window. If this variable is not set, the installer will either wait or abort after
displaying the following output:
InstallShield Wizard
Initializing InstallShield Wizard...
Preparing Java(tm) Virtual Machine...
...................................
...................................
........
You set the DISPLAY variable to the IP address or name of the computer on which the
installer graphics window are to be displayed, followed by a screen address, which can be
:0.0. For example:
# Bourne shell
DISPLAY=ip_address:0.0; export DISPLAY
# Korn shell
export DISPLAY=ip_address:0.0
# C-shell
setenv DISPLAY ip_address:0.0
For example, consider a scenario where you need to install the adapter on a remote
HP-UX machine (named itaska). Because you have a Solaris 5.6 machine (named alaska) that
has a video card and monitor installed, you can run an X-window application on it. So you
decide to telnet to itaska from alaska.
When you telnet to itaska, you will not get access to itaska's monitor and will be unable to
display an X-window application. That is why you must set the DISPLAY variable, which
instructs the X-server to redirect all windows to the computer set in the variable. Before
doing so, the computer (specified in the DISPLAY variable) must give permissions to share
its monitor.
alaska> xhost + # give permission for all to its share monitor
alaska> telnet itaska
Welcome to HP-UX itaska 11.00
User:
Password:
itaska> export DISPLAY=alaska:0.0 # set display on alaska
itaska> installation_package
On HP-UX and AIX platforms, even though the correct version of TIBCO Runtime Agent
is already installed on the system, installation of an adapter that depends on TIBCO
Runtime Agent may fail in the dependency resolution.
The TIBCO product installer maintains the registry information in the
vpd.properties.tibco.system_name file. The value for system_name is determined by
InetAddress.getLocalHost().getHostName(). However, the method getHostName(), returns different
values based on the JRE versions used. For example, on AIX, JRE 1.3.1 returns only
system_name, whereas JRE 1.4.0 returns system_name.domain_name. Because of this, the
installer is not able to load the correct registry file.
Resolution
On UNIX platforms, the installer registry file vpd.properties.tibco.system_name is located in the
user's home directory.
Case 1: If the vpd.properties.tibco.system_name file exists:
$ cd user's_home_directory
$ ln -s vpd.properties.tibco.system_name vpd.properties.tibco.system_name.domain_name
For example:
$ cd ~
$ ln -s vpd.properties.tibco.upside vpd.properties.tibco.upside.tibco.com
For example:
$ cd ~
$ ln -s vpd.properties.tibco.upside.tibco.com vpd.properties.tibco.upside
Index
C O
changes from the previous release of TIBCO ActiveMatrix ODBC drivers documentation 8
Adapter for Database Installation x
configuring the ODBC system data source 26, 42
connecting to different databases 30
customer support xiv S
support, contacting xiv
E
ENV_NAME xii T
technical support xiv
TIB_ADADB_HOME xii
I TIBCO_HOME xii
installation modes
Console Mode 2
GUI Mode 2 U
Silent Mode 2
installation procedure uninstallation
Console Mode 16 Console Mode 21
GUI Mode 14 GUI Mode 19
Silent Mode 17
installation requirements
software requirements 5
supported platforms 5
system memory requirements 5
installation steps 13
installation type
custom 2
typical 2
installer account 3
installer log file 4