[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
an org.quartz.JobPersistenceException  XML
Forum Index -> Quartz
Author Message
collin

neo

Joined: 08/01/2012 04:53:44
Messages: 5
Offline

when I run more job at the same time ,I found an Exception below!
I no find related material! please help me ,thanks!


org.postgresql.util.PSQLException: ERROR: could not serialize access due to concurrent update]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2840)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2755)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3810)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)
Caused by: org.postgresql.util.PSQLException: ERROR: could not serialize access due to concurrent update
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.updateTriggerStateFromOtherState(StdJDBCDelegate.java:1442)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2818)
... 4 more
collin

neo

Joined: 08/01/2012 04:53:44
Messages: 5
Offline

I forgot that I override triggerComplete method which I setup nexttrigger will be fire!
But I see history error ,it happend which no set nexttrigger!
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1465
Offline

It's bit confusing . Can you please elaborate clearly what exception you are getting and what's your use case.

Rakesh Joshi
Terracotta.
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team