SAP Knowledge Base Article - Preview

1678319 - NoClassDefFoundError in step getUsageTypes during export of Distributed or HA environment

Symptom

  • Performing a system copy;
  • During export  the database of a Distributed or High Availability (HA) NW 7.0 system, SAPinst fails in step getUsageTypes;
  • In sapinst_dev.log, you see the following error in the end of the log:

    sapinst_dev.log
    ERROR <timestamp>

    FCO-00011  The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
  • Additionally, a warning similar to the one below can be found before the error:

    sapinst_dev.log
    WARNING    <timestamp> 

    Execution of the command "C:\j2sdk1.4.2_26-x64\bin\java.exe -classpath D:\usr\sap\ABC\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain 
    \\BRSLETST/sapmnt/ABC/SYS/global/security/lib/tools/iaik_jce.jar; \\BRSLETST/sapmnt/ABC/SYS/global/security/lib/tools/iaik_jsse.jar; \\BRSLETST/sapmnt/ABC/SYS/global/security/lib/tools/iaik_smime.jar; \\BRSLETST/sapmnt/ABC/SYS/global/security/lib/tools/iaik_ssl.jar; \\BRSLETST/sapmnt/ABC/SYS/global/security/lib/tools/w3c_http.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/antlr.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/exception.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/jddi.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/logging.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/offlineconfiguration.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/opensqlsta.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/sap.com~tc~sdt~cvl~impl.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/SDMutil.jar; D:/usr/sap/ABC/SYS/global/sltools/sharedlib/SLUtil.jar; D:\usr\sap\ABC\JC01\exe\mssjdbc\base.jar; D:\usr\sap\ABC\JC01\exe\mssjdbc\util.jar; D:\usr\sap\ABC\JC01\exe\mssjdbc\sqlserver.jar; D:\usr\sap\ABC\JC01\exe\mssjdbc\spy.jar -export -type=keydb "-expfile=C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS-JAVA/EXPCI/usages_data.xml" -log=UTL_load_usages.log -sid=ABC -dsn=jdbc/pool/ABC -ssprops=D:/usr/sap/ABC/SYS/global/security/data/SecStore.properties -ssk=D:/usr/sap/ABC/SYS/global/security/data/SecStore.key" finished with return code 1. Output: 
    java version "1.4.2_26"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_26-b03, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart

* The example above was extracted during a system copy based on Windows system

 

Note: There is a similar error message 'java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart' explained in documents below, but the installation scenario is different and so is the solution:

  • #1903663 - Java class is not found: com.sap.engine.offline.OfflineToolStart
  • #2096129 - Class not found: com/sap/engine/offline/OfflineToolStart - Error in SWPM


Read more...

Environment

  • So far, this issue has only been observed in SAP NetWeaver 7.0
  • The system is installed in Distributed or HA environment
  • It can occur in Unix/Linux or Windows

Product

SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

SAPinst, SWPM, error, fail, fails, execution, stuck, stop, crash, sapinst_dev.log, sapinst.log, root, sudo, Windows, Unix, Linux, HP-UX, Solaris, AIX, SIDadm, Switch, Cshrc, Environment, Limits, installation, migration, system copy, refresh, export, database, classpath, NoClassDefFoundError, getUsageTypes, launcher, OfflineToolStart, FCO-00011, Software Provisioning Manager , KBA , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-INS , Installation Tools (SAP Note 1669327) , BC-INS-NT , SAP Netweaver based Solutions on Windows , BC-INS-UNX , Installation Unix , BC-INS-DSS , Dual-Stack Split Tool , BC-INS-FWK , sapinst, slcb, elmbridge, elm replication service , BC-INS-JCI , Java component inst. / jload jmigmon, jsizecheck , BC-INS-MIG-MMA , MIGMON, MIGTIME, MIGCHECK and related for ABAP , BC-INS-MIG-TLA , R3load, R3ldctl, R3szchk , BC-INS-SRN , System Rename Utility , 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.