The JDBC client provides JDBC access through any Java-enabled applet, application, or application server. It delivers high-performance point-to-point and n-tier access to data sources. The client is optimized for the Java environment, allowing you to incorporate Java technology and extend the functionality and performance of your existing system.
The JDBC client runs on 32-bit and 64-bit platforms. No changes are required to existing applications to enable them to run on 64-bit platforms.
Installing the JDBC client involves the following steps:
JDBC access to the event log store is available only CA User Activity Reporting Module r12.1 and later releases. You can install the JDBC client on Windows and UNIX systems.
Users of this feature must belong to a CA User Activity Reporting Module user group that has the dataaccess privilege in the Default Data Access Policy (in the CALM access policies).
For a JDBC client, the following prerequisites apply:
See the CA User Activity Reporting Module Support Certification Matrix on http://www.ca.com/Support for details on the specific platforms supported for use with the ODBC and JDBC feature.
Use this procedure to install the JDBC client driver on a Windows system.
To install the JDBC driver
LMjc.jar LMssl14.jar
Use this procedure to install the JDBC client driver on a UNIX system.
To install the JDBC driver
LMjc.jar LMssl14.jar
chmod -R ugo+x file_location
The value for file_location is the directory where you installed the JDBC client. This step enables you to execute shell scripts supplied with the installed client.
Various applications require certain connection parameters to use the JDBC client driver. The usual parameters include the following:
The JDBC connection string (URL) is in the following format:
jdbc:ca-elm://[CA-ELM_host_name]:[ODBC/JDBCport];ServerDataSource=Default;
The JDBC driver class name is:
com.ca.jdbc.openaccess.OpenAccessDriver
When using the JDBC client to access event data stored in CA User Activity Reporting Module, you need both the JDBC Classpath and a JDBC URL. The JDBC Classpath names the driver JAR file locations. The JDBC URL defines the parameters the classes in the JARs use when they load.
The following is a complete, sample JDBC URL:
jdbc:ca-elm://127.0.0.1:17002;encrypted=1;ServerDataSource=Default;CustomProperties=(querytimeout=600;queryfederated=true;queryfetchrows=1000;offsetmins=0;suppressNoncriticalErrors=false)
The following descriptions explain the URL components:
Defines the protocol:subprotocol string that designates the JDBC driver provided with CA User Activity Reporting Module.
Names the IP address that represents the CA User Activity Reporting Module server whose data you want to access. The port number is the port to use for the communications, and must match the setting in the CA User Activity Reporting Module ODBC Service configuration panel. If the ports do not match, the connection attempt fails.
Determines whether SSL encryption is used for the communications between the JDBC client and the CA User Activity Reporting Module server. The default value is 0, not encrypted, and does not require specification in the URL. Setting encrypted=1 turns encryption on. Set the connection to encryption explicitly. In addition, this setting must match what you configure in the CA User Activity Reporting Module ODBC Service dialog or the connection attempt fails.
Specifies the name of the data source. Set this value to Default for access to the CA User Activity Reporting Module event log store.
These properties are the same as the ODBC custom properties. If you do not specify them explicitly, the default values shown in the example URL apply.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|