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

Java applications on z/Linux cannot connect to 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 on Windows can successfully connect to the MF server.

Tried using the same applications on z/Linux, 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.

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 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.