SAP Knowledge Base Article - Preview

2456249 - jConnect: Connection hangs with thread in RUNNABLE state - SDK for SAP ASE

Symptom

  • Java application is hanging and the connection is left open.
  • Java application does not have TIMEOUT setting. Ex: DEFAULT_QUERY_ TIMEOUT,INTERNAL_QUERY_ TIMEOUT
  • Thread dump shows:
    java.lang.Thread.State: RUNNABLE
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:88)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:429)
    at java.net.Socket.connect(Socket.java:525)


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • jConnect
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • java

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Adaptive Server Enterprise 15.5 ; Sybase SDK 15.5 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7

Keywords

java, jconn4.jar, jconn3.jar, hang, stuck, pause, waiting, processing, tunnel, traffic, stopped, kill, tds, time out,DEFAULT_QUERY_ TIMEOUT,INTERNAL_QUERY_ TIMEOUT , KBA , BC-SYB-SDK , SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.