You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Bi...@cox.com on 2007/05/23 20:31:02 UTC

Got minus one from a read call

When I am executing a bulk load of data to Oracle, I intermittently
receive the following. This junit test created 47 accounts before
failing. If I run it again it may fail after creating 30 accounts. Has
anyone seen this before?  It appears that it is failing to create a
connection pool. 
Thanks for any help!
Bill

Normal: 
[2007-05-23 13:04:29,194] [kernel.Default'] (BaseTvcidService
) [DEBUG] - ====startup BaseTvcidService()
[2007-05-23 13:04:29,267] [kernel.Default'] (BaseTvcidService
) [DEBUG] - verify:2 42 0 1
[2007-05-23 13:04:29,267] [kernel.Default'] (BaseTvcidService
) [DEBUG] - TvcidProvisioningImpl.setVoipAccount( u
ser0000048 )
[2007-05-23 13:04:29,267] [kernel.Default'] (BaseTvcidService
) [DEBUG] - TvcidProvisioningImpl.deleteVoipAccount
( user0000048 )
[2007-05-23 13:04:29,436] [kernel.Default'] (SimpleDataSource
) [DEBUG] - Created connection 23288457.
[2007-05-23 13:04:29,437] [kernel.Default'] (Connection
) [DEBUG] - {conn-102175} Connection
[2007-05-23 13:04:29,438] [kernel.Default'] (PreparedStatement
) [DEBUG] - {pstm-102176} PreparedStatement:
 SELECT           P_ID as accountId,          OPERATION_MODE as
operationMode,          CALL_BANNER_D as callBannerDuration,
      CALL_BANNER_L as callBannerLocation,          CALL_BANNER_C as
callBannerColor,           MODIFIED_DATE as lastModified
    FROM USER_PREF_ACCOUNTS       WHERE P_ID = ?
[2007-05-23 13:04:29,438] [kernel.Default'] (PreparedStatement
) [DEBUG] - {pstm-102176} Parameters: [user0000048]
[2007-05-23 13:04:29,438] [kernel.Default'] (PreparedStatement
) [DEBUG] - {pstm-102176} Types: [java.lang.String]
[2007-05-23 13:04:29,441] [kernel.Default'] (ResultSet
) [DEBUG] - {rset-102177} ResultSet
[2007-05-23 13:04:29,442] [kernel.Default'] (SimpleDataSource
) [DEBUG] - Returned connection 23288457 to pool.

Error:
[2007-05-23 13:04:29,765] [kernel.Default'] (BaseTvcidService
) [DEBUG] - ====startup BaseTvcidService()
[2007-05-23 13:04:29,837] [kernel.Default'] (BaseTvcidService
) [DEBUG] - verify:2 42 0 1
[2007-05-23 13:04:29,838] [kernel.Default'] (BaseTvcidService
) [DEBUG] - TvcidProvisioningImpl.setVoipAccount( u
ser0000049 )
[2007-05-23 13:04:29,838] [kernel.Default'] (BaseTvcidService
) [DEBUG] - TvcidProvisioningImpl.deleteVoipAccount
( user0000049 )
[2007-05-23 13:04:30,004] [kernel.Default'] (BaseTvcidService
) [INFO ] - Error Retrieving Account data.java.sql.
SQLException: Io exception: Got minus one from a read call
[2007-05-23 13:04:30,004] [kernel.Default'] (BaseTvcidService
) [DEBUG] -  Trying to create account: user0000049
[2007-05-23 13:04:30,148] [kernel.Default'] (BaseTvcidService
) [ERROR] - setVoipAccount() Exception: com.ibatis.
common.jdbc.exception.NestedSQLException:
--- The error occurred in com/cox/tvcid/ITVAccount.xml.
--- The error occurred while executing mapped statement.
--- Check the insertAccount.
--- Check the statement or the result map.
--- Cause: java.sql.SQLException: Io exception: Got minus one from a
read call
Caused by: java.sql.SQLException: Io exception: Got minus one from a
read call