Hi Gavin, These are scheduled jobs running by internal quartz job store of ofbiz. In 'org.ofbiz.service.job.JobPoller' class there is run() method which calls poll() method of 'org.ofbiz.service.job.JobManager' class. In JobManager poll() method there in an update query fired on JOB_SANDBOX entity with current date time, since no record present in the entity of current date time causes this error while committing the Transaction.
I found a workaround for this problem, you can comment the entire code inside of run() method of 'JobPoller' class, so that it will not call 'JobManager' poll() method. Now create a build of ofbiz using ant run-install & use ofbiz.jar created with modified code. You will not see this Error. But it's a workaround. Can anyone provide a fix for this into the trunk. > -- Thanks & Regards, Pankaj Savita Mob: +91 9890262476 Mail to: [email protected] On Sun, Sep 12, 2010 at 7:14 PM, Gavin Mabie <[email protected]>wrote: > Hi > > > > Why would I get this error. I get it every time I start ofbiz - and this > without event logging on or opening ofbiz in a browser. I am running > 09.04. > > > > > > (org.ofbiz.service.job.jobpol...@3fb6772a) [ JobManager.java:201:ERROR] > ---- exception report > ---------------------------------------------------------- Transaction > error > trying to commit when polling and updating the JobSandbox: > org.ofbiz.entity.transaction.GenericTransactionException: Roll back error > (with no rollbackOnly cause found), could not commit transaction, was > rolled > back instead: javax.transaction.RollbackException: Transaction timeout > (Transaction timeout) Exception: > org.ofbiz.entity.transaction.GenericTransactionException Message: Roll back > error (with no rollbackOnly cause found), could not commit transaction, was > rolled back instead: javax.transaction.RollbackException: Transaction > timeout (Transaction timeout) ---- cause > --------------------------------------------------------------------- > Exception: javax.transaction.RollbackException Message: Transaction timeout > ---- stack trace > --------------------------------------------------------------- > javax.transaction.RollbackException: Transaction timeout > > org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionIm > pl.java:269) > > org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(Transa > ctionManagerImpl.java:245) > > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:209 > ) > > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:195 > ) org.ofbiz.service.job.JobManager.poll(JobManager.java:197) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Unknown Source) > > ---------------------------------------------------------------------------- > ---- > > > > Thanks > > > >
