Arithmetic Overflow Error in WebCenter Analytics with MS SQL Server Database - INT Integer Bug 9091457 (Doc ID 1069482.1)

Last updated on APRIL 17, 2017

Applies to:

Oracle WebCenter Analytics - Version 1.0 and later
Information in this document applies to any platform.

Symptoms

WebCenter Analytics configured to use MS SQL Server for its database stops collecting data for some events. The collector.log file reports the following error:

05 Nov 2009 09:45:04,546 WARN JDBCExceptionReporter - SQL Error: 8115, SQLState: 22001
05 Nov 2009 09:45:04,546 ERROR JDBCExceptionReporter - [plumtree][SQLServer JDBC Driver][SQLServer]Arithmetic overflow error converting IDENTITY to data type int.
05 Nov 2009 09:45:04,546 WARN JDBCExceptionReporter - SQL Error: 3606, SQLState: 01000
05 Nov 2009 09:45:04,546 ERROR JDBCExceptionReporter - [plumtree][SQLServer JDBC Driver][SQLServer]Arithmetic overflow occurred.
05 Nov 2009 09:45:04,546 DEBUG HibernateUtil - closing current session
05 Nov 2009 09:45:04,562 ERROR PageViewHandler - genPageViewEvent error:
com.plumtree.analytics.core.exception.BatchUpdateException: Exception occurred while trying to save the object: org.hibernate.exception.GenericJDBCException: could not insert: [com.plumtree.analytics.core.persist.PageViewFact]
at com.plumtree.analytics.core.HibernateUtil.commitBatch(HibernateUtil.java:286)
at com.plumtree.analytics.core.HibernateUtil.doBatchAction(HibernateUtil.java:243)
at com.plumtree.analytics.core.HibernateUtil.batchInsert(HibernateUtil.java:211)
at com.plumtree.analytics.collector.eventhandler.PageViewHandler.handle(PageViewHandler.java:122)
at com.plumtree.analytics.collector.DataResolver.handleEvent(DataResolver.java:123)
at com.plumtree.analytics.collector.DataResolver.run(DataResolver.java:87)


Any type of event may experience this problem, not only Page Views.

Changes

This problem will occur on all WebCenter Analytics systems over time. Collecting more than 2,147,483,647 events of one kind will cause this problem.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms