com.microsoft.sqlserver.jdbc.SQLServerException: The TDS protocol stream is not valid.

Oracle Community | 2747946 | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "The TDS protocol stream is not valid" Error

    Oracle Community | 3 years ago | 2747946
    com.microsoft.sqlserver.jdbc.SQLServerException: The TDS protocol stream is not valid.
  2. 0

    Java net sockettimeoutexception read timed - Java Programming - KnowCoding.com

    knowcoding.com | 12 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the named instance has failed. Error: java.net.SocketTimeoutException: Receive timed out. at com.microsoft.sqlserver.jdbc.SQLServerException.ma keFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.g etInstancePort(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.c onnect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.conne ct(Unknown Source) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm .java:701) at org.apache.catalina.realm.JDBCRealm.authenticate(J DBCRealm.java:346) at org.apache.catalina.authenticator.FormAuthenticato r.authenticate(FormAuthenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:417) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)
  3. 0

    SQuirreL SQL Client / Bugs / #293 Oracle Protocol Violation

    sourceforge.net | 1 year ago
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name:TABLE_CAT at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerResultSet.findColumn(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getString(Unknown Source) at net.sourceforge.squirrel_sql.client.session.SchemaInfo.loadTables(SchemaInfo.java:761) at net.sourceforge.squirrel_sql.client.session.SchemaInfo.load(SchemaInfo.java:148) at net.sourceforge.squirrel_sql.client.session.Session.loadTableInfo(Session.java:632) at net.sourceforge.squirrel_sql.client.session.Session.access$100(Session.java:65) at net.sourceforge.squirrel_sql.client.session.Session$1.run(Session.java:190) at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    connection fail

    java-forums.org | 12 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the named instance has failed. Error: java.net.SocketTimeoutException: Receive timed out. at com.microsoft.sqlserver.jdbc.SQLServerException.ma keFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.g etInstancePort(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.c onnect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.conne ct(Unknown Source) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm .java:701) at org.apache.catalina.realm.JDBCRealm.authenticate(J DBCRealm.java:346) at org.apache.catalina.authenticator.FormAuthenticato r.authenticate(FormAuthenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:417) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)
  6. 0

    connection fail

    java-forums.org | 12 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the named instance has failed. Error: java.net.SocketTimeoutException: Receive timed out. at com.microsoft.sqlserver.jdbc.SQLServerException.ma keFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.g etInstancePort(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.c onnect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.conne ct(Unknown Source) at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm .java:701) at org.apache.catalina.realm.JDBCRealm.authenticate(J DBCRealm.java:346) at org.apache.catalina.authenticator.FormAuthenticato r.authenticate(FormAuthenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:417) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      The TDS protocol stream is not valid.

      at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate()
    2. com.microsoft.sqlserver
      SQLServerResultSet.close
      1. com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source)
      2. com.microsoft.sqlserver.jdbc.SQLServerConnection.throwInvalidTDS(Unknown Source)
      3. com.microsoft.sqlserver.jdbc.TDSReader.throwInvalidTDS(Unknown Source)
      4. com.microsoft.sqlserver.jdbc.TDSReader.skip(Unknown Source)
      5. com.microsoft.sqlserver.jdbc.ServerDTVImpl.skipValue(Unknown Source)
      6. com.microsoft.sqlserver.jdbc.DTV.skipValue(Unknown Source)
      7. com.microsoft.sqlserver.jdbc.Column.skipValue(Unknown Source)
      8. com.microsoft.sqlserver.jdbc.SQLServerResultSet.skipColumns(Unknown Source)
      9. com.microsoft.sqlserver.jdbc.SQLServerResultSet.discardCurrentRow(Unknown Source)
      10. com.microsoft.sqlserver.jdbc.SQLServerResultSet.fetchBufferNext(Unknown Source)
      11. com.microsoft.sqlserver.jdbc.SQLServerResultSet.close(Unknown Source)
      11 frames
    3. oracle.odi.runtime
      DataMovementTaskExecutionHandler.handleTask
      1. oracle.odi.runtime.agent.execution.sql.concurrent.FastJDBCRecordSet.close(FastJDBCRecordSet.java:124)
      2. oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:103)
      2 frames
    4. com.sunopsis.dwg
      SnpSession.treatSession
      1. com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      2. com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      3. com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
      4. com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
      5. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
      5 frames
    5. oracle.odi.runtime
      StartSessRequestProcessor$2.doAction
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      1 frame
    6. oracle.odi.core
      DwgObjectTemplate.execute
      1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      1 frame
    7. oracle.odi.runtime
      DefaultAgentTaskExecutor$2.run
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      2. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      3. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      4. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      5. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      5 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame