on 05-11-2015 3:06 PM
Hello Guru's,
We are facing strange issue with our solman system. We recently had to restart SAP and database because of some maintainance activity, from then on Java stack is not coming up. Abap is working fine but the issue is only with Java stack not able to connect to database.System details are solman 7.1 with windows 2008 R2 and Mssql 2008 R2. Until restart of database everything was working fine and we havent done any parameter or any change on the system. Even config tools fails to connect.Please find the attached logs and let me know incase any body has faced similar issue.
Thanks in advance.
Regards
Prashant
Hello Prashant,
According to the "Caused by:" event in the jvm_bootstrap.out log:
"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: The TDS protocol stream is not valid.."
This seems to be a DB driver related issue. This note should be relevant here according to the error:
1428134 - sqljdbc driver fails to establish secure connection
Another useful note would be: 1398807 - Microsoft SQL Server: JDBC driver support matrix
Best Regards,
Peter Tari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Thanks for your reply's.
We have resolved the issue, sorry for replyinh lately.
As suggested by Peter we followed the below note and it did the trick.
1428134 - sqljdbc driver fails to establish secure connection
Thanks everyone for giving valuable suggestions.
Regards
Prashant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashant,
You need to check the SAPSR3DB user at database level.
If you are not able to connect the database , then the return code will be RC=66
Also do check the error.log at database level and check the below return code.
2 and 5 => Invalid userid
6 => Attempt to use a Windows login name with SQL Authentication
7 => Login disabled and password mismatch
8 => Password mismatch
9 => Invalid password
11 and 12 => Valid login but server access failure
13 => SQL Server service paused
18 => Change password required
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashant
Could you check this SAP KBA
1950926 - System cannot start due to login SQLServerException
BR
SS
Hello Prashant,
The logs you attached complain about connectivity issues between the AS Java and the DB: that was the exit code 66. But the actual root cause of the connection failure is in the jvm_bootstrap log. The error there talks about the Microsoft JDBC driver not being able to establish connection to the DB. The note I copied above describes the very same situation and the solution is to update the JDBC driver. Have you managed to look into this possibility?
Best Regards,
Peter
Hi Prashant,
This is a know issues.
Refer below KBA to get thsi fixed.
1602004 - J2EE System fails with "exitcode = 66"
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divyanshu,
We are not running on Oracle db, please find below the log_bootstrap.
[May 12, 2015 9:23:11 AM ] [Bootstrap module]> Problem occurred while performing synchronization.
[May 12, 2015 9:23:45 AM ] --------------------------------------------------
[May 12, 2015 9:23:45 AM ] Bootstrap MODE:
[May 12, 2015 9:23:45 AM ] <SINGLE INSTANCE>
[May 12, 2015 9:23:45 AM ] determined by parameter [ID003739700].
[May 12, 2015 9:23:45 AM ] --------------------------------------------------
[May 12, 2015 9:23:51 AM ] Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:477)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:156)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:946)
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:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
----------==[ Caused by: ]==----------
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:370)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:131)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:474)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:156)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:946)
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:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
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: The TDS protocol stream is not valid..
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSChannel.throwSSLConnectionFailed(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:308)
... 14 more
[May 12, 2015 9:23:51 AM ] [Bootstrap module]> Problem occurred while performing synchronization.
Hi Prashanth ,
What database are you on . ? Can you connect to the config tool using the default properties ?
Check the following thread
J2EE Engine start error: Database initializatio... | SCN
997510 - Troubleshooting J2EE Engine 6.40/7.0 Bootstrap Issues
Thanks ,
Manu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.