SAP Knowledge Base Article - Preview

2058923 - NoClassDefFoundError: iaik/utils/Base64Exception

Symptom

  • Symptom1 

    The installation of Diagnostics Agent finished successfully in SWPM. However the DAA service does not start (started with yellow in SAPMMC).
    In <Drive>:\usr\sap\<DA SID>\SMDA<Instance number>\work\, no dev_smdagent is generated.
    In dev_jstart, some warnings like below might be detected.

F [Thr 6032] *** CONFIG => Message Server client disabled.
F [Thr 6032] *** CONFIG => Enqueue Server client disabled.
F [Thr 6032] *** WARNING => SfCConfig::parseFile: cannot open file 'C:\usr\sap\DAA\SMDA97\j2ee\cluster\instance.properties' for input. [sfxxlib.hpp 3196]
F [Thr 6032] *** WARNING => SfCInstanceManager::newState: unknown runMode ''. [sfxxinst.hpp 1218]
F [Thr 6032] *** LOG => Starting run level 3.
F [Thr 6032] *** WARNING => SfCInstConfig::getInstanceId: cannot identify instance ID. [sfxxcfg.hpp 218]

        In smd_installinfo.log, you find the following error message.

smd class version: : 7.20.9.0.20190613072304
--------------------------------

------- Prerequisites ----------
- Java version OK.
Exception in thread "main" java.lang.NoClassDefFoundError: iaik/utils/Base64InputStream
at com.sap.smd.agent.security.SecureStorage.getAgentSecureStore(SecureStorage.java:63)
at com.sap.smd.util.AgentCertificateManager.getCertificateKeyOfStorage(AgentCertificateManager.java:86)
at com.sap.smd.util.AgentCertificateManager.getAgentKeyStore(AgentCertificateManager.java:361)
at com.sap.smd.util.AgentCertificateManager.getSslCertChain(AgentCertificateManager.java:225)
at com.sap.smd.util.AgentCertificateCheck.checkSslCertificate(AgentCertificateCheck.java:72)
at com.sap.smd.setup.SetupTask.checkPrerequisites(SetupTask.java:123)
at com.sap.smd.setup.tasks.InstallationInfoGenerator.main(InstallationInfoGenerator.java:34)
Caused by: java.lang.ClassNotFoundException: iaik.utils.Base64InputStream

  • Symptom2

    When running the smdsetup command "managingconf", it will fail and throw the following exception:


Exception in thread "main" java.lang.NoClassDefFoundError: iaik/utils/Base64Exception

Caused by: java.lang.ClassNotFoundException: iaik.utils.Base64Exception
        at java.net.URLClassLoader$1.run(URLClassLoader.java:255)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:243)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:372)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:313)
Could not find the main class: com.sap.security.core.server.secstorefs.SecStoreFS.  Program will exit.

! Error ! during diagnostics agent configuration generation.

  


Read more...

Environment

  • SAP Solution Manager 7.20
  • Any version of Diagnostics Agent

Product

SAP Solution Manager 7.1 ; SAP enhancement package 1 for SAP Solution Manager 7.0

Keywords

smdsetup , managingconf, lib\iaik\iaik_jce.jar , lib\iaik_jce_export.jar , Exception in thread "main" java.lang.NoClassDefFoundError: iaik/utils/Base64Exception java.lang.NoClassDefFoundError: iaik/utils/Base64InputStream , KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , 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.