SAP Knowledge Base Article - Preview

2440886 - Java stack not starting after Upgrade of SAP ASE to version 16

Symptom

  1. SAP Netweaver Java system on SAP ASE 15.7 upgraded to 16.0 SP02 PL04 HF
  2. After Upgrade SAP ASE from isql your are able to connet but java system is not coming up with the java stack in the bootstrap:
  • 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:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    ----------==[ Caused by: ]==----------
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
     at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.createConnection(DBConnectionPoolImpl.java:497)
     at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.<init>(DBConnectionPoolImpl.java:197)
     at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.<init>(PersistenceHandlerImpl.java:50)
     at com.sap.engine.core.configuration.impl.cache.ConfigurationController.<init>(ConfigurationController.java:139)
     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:309)
     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:59)
     at com.sap.engine.bootstrap.StorageAccess.<init>(StorageAccess.java:138)
     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:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    Caused by: com.sap.sql.log.OpenSQLException: Exception of type java.lang.NullPointerException caught: while trying to invoke the method com.sybase.jdbc4.jdbc.MdaManager.getMetaDataAccessor(java.lang.String, com.sybase.jdbc4.jdbc.ProtocolContext) of a null object loaded from field com.sybase.jdbc4.jdbc.SybConnection._mda of an object loaded from local variable 'this'.
     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)
     at com.sap.sql.connect.datasource.DBDataSourceImpl.getPooledConnection(DBDataSourceImpl.java:181)
     at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:213)
     at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.createConnection(DBConnectionPoolImpl.java:483)
     ... 13 more
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sybase.jdbc4.jdbc.MdaManager.getMetaDataAccessor(java.lang.String, com.sybase.jdbc4.jdbc.ProtocolContext) of a null object loaded from field com.sybase.jdbc4.jdbc.SybConnection._mda of an object loaded from local variable 'this'
     at com.sybase.jdbc4.jdbc.SybConnection.isSurrogateProcessingDisabledOnServer(SybConnection.java:1155)
     at com.sybase.jdbc4.jdbc.SybConnection.determineCharset(SybConnection.java:1358)
     at com.sybase.jdbc4.jdbc.SybConnection.init(SybConnection.java:820)
     at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:729)
     at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(SybConnection.java:3675)
     at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:370)
     at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:270)
     at com.sybase.jdbc4.jdbc.SybDriver.connect(SybDriver.java:224)
     at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
     at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
     at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:690)
     at com.sap.sql.connect.datasource.DBDataSourceImpl.create(DBDataSourceImpl.java:1034)
     at com.sap.sql.connect.datasource.DBDataSourceImpl.create(DBDataSourceImpl.java:45)
     at com.sap.sql.connect.pool.CreatedObjectsPool.create(CreatedObjectsPool.java:95)
     at com.sap.sql.connect.pool.Pool.get(Pool.java:734)
     at com.sap.sql.connect.datasource.DBDataSourceImpl.get(DBDataSourceImpl.java:263)

 


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) -Java Stack - All versions 

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Customer Relationship Management 7.0 ; SAP ERP 6.0 ; SAP NetWeaver 7.4 ; SAP NetWeaver all versions ; SAP Solution Manager 7.1 ; SAP Supplier Relationship Management 7.0 ; SAP Supply Chain Management 7.0

Keywords

com.sybase.jdbc4.jdbc.SybConnection._mda of an object loaded, com.sybase.jdbc4.jdbc.MdaManager , KBA , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , 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.