SAP Knowledge Base Article - Preview

2569199 - NoClassDefFoundError exception for class com/sap/engine/offline/OfflineToolStart encountered during dual-stack split

Symptom

  • You are performing a dual stack split using the Software Provisioning Manager tool (SWPM) tool
     
  • During the export of the primary application server, the following error is encountered in the sapinst_dev.log:
<html> <head> </head> <body> <p> An error occurred while processing option Dual-Stack Split > IBM DB2 for Linux, UNIX, and Windows > Keep Database > Standard System or Distributed System > Export Primary Application Server of Dual-Stack System
(Last error reported by the step: Execution of UTL tool '/usr/sap/<SID>/<Instance>/exe/sapjvm_<version>/bin/java -classpath /sapmnt/<SID>/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar 
-showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/upgrade/<SWPM DIR>/COMMON/INSTALL/UTL:/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:/sapmnt/<SID>/global/sltools/sharedlib:/usr/sap/<SID>/SYS/global/db6/jdbc/db2jcc4.jar
-export -type=keydb -expfile=usages_data_<SID>.xml -log=UTL_load_usages.log -sid=<SID> -dsn=jdbc/pool/<SID> -ssprops=/usr/sap/<SID>/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/<SID>/SYS/global/security/data/SecStore.key'
aborts with return code 1.
Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/DSS/KeepDB/DB6/ExportPAS/UTL.java.log' for more information). You can now:
  • The UTL.java.log noted in the error above, contains the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
Caused by: java.lang.ClassNotFoundException: com.sap.engine.offline.OfflineToolStart
  at java.net.URLClassLoader$1.run(URLClassLoader.java:281)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:269)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:376)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
Could not find the main class: com.sap.engine.offline.OfflineToolStart.  Program will exit.
  • Below are other documents with similar error messages, but the scenario and solution is different:
    • 1903663 - Java class is not found: com.sap.engine.offline.OfflineToolStart
    • 1678319 - NoClassDefFoundError in step getUsageTypes during export of Distributed or HA environment

Read more...

Environment

  • Dual-Stack Split
  • OS Independent
  • DB Independent

Keywords

virtual machine, JVM, create, tool, start, java, OfflineToolStart , KBA , BC-INS-DSS , Dual-Stack Split Tool , 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.