SAP Knowledge Base Article - Preview

2748928 - SQLCODE=-514 on Java Server startup

Symptom

Java server startup fails with SQLCODE=-514.   The jvm_bootstrap.out file will report the following:

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)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:273)
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.offline.OfflineToolStart.main(OfflineToolStart.java:162)
----------==[ Caused by: ]==----------
com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred during DB access: CustomParamMapping, 
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.readConfig(PersistenceHandlerImpl.java:209)
at com.sap.engine.core.configuration.impl.cache.CachedConfiguration.readConfigData(CachedConfiguration.java:497)
at com.sap.engine.core.configuration.impl.cache.CachedConfiguration.<init>(CachedConfiguration.java:87)
at com.sap.engine.core.configuration.impl.cache.ConfigurationController.getCachedConfiguration(ConfigurationController.java:1297)
at com.sap.engine.core.configuration.impl.cache.ConfigurationController.getCachedConfiguration(ConfigurationController.java:1360)
at com.sap.engine.core.configuration.impl.cache.ConfigurationController.openConfiguration(ConfigurationController.java:840)
at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:1049)
at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:1000)
at com.sap.engine.core.configuration.impl.CustomParameterMappingsImpl.initCustomParameterMappingsRootConfig(CustomParameterMappingsImpl.java:70)
at com.sap.engine.core.configuration.impl.CustomParameterMappingsImpl.<init>(CustomParameterMappingsImpl.java:57)
at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.getCustomParameterMappings(ConfigurationHandlerImpl.java:1508)
at com.sap.engine.bootstrap.StorageAccess.<init>(StorageAccess.java:142)
at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:79)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:273)
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.offline.OfflineToolStart.main(OfflineToolStart.java:162)
Caused by: com.sap.sql.exception.OpenSQLException: DB2 SQL Error: SQLCODE=-514, SQLSTATE=26501, SQLERRMC=SQL_CURLH100C8, DRIVER=4.24.94 
OpenSQLExceptionCategories: []
at com.sap.sql.exception.SQLExceptionFactory.createOpenSQLException(SQLExceptionFactory.java:167)
at com.sap.sql.exception.SQLExceptionFactory.wrapChainedSQLException(SQLExceptionFactory.java:72)
at com.sap.sql.jdbc.direct.DirectPooledConnection.processSQLExceptionJava6(DirectPooledConnection.java:1003)
at com.sap.sql.jdbc.direct.DirectPooledConnection.processSQLException(DirectPooledConnection.java:929)
at com.sap.sql.jdbc.direct.DirectConnection.processSQLException(DirectConnection.java:1545)
at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:318)
at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:271)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessDefault.getConfiguration(DBAccessDefault.java:907)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.readConfig(PersistenceHandlerImpl.java:196)
... 18 more
Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-514, SQLSTATE=26501, SQLERRMC=SQL_CURLH100C8, DRIVER=4.24.94
at com.ibm.db2.jcc.am.b6.a(b6.java:815)
at com.ibm.db2.jcc.am.b6.a(b6.java:66)
at com.ibm.db2.jcc.am.b6.a(b6.java:140)
at com.ibm.db2.jcc.am.k3.c(k3.java:2817)
at com.ibm.db2.jcc.am.k3.a(k3.java:2254)
at com.ibm.db2.jcc.t4.ab.r(ab.java:1631)
at com.ibm.db2.jcc.t4.ab.l(ab.java:748)
at com.ibm.db2.jcc.t4.ab.d(ab.java:111)
at com.ibm.db2.jcc.t4.p.c(p.java:44)
at com.ibm.db2.jcc.t4.av.j(av.java:162)
at com.ibm.db2.jcc.am.k3.an(k3.java:2249)
at com.ibm.db2.jcc.am.k4.a(k4.java:4638)
at com.ibm.db2.jcc.am.k4.b(k4.java:4154)
at com.ibm.db2.jcc.am.k4.bd(k4.java:774)
at com.ibm.db2.jcc.t4.j.bd(j.java:144)
at com.ibm.db2.jcc.am.k4.executeQuery(k4.java:739)
at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery(BasicPreparedStatement.java:102)
at com.sap.sql.jdbc.db2.Db2PreparedStatement.executeQuery(Db2PreparedStatement.java:51)
at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:315)

Also, attempt to connect to the Db2 database using configTool will report the following error:

Error: com.sap.ASJ.cft.000183 Cluster data is not available.
Error details: Cannot open global configuration level.


Read more...

Environment

Db2 z/OS
Java JDBC driver
SAP Netweaver Application Server for Java

Product

SAP ERP 6.0 ; SAP NetWeaver Application Server for Java 7.1 ; SAP NetWeaver Application Server for Java 7.2 ; SAP enhancement package 1 for SAP NetWeaver Application Server for Java 7.1

Keywords

SQL0514N -514 jdbc java jvm DB2 zos z/OS bootstrap prepared startup , KBA , 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 ONE Support launchpad (Login required).

Search for additional results

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