java.io.IOException: Attempt to read from closed socket

Oracle Community | Kurt Geens | 2 years ago
  1. 0

    obiee fails to export to large pdf

    Oracle Community | 2 years ago | Kurt Geens
    java.io.IOException: Attempt to read from closed socket
  2. 0

    Do not export or email reports for PDF for more columns or more rows

    Oracle Community | 6 months ago | User472204-OC
    java.io.IOException: Attempt to read from closed socket
  3. 0

    remote object bound to jndi

    Oracle Community | 2 decades ago | 3004
    java.io.IOException: Attempt to send message on closed socket
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OracleLobHandler

    springframework | 1 decade ago | *anonymous
    java.io.IOException: No more data to read from socket
  6. 0

    org.hibernate.test.lob.LobMergeTest.testMergingBlobData entity persist in first commit passes but merge changes in second commit fails Stacktrace: {quote} org.hibernate.exception.JDBCConnectionException: could not execute statement at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:131) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:128) at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:58) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3215) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3117) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3446) at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140) at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:362) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:354) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:276) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:328) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1212) at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:400) at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101) at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175) at org.hibernate.test.lob.LobMergeTest.testMergingBlobData(LobMergeTest.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62) Caused by: java.sql.SQLRecoverableException: Io exception: No more data to read from socket at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:521) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:969) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3468) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:125) ... 27 more Caused by: java.io.IOException: No more data to read from socket at oracle.jdbc.driver.DatabaseError.SQLToIOException(DatabaseError.java:814) at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:197) at oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.java:159) at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:133) at oracle.jdbc.driver.OracleConversionInputStream.needBytesFromStream(OracleConversionInputStream.java:321) at oracle.jdbc.driver.OracleConversionInputStream.needBytes(OracleConversionInputStream.java:200) at oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.java:159) at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:133) at oracle.jdbc.driver.T4CTTIrxd.marshal(T4CTTIrxd.java:773) at oracle.jdbc.driver.T4C8Oall.marshalBinds(T4C8Oall.java:1794) at oracle.jdbc.driver.T4C8Oall.marshalAll(T4C8Oall.java:1251) at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:542) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:180) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) ... 32 more {quote} Output: {noformat} ... 07:00:58,803 DEBUG SQL:104 - select max(ID) from LOB_ENTITY 07:00:58,807 DEBUG SQL:104 - insert into LOB_ENTITY (CLOB_DATA, BLOB_DATA, ID) values (?, ?, ?) 07:00:58,837 DEBUG SQL:104 - select lobholder0_.ID as ID0_0_, lobholder0_.CLOB_DATA as CLOB2_0_0_, lobholder0_.BLOB_DATA as BLOB3_0_0_ from LOB_ENTITY lobholder0_ where lobholder0_.ID=? 07:00:58,857 DEBUG SQL:104 - update LOB_ENTITY set CLOB_DATA=?, BLOB_DATA=? where ID=? 07:01:01,342 WARN SqlExceptionHelper:143 - SQL Error: 17002, SQLState: 08006 07:01:01,342 ERROR SqlExceptionHelper:144 - Io exception: No more data to read from socket 07:01:01,342 WARN SqlExceptionHelper:143 - SQL Error: 17008, SQLState: 99999 07:01:01,342 ERROR SqlExceptionHelper:144 - Closed Connection 07:01:01,343 INFO SchemaExport:343 - HHH000227: Running hbm2ddl schema export ... {noformat}

    Hibernate JIRA | 4 years ago | Martin Ċ imka
    org.hibernate.exception.JDBCConnectionException: could not execute statement

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Attempt to read from closed socket

      at com.siebel.analytics.javahost.io.ChannelWithTimeout.read()
    2. com.siebel.analytics
      BlockingIOInputStream.skip
      1. com.siebel.analytics.javahost.io.ChannelWithTimeout.read(ChannelWithTimeout.java:134)
      2. com.siebel.analytics.javahost.io.BlockingIOImpl.read(BlockingIOImpl.java:37)
      3. com.siebel.analytics.javahost.io.BlockingIOInputStream.readFromChannelIfNeeded(BlockingIOInputStream.java:108)
      4. com.siebel.analytics.javahost.io.BlockingIOInputStream.skip(BlockingIOInputStream.java:86)
      4 frames
    3. Java RT
      BufferedInputStream.skip
      1. java.io.BufferedInputStream.skip(BufferedInputStream.java:360)
      1 frame
    4. com.siebel.analytics
      SAJobManagerImpl$1.run
      1. com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocolInputStreamImpl.callSkipOnBase(SAWProtocolInputStreamImpl.java:143)
      2. com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocolInputStreamImpl.skipAll(SAWProtocolInputStreamImpl.java:159)
      3. com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:197)
      4. com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
      5. com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)
      6. com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:155)
      6 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:738)
      1 frame