Installing JDBC Gateway
The JDBC Gateway is a IBM Data Virtualization Manager for z/OS distributed application server that allows direct connectivity to JDBC data sources. Install the JDBC Gateway to connect directly to JDBC data sources.
Before you begin
- For an overview of the JDBC Gateway solution, see Using JDBC Gateway.
- The following terminology is used in the installation procedure:
- JDBC Gateway server. The server is the backend component that allows communication with the IBM Data Virtualization Manager for z/OS server.
- JDBC Gateway administrative console. The administrative console is the front-end web component that you use to configure your data sources. Only a single user (web client) can access the JDBC Gateway administrative console at a time. When installing the JDBC Gateway, you must specify a specific user ID for this purpose. This user ID is an internal application ID that allows access to the web user interface.
- Port for the Web UI. This port will be used to access the Web-based
administrative console and is specified during the installation procedure.Note: The JDBC Gateway also uses another port to listen for incoming DRDA requests. This DRDA listener port is set later when configuring the JDBC Gateway.
- Before installing the JDBC Gateway, verify
that all installation requirements are met, as follows:
System component Requirement Permissions You have appropriate user logon credentials and user privileges on your client system to install the JDBC Gateway. For example, to install and deploy the JDBC Gateway on Windows, you may need to run with administrator privileges depending on the target location. Supported platforms The JDBC Gateway is a pure Java application and therefore can be deployed on any platform that supports Java 8 or higher. System memory Minimum of 1 GB Hard disk space Minimum of 500 MB Software - Java 8 is required to install and deploy JDBC Gateway.
- One of the following web browsers (with JavaScript support enabled) must be
used to access the JDBC Gateway administrative console:
- Google Chrome browser V50.0.2661.102 or later
- Mozilla Firefox V47.0.1 or later
- Microsoft Edge V25.10586.0.0 or later
- Microsoft Internet Explorer V10 or later
- Apple Safari browser V9.0.3 or later
- Database connectivity requires an appropriate JDBC driver for each type of data source that is accessed.
About this task
During the installation, you must specify a user ID to be used for the JDBC Gateway administrative console. When using the JDBC Gateway administrative console, only a single user can access the administrative console at a time.
- The jgate.properties file is created, which contains the site-specific settings.
- Start and stop scripts appropriate to the platform are created. The installer creates
cmd
scripts if you are running on Windows andsh
scripts if you are running on Unix or Linux.
export IBM_JAVA_OPTIONS="-Dfile.encoding=ISO8859-1"
export _BPXK_AUTOCVT=ON
- If you have not set the recommended environment variables, the scripts will be
generated in EBCDIC. You can run the gateway as normal for Unix using the following
command:
sh startServer.sh
- If you set the
IBM_JAVA_OPTIONS
variable, the scripts will be generated in ASCII, and you will need to use the following command:chtag -tc ISO8859-1 <file>
. (Tagging in USS basically means_BPXK_AUTOCVT
must beON
if you want to edit or execute the script in the shell.)
Files generated by the JDBC Gateway, such as log files and the jgate.properties file, will be
generated in ASCII regardless of the aforementioned environment variable settings (except
for jetty.out, which is in EBCDIC). In order to browse these files
natively in USS, you must use the chtag
command and set
_BPXK_AUTOCVT=ON
.
Procedure
Results
The JDBC Gateway has been installed and is ready for use. Information about the activity of the JDBC Gateway is available in the Java Console and in the log files.
If you specified to start the server, information about the startup process is displayed.