Java exception | locked <0x00000007c53633f0> (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)

Connectivity

Java exception | locked <0x00000007c53633f0> (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)

We are getting this error when we are the doing inserts/updates from multiple threads. Has anyone seen this error before and what could be the problem. Below is the stack trace. Any pointers appreciated.

java.lang.Thread.State: RUNNABLE

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:659)

        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:818)

        at com.teradata.jdbc.jdbc_4.statemachine.StatementReceiveState.action(StatementReceiveState.java:128)

        at com.teradata.jdbc.jdbc_4.statemachine.StatementController.runBody(StatementController.java:120)

        at com.teradata.jdbc.jdbc_4.statemachine.PreparedStatementController.run(PreparedStatementController.java:49)

        at com.teradata.jdbc.jdbc_4.TDStatement.executeStatement(TDStatement.java:372)

        at com.teradata.jdbc.jdbc_4.TDStatement.executeStatement(TDStatement.java:314)

        at com.teradata.jdbc.jdbc_4.TDPreparedStatement.doPrepExecuteUpdate(TDPreparedStatement.java:191)

        - locked <0x00000007c53633f0> (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)

        at com.teradata.jdbc.jdbc_4.TDPreparedStatement.executeUpdate(TDPreparedStatement.java:1968)

        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at msjava.dbpool.connectionwrapper.internal.JdbcProxyingUtils$SQLExceptionHandlingInvocationHandler.invoke(JdbcProxyingUtils.java:254)

        at $Proxy14.executeUpdate(Unknown Source)

        at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:817)

        at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:1)

        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:586)

        at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:811)

        at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:867)

        at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:871)

1 REPLY
Teradata Employee

Re: Java exception | locked <0x00000007c53633f0> (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)

You mentioned an error. What error are you getting?

The stack trace that you posted is a stack trace for a running thread. It is not an exception stack trace.