SAP Knowledge Base Article - Preview

3339446 - AS Java fails to start - javax.net.ssl.SSLException: java.lang.ArrayIndexOutOfBoundsException: 64

Symptom

AS Java fails to start. Below logs show the followings:

dev_bootstrap:

[...]
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_bootsrtap.out:

[...]
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
[...]
----------==[ Caused by: ]==----------
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
[...]
Caused by: com.sap.sql.log.OpenSQLException: Exception of type com.microsoft.sqlserver.jdbc.SQLServerException caught: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "java.lang.ArrayIndexOutOfBoundsException: 64". ClientConnectionId:<...>.
[...]
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "java.lang.ArrayIndexOutOfBoundsException: 64". ClientConnectionId:c3a3d264-f9b1-4ae7-b994-61444a7597c2
[...]
Caused by: javax.net.ssl.SSLException: java.lang.ArrayIndexOutOfBoundsException: 64
[...]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 64
    at com.sun.crypto.provider.TlsPrfGenerator.expand(DashoA13*..)
    at com.sun.crypto.provider.TlsPrfGenerator.doPRF(DashoA13*..)
    at com.sun.crypto.provider.TlsPrfGenerator.doPRF(DashoA13*..)
    at com.sun.crypto.provider.TlsMasterSecretGenerator.engineGenerateKey(DashoA13*..)
    at javax.crypto.KeyGenerator.generateKey(DashoA13*..)
    at com.sun.net.ssl.internal.ssl.Handshaker.calculateMasterSecret(Handshaker.java:753)
    at com.sun.net.ssl.internal.ssl.Handshaker.calculateKeys(Handshaker.java:716)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:873)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:241)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
    ... 30 more


Read more...

Environment

  • SAP NetWeaver Application Server for Java all versions
  • SAP Java Virtual Machine
  • Microsoft SQL Server

Product

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

Keywords

MSSQL, DB, TLS, SSL, JVM, SAP JVM , KBA , BC-JVM , SAP Java Virtual Machine , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-JAS-SF , Startup 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.