SAP Knowledge Base Article - Preview

3429761 - AS Java fails to start while using secured JDBC scenario - handshake failure - exit code 558

Symptom

While connecting AS Java to Database (DB) with secured (SSL enabled) JDBC, application server fails to start. You can find exceptions in specific log files:

dev_jstart:

[...]
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 140583765067648] *** LOG => exiting (exitcode 22002, retcode 1).
[...]

dev_bootstrap:

[...]
F  [Thr 139996745672448] *** LOG => SfCJavaVm: exit hook is called. (rc = 558)
F  
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.
[...]

jvm_bootstrap:

[...]
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
               at sun.security.ssl.Alert.createSSLException(Alert.java:131)
               at sun.security.ssl.Alert.createSSLException(Alert.java:117)
               at sun.security.ssl.TransportContext.fatal(TransportContext.java:357)
               at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293)
               at sun.security.ssl.TransportContext.dispatch(TransportContext.java:203)
               at sun.security.ssl.SSLTransport.decode(SSLTransport.java:155)
               at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1320)
               at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1233)
               at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:417)
               at sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:837)
               at sun.security.ssl.SSLSocketImpl.access$200(SSLSocketImpl.java:76)
               at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1138)
               at com.ibm.db2.jcc.t4.ae.b(ae.java:2078)
               at com.ibm.db2.jcc.t4.ae.a(ae.java:2020)
               at com.ibm.db2.jcc.t4.a.h(a.java:491)
               ... 36 more
[...]


Read more...

Environment

SAP NetWeaver Application Server Java

Product

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

Keywords

SSl3.3, SSL 3.3, TLS1.2, cipher suites, ciphers, JDBC, JDBC driver, DB driver , KBA , BC-JVM , SAP Java Virtual Machine , BC-JAS-SF , Startup Framework , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-DB-ORA , Oracle , 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 for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.