Skip to Content
author's profile photo Former Member
Former Member

Java stack down

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on May 11, 2015 at 02:27 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2015 at 06:04 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 11, 2015 at 02:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 11, 2015 at 02:22 PM

    Hi Prashant,

    This is a know issues.

    Refer below KBA to get thsi fixed.

    1602004 - J2EE System fails with "exitcode = 66"

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 11, 2015 at 02:39 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.