All Forums Connectivity
pallila 4 posts Joined 10/12
15 Oct 2012
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(TDNetwo rkIOIF.java:659)
        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream( TDPacketStream.java:818)
        at com.teradata.jdbc.jdbc_4.statemachine.StatementReceive State.action(StatementReceiveState.java:128)
        at com.teradata.jdbc.jdbc_4.statemachine.StatementControl ler.runBody(StatementController.java:120)
        at com.teradata.jdbc.jdbc_4.statemachine.PreparedStatemen tController.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.doPrepExe cuteUpdate(TDPreparedStatement.java:191)
        - locked <0x00000007c53633f0> (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)
        at com.teradata.jdbc.jdbc_4.TDPreparedStatement.executeUp date(TDPreparedStatement.java:1968)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega tingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at msjava.dbpool.connectionwrapper.internal.JdbcProxyingU tils$SQLExceptionHandlingInvocationHandler.invoke(Jdbc ProxyingUtils.java:254)
        at $Proxy14.executeUpdate(Unknown Source)
        at org.springframework.jdbc.core.JdbcTemplate$2.doInPrepa redStatement(JdbcTemplate.java:817)
        at org.springframework.jdbc.core.JdbcTemplate$2.doInPrepa redStatement(JdbcTemplate.java:1)
        at org.springframework.jdbc.core.JdbcTemplate.execute(Jdb cTemplate.java:586)
        at org.springframework.jdbc.core.JdbcTemplate.update(Jdbc Template.java:811)
        at org.springframework.jdbc.core.JdbcTemplate.update(Jdbc Template.java:867)
        at org.springframework.jdbc.core.JdbcTemplate.update(Jdbc Template.java:871)

tomnolan 594 posts Joined 01/08
16 Oct 2012

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.

You must sign in to leave a comment.