2529875 - JDBC driver not found during HANA Database Instance Export | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2529875 - JDBC driver not found during HANA Database Instance Export

Symptom

During the System Copy of a Netweaver AS Java system, SWPM stops with the following error in step loadUsageTypes of the Database Instance Export:

Error-Java-Export.png


The following messages are displayed in the respective log files:

sapinst_dev.log

ERROR 2017-09-03 18:30:30.297 (lroot/sapinst) (startInstallation) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/sapinst/CSiStepExecute.cpp:1122] id=controller.stepExecuted errno=FCO-00011
The step loadUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|javaUnload|0|NW_JAVA_Export_PREPARE|ind|ind|ind|ind|prep|0|SAP_Software_Features_Init|ind|ind|ind|ind|initSoftwareFeatures|0|loadUsageTypes was executed with status ERROR ( Last error reported by the step: Execution of UTL tool '/usr/sap/PLE/J00/exe/sapjvm_6/bin/java -classpath /sapmnt/PLE/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /HANAmig/downloads/SWPM/COMMON/INSTALL/UTL:/usr/sap/PLE/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/PLE/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/PLE/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/PLE/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/PLE/SYS/global/security/lib/tools/w3c_http.jar:/sapmnt/PLE/global/sltools/sharedlib:/ngdbc.jar -export -type=keydb -expfile=usages_data_PLE.xml -log=UTL_load_usages.log -sid=PLE -dsn=jdbc/pool/PLE -ssprops=/usr/sap/PLE/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/PLE/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/NW740SR2/HDB/COPY/EXP/AS-JAVA/EXP/UTL.java.log' for more information.).

UTL_load_usages.log

Sep 3, 2017 6:15:02 PM Info : Establishing DB connection...

Sep 3, 2017 6:15:03 PM Path : Exception : The DataBase is down or the connection parameters are wrong: -sid=PLE -dsn=jdbc/pool/PLE -ssprops=/usr/sap/PLE/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/PLE/SYS/global/security/data/SecStore.key -keyphrase=null
java.lang.Exception
Caused by: com.sap.sql.log.OpenSQLException: Could not load class com.sap.db.jdbc.Driver with class loader com.sap.engine.offline.FileClassLoader@15173950.
(...)
Caused by: java.lang.ClassNotFoundException: com.sap.db.jdbc.Driver

UTL.java.log

java version "1.6.0_81"
Java(TM) SE Runtime Environment (build 6.1.071)
SAP Java Server VM (build 6.1.071 24.55-b03, Sep 28 2014 00:36:48 - 61_REL - optU - linux amd64 - 6 - bas2:226310 (mixed mode))
INFO: Loading tool launcher...
INFO: [OS: Linux] [VM vendor: SAP AG] [VM version: 1.6.0_81] [VM type: SAP Java Server VM]
WARNING: File "/ngdbc.jar" stated but not found
INFO: Main class to start: "com.sap.sl.ut.manager.UtlMain"
INFO: Loading 42 JAR files: ......

Read more...

Environment

  • SAP Netweaver AS Java 
  • SAP HANA Database
  • Unix

Product

SAP NetWeaver all versions

Keywords

migration, OS, DB, database connection issue, jload, linux, root, path , KBA , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-INS-SWPM , Installation with Software Provisioning Manager , Problem

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.