Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8150807

Intermittent errors when calling sql server. non-reproducable. Connection closed due to bad mac address

XMLWordPrintable

    • x86
    • linux_redhat_6.0

      FULL PRODUCT VERSION :
      Java Version 1.8.0_72 (52.0)
      Java VM Name Java HotSpot(TM) 64-Bit Server VM
      Java Build Info 25.72-b15, mixed mode
      Java Vendor Oracle Corporation

      ADDITIONAL OS VERSION INFORMATION :
      2.6.32-573.3.1.el6.x86_64 #1 SMP Mon Aug 10 09:44:54 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      When calling SQL server to query a database, were seeing error. When looking at the windows error log that SQL server is running on, we see this error:

      20
        
      bad_record_mac
        
      Received a record with an incorrect MAC. This message is always fatal.

      This is a Intermittent error, so we cant reproduce it. The error we get back on the java side looks like this:

      ;Error Description --> ;Brief Message --> [ART.117.4012] Adapter Runtime (Adapter Service): Unable to run adapter service. Error occurred when connecting to resource XXX. ;[ART.118.5053] Adapter Runtime (Connection): Unable to get a connection to resource XXX.;[ADA.1.204] Cannot connect to the database with DataSource class "com.microsoft.sqlserver.jdbc.SQLServerDataSource".;The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:77e9b4eb-bcf5-4cc9-a80c-49c0811997b6".;Additional Information -->

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      cant reproduce


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      ;Error Description --> ;Brief Message --> [ART.117.4012] Adapter Runtime (Adapter Service): Unable to run adapter service. Error occurred when connecting to resource XXX. ;[ART.118.5053] Adapter Runtime (Connection): Unable to get a connection to resource XXX.;[ADA.1.204] Cannot connect to the database with DataSource class "com.microsoft.sqlserver.jdbc.SQLServerDataSource".;The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:77e9b4eb-bcf5-4cc9-a80c-49c0811997b6".;Additional Information -->

      REPRODUCIBILITY :
      This bug can be reproduced often.

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: