Guest User

Untitled

a guest
Nov 30th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. org.springframework.jdbc.BadSqlGrammarException:
  2. PreparedStatementCallback; bad SQL grammar [SELECT VERSION FROM BATCH_JOB_EXECUTION WHERE JOB_EXECUTION_ID=?];
  3. nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: BATCH_JOB_EXECUTION
  4.  
  5. Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: BATCH_JOB_EXECUTION
  6. at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
  7. at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
  8. at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
  9. at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
  10. at org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator.createPreparedStatement(JdbcTemplate.java:1557)
  11. at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:638)
  12.  
  13. Caused by: org.springframework.dao.ConcurrencyFailureException:
  14. PreparedStatementCallback; SQL [INSERT into BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION) values (?, ?, ?, ?)];
  15. transaction rollback: serialization failure; nested exception is java.sql.SQLTransactionRollbackException: transaction rollback: serialization failure
  16.  
  17. ERROR 8442 --- o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
  18. org.springframework.dao.ConcurrencyFailureException: PreparedStatementCallback; SQL [INSERT into BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION) values (?, ?, ?, ?)]; transaction rollback: serialization failure; nested exception is java.sql.SQLTransactionRollbackException: transaction rollback: serialization failure
  19.  
  20. INFO 8442 --- com.capitalone.schduler.BatchScheduler : sendMailToCustomers Job ran at 11/10/2016 10:37:06
  21. INFO 8442 --- com.capitalone.schduler.BatchScheduler : triggering BatchConfiguration at time {}11/10/2016 10:37:06
  22. INFO 8442 --- o.s.b.c.l.support.SimpleJobLauncher : Job: [FlowJob: [name=queueInfoStep]] launched with the following parameters: [{JOB_START_DATE=Thu Nov 10 10:37:06 EST 2016}]
  23. INFO 8442 --- o.s.batch.core.job.SimpleStepHandler : Executing step: [queueInfoStep]
  24. INFO 8442 --- o.s.b.c.l.support.SimpleJobLauncher : Job: [FlowJob: [name=queueInfoStep]] completed with the following parameters: [{JOB_START_DATE=Thu Nov 10 10:37:06 EST 2016}] and the following status: [COMPLETED]
  25.  
  26. user lacks privilege or object not found: BATCH_JOB_EXECUTION
  27.  
  28. <jdbc:embedded-database id="dataSource" type="HSQL">
  29. <jdbc:script location="classpath:/org/springframework/batch/core/schema-hsqldb.sql" />
  30. </jdbc:embedded-database>
Add Comment
Please, Sign In to add comment