Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 27 Apr 2005 @ 14:06:07 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   JDBC Exception need help!!!
 
From:   Wojciech Konieczka

Hi all,

I'va made small java program which makes a connection to TD and writes query results on disk.

Sometimes I get such exception:

      java.net.SocketException: Connection reset
     Closing session
     java.lang.Exception: Stack trace
             at java.lang.Thread.dumpStack(Unknown Source)
             at com.ncr.teradata.jdbcVector.elementAt(Unknown Source)
             at com.ncr.teradata.ComSvcs.CallGatewayDirect(Unknown Source)
             at com.ncr.teradata.ComSvcs.ExecCmd(Unknown Source)
             at com.ncr.teradata.TeraResultSet.next(Unknown Source)
             at unloader.unloader.main(unloader/unloader.java:115)
     . zepsulo sie [NCR][Teradata JDBC Driver]:JdbcVector: index out of range index 2 >= 2
     java.sql.SQLException: [NCR][Teradata JDBC Driver]:JdbcVector: index outof range index 2 >= 2
             at com.ncr.teradata.ComUtil.ThrowExcp(Unknown Source)
             at com.ncr.teradata.jdbcVector.elementAt(Unknown Source)
             at com.ncr.teradata.ComSvcs.CallGatewayDirect(Unknown Source)
             at com.ncr.teradata.ComSvcs.ExecCmd(Unknown Source)
             at com.ncr.teradata.TeraResultSet.next(Unknown Source)
             at unloader.unloader.main(unloader/unloader.java:115)

Any ideas what can cause such problem??


Regards

Wojtek



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016