Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Io exception: Broken pipe,Io exception: Connection timed out

Thread view: 
aemi - 01 Mar 2007 13:48 GMT
Hi all

I checked my my java code there is no problem with the code I think
that the problem is with the data .
I am getting such errors for thousands of records
can anybody tell me the reason for these error messages

info: SQLException: Io exception: Connection timed out
info: SQL: select person_id from sp_pers_trnsltn_t where EXTERNAL_ID =
'1231789' and data_srce_cd = 'HRMS1'
java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    at
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:
2529)
    at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:
2672)
    at
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
572)
    at com.hewitt.mb.common.utilities.DBUtil.runSelectQuery(DBUtil.java:
198)
    at
com.hewitt.marriott.cds.ParseCensus.MakeSurePersonIdExistsForEmplId(ParseCensus.java:
340)
    at com.hewitt.marriott.cds.ParseCensus.reformat(ParseCensus.java:135)
    at com.hewitt.marriott.cds.ParseCensus.main(ParseCensus.java:110)
info: SQLException: Io exception: Broken pipe
info: SQL:  select person_id from SP_PERS_TRNSLTN_T WHERE EXTERNAL_ID
= '1231789' AND DATA_SRCE_CD = 'HRMS1'
info: SQLException: Io exception: Broken pipe
info: SQL: select person_id from sp_pers_trnsltn_t where EXTERNAL_ID
= '1439567' and data_srce_cd = 'HRMS1'
Chris Uppal - 01 Mar 2007 18:07 GMT
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:
> 2672)

Maybe your query is just taking too long to execute.  Or maybe there is
something wrong with the network connection between your program and the
database.

You could try running the same query from whatever interactive SQL tool Oracle
provide.

   -- chris
aemi - 02 Mar 2007 02:40 GMT
On Mar 1, 11:07 pm, "Chris Uppal" <chris.up...@metagnostic.REMOVE-
THIS.org> wrote:
> > oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.jav­a:
> > 2672)
[quoted text clipped - 7 lines]
>
>     -- chris

thanks chris


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.