SAP Knowledge Base Article - Preview

2096129 - Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart

Symptom

During an installation or a system copy, the Software Provisioning Manager tool (SWPM) executed a java command, however it returns the issue below:

sapinst_dev.log
WARNING    <timestamp>
           CJSlibModule::writeWarning_impl()
Execution of the command "/<installation path>/NW731/DB6/COPY/SYSTEM/STD/AS-JAVA/sapjvm/sapjvm_6/bin/java -classpath /<installation path>/NW731/DB6/COPY/SYSTEM/STD/AS-JAVA/install/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar
-showversion -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError com.sap.engine.offline.OfflineToolStart com.sap.inst.jmigmon.jMigMon /usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jsse.jar:
/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/<SID>/SYS/global/security/lib/tools/w3c_http.jar:/sapbackup/sapinst_instdir/NW731/DB6/COPY/SYSTEM/STD/AS-JAVA/install/sltools/sharedlib:
/usr/sap/<SID>/SYS/global/db6/jdbc/db2jcc4.jar -mode import -sid <SID> -dsn jdbc/pool/<SID> -ssprops /usr/sap/<SID>/SYS/global/security/data/SecStore.properties -sskey /usr/sap/<SID>/SYS/global/security/data/SecStore.key
-importDirs /<path to java DVD>/JAVA/JDMP -suppressVerboseLog" finished with return code 1. Output:

java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 6.1.037)
SAP Java Server VM (build 6.1.037 19.1-b02, Jan  4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode))
 
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
..
Could not find the main class: com.sap.engine.offline.OfflineToolStart.  Program will exit.

* The example above was extracted during a system copy (step JMigmonJavaDump) of a system based on SAP NetWeaver 7.3 EHP 1.

 

There is a similar error message above explained in SAP Note #1903663, but the installation scenario is different and so is the solution.
#1903663 - Java class is not found: com.sap.engine.offline.OfflineToolStart


Read more...

Environment

  • Systems based on SAP NetWeaver 7.0 or higher;
  • OS Independent;
  • DB Independent.

Product

SAP NetWeaver all versions

Keywords

Installation, Installer, Install, System Copy, Copying, Migration, Migrate, Migrating, Software Provioning Manager, SWPM, SAPinst, Media, NetWeaver, NW, 70, 700, 7.0, 7.00, 701, 7.01, 702, 7.02, 703, 7.03, 71, 710, 7.1, 7.10, 711, 7.11, 72, 720, 7.2, 7.20, 73, 730, 7.30, 7.3, 74, 740, 7.4, 7.40, 75, 750, 7.50, 7.5, Launcher.jar, Java, Classpath, OfflineToolStart, Method, Not Found, Missing , KBA , BC-INS-JCI , Java component inst. / jload jmigmon, jsizecheck , BC-INS , Inst.Tools - Use subcomponents; SAP Note 1669327 , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-INS-NT , Installation Windows , 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.