间歇性 java.sql.SQLException:ORA-03120:二任务转换例程:整数溢出异常

间歇性 java.sql.SQLException:ORA-03120:二任务转换例程:整数溢出异常

当我的 spring 应用程序启动时,我间歇性地收到以下错误。我在 spring 中使用带有 dbcp 池的 oracle 作为我的数据源 bean。

Caused by: org.apache.commons.dbcp.SQLNestedException: Errorpreloading the connection pool
            at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1238)
            at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
            at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
            at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
            ... 46 more

Caused by: java.sql.SQLException: ORA-03120: two-taskconversion routine: integer overflow
            at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
            at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
            at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
            at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
            at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
            at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1059)
            at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1235)
            ... 49 more

相关内容