Java applications on z/Linux cannot connect to CA Datacom Server
search cancel

Java applications on z/Linux cannot connect to CA Datacom Server

book

Article ID: 203918

calendar_today

Updated On:

Products

Datacom Datacom/DB Datacom/AD

Issue/Introduction

Datacom Server is installed on z/OS and Java applications on local PC's running Windows can successfully connect to the MF server.

Tried to use the same applications on z/Linux, so set it up as mentioned on the JDBC Driver Installation on UNIX section of the documentation (i.e. copied cadcjdbc.jar file) but Java applications are not connecting.

 

Environment

Release : 15.0

Component : CA DATACOM SERVER

Cause

The Java applications were using JDBC Type 2 connection, that is not supported on Linux, as mentioned on JDBC Architecture in a UNIX/Linux Environment section of DBSRV 15.0 documentation:

In a UNIX or Linux environment, the Server JDBC driver can operate as a Type 3, or Type 4 JDBC driver, depending on the type of connection used.

Resolution

Use JDBC Type 3 (via proxy server) or Type 4 (via TCP/IP) connection.