on 07-23-2014 9:33 AM
Hi.
Have you ever met with such errors after creating a collection jobs in Sybase Control Center ?
Errors refer to the repository database running on Sybase Anywhere Server:
[...]
=2014-07-23 10:10:33,290 [WARN ] [util.JDBCExceptionReporter | ] [scc-scheduler_Worker-2] - SQL Error: -194, SQLState: 23000 |
=2014-07-23 10:10:33,290 [ERROR] [util.JDBCExceptionReporter | ] [scc-scheduler_Worker-2] - [Sybase][ODBC Driver][SQL Anywhere]No primary key value for foreign key 'FK_SDT_REF_DY_ID' in table 'MON_STAT_DTL_F' |
=2014-07-23 10:10:33,290 [ERROR] [hibernate.HibernateDao | ] [scc-scheduler_Worker-2] - Fail to save persistentObject |
[...]
SCC can not store database statistics due to an foreingn key violation error (table 'MON_STAT_DTL_F').
Regards.
--
Marcin Najs
I found the cause of the problem. During the start of the SCC, the script for filling the RES_DAY_PRD_D table is executed. This process fails with errors:
=2014-07-22 10:07:53,240 [ERROR] [repository.Repository | ] [Agent Bootstrap Thread] - Failed to update the repository day period metadata. Seed to data file generated to C:\Windows\TEMP\scc-day-period-seed-data8374864392011328064.sql |
If this continues to fail, please contact support to update the table.
com.sybase.scc.orm.dao.DaoException: LOAD TABLE RES_DAY_PRD_D FROM 'C:\Windows\TEMP\scc-day-period-seed-data8374864392011328064.sql' DELIMITED BY ',' WITH CHECKPOINT ON;
Caused by: java.sql.SQLException: [Sybase][ODBC Driver][SQL Anywhere]Right truncation of string data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.