SAP Knowledge Base Article - Preview

2877726 - AS Java ConfigurationManager loading error java.lang.ClassNotFoundException: iaik.utils.Base64InputStream, Base64Exception

Symptom

After upgrade the Java server node startup fails by loading the Configuration Manager with a ClassNotFoundException, the server node logs contain the following messages:

dev_server0.out

F  *** LOG => SfCJavaVm: exit hook is called. (rc = -1501)
F
F ********************************************************************************
F *** ERROR => Java node 'server0' terminated with exit code -1501.
F ***
F *** Please see section 'Java program exit codes'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************
F
F  *** LOG => exiting (exitcode -1501, retcode 2).

std_server0.out

Loading [ConfigurationManager]... ERROR: Server process failed to start due to:
java.lang.NoClassDefFoundError: iaik/utils/Base64InputStream
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.<init>(DBConnectionPoolImpl.java:159)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.<init>(PersistenceHandlerImpl.java:50)
at com.sap.engine.core.configuration.impl.cache.ConfigurationController.<init>(ConfigurationController.java:140)
at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:43)
at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:189)
at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:117)
at com.sap.engine.core.Framework.loadSingleManager(Framework.java:658)
at com.sap.engine.core.Framework.loadManagers(Framework.java:409)
at com.sap.engine.core.Framework.start(Framework.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sap.engine.boot.FrameThread.startFramework(FrameThread.java:155)
at com.sap.engine.boot.FrameThread.run(FrameThread.java:179)
at com.sap.engine.boot.StartFrame.work(StartFrame.java:93)
at com.sap.engine.boot.Start.main(Start.java:38)
Caused by: java.lang.ClassNotFoundException: iaik.utils.Base64InputStream
------------------------- Loader Info -------------------------
ClassLoader name: [library:core_lib]
Loader hash code: 1816e24a
Living status: alive
Direct parent loaders:
[system:Frame]
Resources:
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~antlr~runtime.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~bl~config~impl.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~bl~cpt~impl.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~bl~guidgenerator~impl.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~bl~jarm~jarm.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQL.jar
\usr\sap\<SID>\<inst_nr>\2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQLPort.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~je~bootstrap_core_lib~impl.jar
\usr\sap\<SID>\<inst_nr>\j2ee\cluster\bin\core_lib\sap.com~tc~sec~secstorefs~java~core.jar
\usr\sap\<SID>\<inst_nr>\exe\ojdbc7.jar
---------------------------------------------------------------
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:280)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:249)
... 17 more

or 

Loading [ConfigurationManager]... ERROR: Server process failed to start due to:
java.lang.NoClassDefFoundError: iaik/utils/Base64Exception
 at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.<init>(DBConnectionPoolImpl.java:159)
 at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.<init>(PersistenceHandlerImpl.java:50)
 at com.sap.engine.core.configuration.impl.cache.ConfigurationController.<init>(ConfigurationController.java:140)
 at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:43)
 at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:189)
 at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:117)
 at com.sap.engine.core.Framework.loadSingleManager(Framework.java:658)
 at com.sap.engine.core.Framework.loadManagers(Framework.java:409)
 at com.sap.engine.core.Framework.start(Framework.java:342)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.sap.engine.boot.FrameThread.startFramework(FrameThread.java:155)
 at com.sap.engine.boot.FrameThread.run(FrameThread.java:179)
 at com.sap.engine.boot.StartFrame.work(StartFrame.java:93)
 at com.sap.engine.boot.Start.main(Start.java:38)
Caused by: java.lang.ClassNotFoundException: iaik.utils.Base64Exception


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver 7.5

Keywords

Base64InputStream Base64Exception , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JAS-SEC-CPG , Cryptography , 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.