SAP Knowledge Base Article - Preview

2974183 - "Error while connecting to DB" returned when trying to start Java system - SAP ASE for Business Suite

Symptom

  • The dev_jstart reports "exit code 558":

    F
    F  ********************************************************************************
    F  *** ERROR => Node 'bootstrap' failed with exit code 558.
    F  ***
    F  *** Please see section 'Failures in the 'synchronizing binaries' phase'
    F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
    F  ********************************************************************************
    F
    F  [Thr 140737353860960] *** LOG => exiting (exitcode 22002, retcode 1).

  •  The "Error while connecting to DB" is reported in jvm_boostrap.out log, caused by "Login Failed" as in this sample:

Starting to initialize database connection

Exception occurred for component [internal/unkown] of type [unkown]
com.sap.engine.bootstrap.SynchronizationException: Storage access initialization failed due to OpenSQL error.Check if your db driver file is available on the file system or if the user has correct permissions for that file
        at com.sap.engine.bootstrap.StorageAccess.<init>(StorageAccess.java:146)
        at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:79)

.....
.....

----------==[ Caused by: ]==----------
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

...
...
Caused by: com.sap.sql.log.OpenSQLException: Exception of type java.sql.SQLException caught: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s)..
        at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:104)
        at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:143)
        at com.sap.sql.connect.datasource.DBDataSourceImpl.get(DBDataSourceImpl.java:286)
...
...

        ... 13 more
Caused by: java.sql.SQLException: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s).
        at com.sybase.jdbc4.jdbc.ErrorMessage.raiseError(ErrorMessage.java:775)
        at com.sybase.jdbc4.tds.Tds.processLoginAckToken(Tds.java:5389)
        at com.sybase.jdbc4.tds.Tds.doLogin(Tds.java:780)
        at com.sybase.jdbc4.tds.Tds.login(Tds.java:579)
        at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:424)

...
...

  • Same errors can be reported in the configtool.*.trc


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions (Java AS)

Product

SAP NetWeaver 7.4

Keywords

bootstrap, "exit code 558", "login failed", JZ00L, SAPSR3DB, config tool, configtool, dev_jstart , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.