SAP Knowledge Base Article - Preview

3148301 - HANA JDBC driver error out when using the compress=true property

Symptom

Trying to enable the compression option in the HANA JDBC driver by adding the compress=true parameter to the driver url. It is giving the error below when running on the server:


java.lang.IllegalAccessError: tried to access class net.jpountz.lz4.LZ4JavaSafeFastDecompressor from class com.sap.db.jdbc.Session
        at com.sap.db.jdbc.Session._getDecompressor(Session.java:1552) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.Session._receivePacket(Session.java:1330) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.Session.receive(Session.java:714) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ConnectionSapDB._receive(ConnectionSapDB.java:4469) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ConnectionSapDB.exchange(ConnectionSapDB.java:1876) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ResultSetSapDB._executeFetchNext(ResultSetSapDB.java:5512) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ResultSetSapDB._fetchNextChunk(ResultSetSapDB.java:5373) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ResultSetSapDB._next(ResultSetSapDB.java:5088) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.sap.db.jdbc.ResultSetSapDB.next(ResultSetSapDB.java:158) ~[ngdbc-2.5.49.jar:2.5.49-8d47cb0b41d6276db7b237079aff4a93cba668ef]
        at com.callidus.pipeline.readsvcs.JDBCReadSvc.execAndCacheLWs(JDBCReadSvc.java:264) ~[pipeline.jar:?]


Read more...

Environment

Source: portal
Type: Productive System
System ID/Name: A00 / A00
Product version: SAP HANA, platform edition 2.0
System managed by: onPrem
Install base item: A00
Sold product: Hana Database installations

Product

SAP HANA, platform edition 2.0

Keywords

KBA , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.