SAP Knowledge Base Article - Preview

2706525 - Bootstrap terminates with exit code 558 - Error while connecting to DB - ClassNotFoundException

Symptom

AS Java fails to start and terminates at bootstrap phase. When opening ConfitTool it shows the error:

Bootstrap_Fails.PNG

Error occured while scanning DB.
Msg: Error while connection to DB.

The following log entries can be detected:

  • dev_jstart:
      
    Node bootstrap failed: result 1, exit code 558.
      
  • dev_bootstrap:
      
    F  [Thr 7244] *** LOG => SfCJavaVm: exit hook is called. (rc = 558)

    F  ********************************************************************************
    F  *** ERROR => Java node 'Instance_bootstrap' terminated with exit code 558.
    F  ***
    F  *** Please see section 'Java program exit codes'
    F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
    F  ********************************************************************************

    F  [Thr 7244] *** LOG => exiting (exitcode 558, retcode 1).
      
  • jvm_bootstrap and configtool.trc:
     
    [...]
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
    [...]
    Caused by: com.sap.sql.log.<Specific DB related>Exception: Could not load class <Driver Name> with class loader com.sap.engine.offline.FileClassLoader@2e518924.
    [...]
    Caused by: java.lang.ClassNotFoundException: <Driver Name>
    [...]
      
  • configtool.log:
     
    Error details: Error while connecting to DB.


Read more...

Environment

  • SAP NetWeaver Application Server for Java all versions
  • All JDBC Driver versions

Product

SAP NetWeaver Application Server for Java all versions ; SAP NetWeaver all versions

Keywords

jdbc driver, bootstrap, as java fails to start, Error while connecting to DB, terminated with exit code 558, exit code 558, ClassNotFoundException , KBA , BC-JAS-SF , Startup Framework , HAN-DB , SAP HANA Database , BC-DB-ORA , Oracle , BC-DB-SDB , MaxDB , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-DB-DB2 , DB2 for z/OS , 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.