SAP Knowledge Base Article - Preview

2917949 - Apply JDBC driver 8.2

Symptom

There is something wrong with jdbc driver issue during PI 7.5 upgrade as described in note 2906652. You want to update the driver but you are not clear about detailed steps to apply the new jdbc driver.

Corresponding error messages are listed as below:

Errors occur during an upgrade and deployment in PI 7.5 Upgrade similar to this:

Start of service:sap.com/com.sap.aii.af.svc initiate service service:sap.com/com.sap.aii.af.cpa.svc start due to hard reference.
Service [com.sap.aii.af.cpa.svc] start ================= ERROR =================
CSN Component [BC-XI-CON-AFW-DC], DC Name [sap.com/com.sap.aii.af.cpa.svc]
com.sap.engine.frame.ServiceException: Could not initialize CPA cache service; reason: com.sap.aii.af.service.cpa.impl.exception.CPACacheException: Local CPA cache not initialized. Reason: com.sap.aii.af.service.cpa.impl.exception.CPADBException: Could not read CPAObject from DB. Reason: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from field com.microsoft.sqlserver.jdbc.SQLServerClobBase.value of an object loaded from local variable 'this'

or in XI Upgrade 7.5:

Catching java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from field com.microsoft.sqlserver.jdbc.SQLServerClobBase.value of an object loaded from local variable 'this'
at com.microsoft.sqlserver.jdbc.SQLServerClobBase.length(SQLServerClob.java:388)
at com.microsoft.sqlserver.jdbc.SQLServerClob.length(SQLServerClob.java:97)
at com.sap.sql.jdbc.common.CommonWrappedClob.length(CommonWrappedClob.java:59)
at com.sap.sql.jdbc.common.dispatch.ClobResultColumn.dispatchGetString(ClobResultColumn.java:33)
at com.sap.sql.jdbc.common.CommonResultSet.getString(CommonResultSet.java:455)
at com.sap.sql.jdbc.common.CommonResultSet.getString(CommonResultSet.java:464)
at com.sap.engine.services.dbpool.wrappers.ResultSetWrapper.getString(ResultSetWrapper.java:457)
at com.sap.aii.af.service.cpa.impl.container.DBAccess.setObjectEntryValue(DBAccess.java:618)
at com.sap.aii.af.service.cpa.impl.container.DBAccess.readFromResultSet(DBAccess.java:728)
at com.sap.aii.af.service.cpa.impl.schema.AdapterTypeMetaData.<init>(AdapterTypeMetaData.java:170)


Read more...

Environment

NetWeaver 7.50 with SQL server

Product

SAP NetWeaver 7.5

Keywords

SQL Server JDBC driver, 8.2, sqljdbc42.jar , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , How To

About this page

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

Search for additional results

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