NutzCN Logo
问答 nutzwk 定时任务
发布于 2668天前 作者 zjlwmz 2584 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

[ERROR] 2017-07-27 20:57:55,481 org.quartz.core.JobRunShell.run(JobRunShell.java:211) - Job 75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an unhandled Exception:
java.lang.OutOfMemoryError: GC overhead limit exceeded
[ERROR] 2017-07-27 20:57:55,481 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3880) - ClusterManager: Error managing cluster: Failure identifying failed instances when checking-in: Error
org.quartz.JobPersistenceException: Failure identifying failed instances when checking-in: Error [See nested exception: java.sql.SQLException: Error]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.findFailedInstances(JobStoreSupport.java:3359)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.clusterCheckIn(JobStoreSupport.java:3409)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3269)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3874)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3911)
Caused by: java.sql.SQLException: Error
at com.alibaba.druid.pool.DruidDataSource.handleConnectionException(DruidDataSource.java:1318)
at com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:132)
at com.alibaba.druid.pool.DruidPooledStatement.checkException(DruidPooledStatement.java:65)
at com.alibaba.druid.pool.DruidPooledResultSet.checkException(DruidPooledResultSet.java:55)
at com.alibaba.druid.pool.DruidPooledResultSet.getString(DruidPooledResultSet.java:259)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectSchedulerStateRecords(StdJDBCDelegate.java:2999)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.findFailedInstances(JobStoreSupport.java:3323)
... 4 more
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
[ERROR] 2017-07-27 20:57:55,481 cn.geofound.common.quartz.job.OnRoadJob.execute(OnRoadJob.java:133) - 在途接口定时任务异常
org.nutz.dao.DaoException: !Nutz SQL Error: 'INSERT INTO ts_on_road(id,driver_name,driver_mobile,warehouse,goods_name,tlp_code,plate_number,supplier_name,status,end_x,end_y,start_x,start_y,create_date,update_date) VALUES('aa68120b7f4f4298a04229624a3455cd','张三','13520326108','Shanghai','NULL','TLPSHA17070001','沪C12345','Shanghai Liting Resource Limited','0',121.848598,30.899256,'NULL','NULL','2017-07-27 18:44:36','NULL') '
PreparedStatement:
'INSERT INTO ts_on_road(id,driver_name,driver_mobile,warehouse,goods_name,tlp_code,plate_number,supplier_name,status,end_x,end_y,start_x,start_y,create_date,update_date) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) '
CaseMessage=Error
at org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:104)
at org.nutz.plugins.cache.dao.CachedNutDaoExecutor._exec(CachedNutDaoExecutor.java:317)
at org.nutz.plugins.cache.dao.CachedNutDaoExecutor.exec(CachedNutDaoExecutor.java:187)
at org.nutz.dao.DaoInterceptorChain.doChain(DaoInterceptorChain.java:66)
at org.nutz.dao.impl.interceptor.DaoLogInterceptor.filter(DaoLogInterceptor.java:22)
at org.nutz.dao.DaoInterceptorChain.doChain(DaoInterceptorChain.java:64)
at org.nutz.dao.DaoInterceptorChain.invoke(DaoInterceptorChain.java:139)
at org.nutz.dao.impl.sql.run.NutDaoRunner.runCallback(NutDaoRunner.java:158)
at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:104)
at org.nutz.dao.impl.sql.run.NutDaoRunner._run(NutDaoRunner.java:88)
at org.nutz.dao.impl.sql.run.NutDaoRunner$1.run(NutDaoRunner.java:74)
at org.nutz.trans.Trans.exec(Trans.java:174)
at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:72)
at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:245)
at org.nutz.dao.impl.DaoSupport._exec(DaoSupport.java:257)
at org.nutz.dao.impl.EntityOperator.exec(EntityOperator.java:55)
at org.nutz.dao.impl.NutDao.insert(NutDao.java:148)
at cn.geofound.framework.base.service.BaseServiceImpl.insert(BaseServiceImpl.java:170)
at cn.geofound.common.quartz.job.OnRoadJob.execute(OnRoadJob.java:108)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.sql.SQLException: Error
at com.alibaba.druid.pool.DruidDataSource.handleConnectionException(DruidDataSource.java:1318)
at com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:132)
at com.alibaba.druid.pool.DruidPooledStatement.checkException(DruidPooledStatement.java:65)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:495)
at org.nutz.dao.impl.sql.run.NutDaoExecutor._runPreparedStatement(NutDaoExecutor.java:308)
at org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:90)
... 20 more
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2390)
at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2372)
at com.mysql.jdbc.ConnectionImpl.getMetadataSafeStatement(ConnectionImpl.java:2910)
at com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3539)
at com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3516)
at com.mysql.jdbc.PreparedStatement.checkReadOnlySafeStatement(PreparedStatement.java:1113)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1133)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2931)
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)
at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:131)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:493)
at org.nutz.dao.impl.sql.run.NutDaoExecutor._runPreparedStatement(NutDaoExecutor.java:308)
at org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:90)
at org.nutz.plugins.cache.dao.CachedNutDaoExecutor._exec(CachedNutDaoExecutor.java:317)
at org.nutz.plugins.cache.dao.CachedNutDaoExecutor.exec(CachedNutDaoExecutor.java:187)
at org.nutz.dao.DaoInterceptorChain.doChain(DaoInterceptorChain.java:66)
at org.nutz.dao.impl.interceptor.DaoLogInterceptor.filter(DaoLogInterceptor.java:22)
at org.nutz.dao.DaoInterceptorChain.doChain(DaoInterceptorChain.java:64)
at org.nutz.dao.DaoInterceptorChain.invoke(DaoInterceptorChain.java:139)
at org.nutz.dao.impl.sql.run.NutDaoRunner.runCallback(NutDaoRunner.java:158)
at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:104)
at org.nutz.dao.impl.sql.run.NutDaoRunner._run(NutDaoRunner.java:88)
at org.nutz.dao.impl.sql.run.NutDaoRunner$1.run(NutDaoRunner.java:74)
at org.nutz.trans.Trans.exec(Trans.java:174)
at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:72)
at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:245)
at org.nutz.dao.impl.DaoSupport._exec(DaoSupport.java:257)
at org.nutz.dao.impl.EntityOperator.exec(EntityOperator.java:55)
at org.nutz.dao.impl.NutDao.insert(NutDao.java:148)
at cn.geofound.framework.base.service.BaseServiceImpl.insert(BaseServiceImpl.java:170)
at cn.geofound.common.quartz.job.OnRoadJob.execute(OnRoadJob.java:108)
[ERROR] 2017-07-27 20:57:55,486 org.quartz.core.ErrorLogger.schedulerError(QuartzScheduler.java:2425) - Job (75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: GC overhead limit exceeded]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
[ERROR] 2017-07-27 21:33:06,320 org.quartz.core.JobRunShell.run(JobRunShell.java:211) - Job 75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an unhandled Exception:
java.lang.OutOfMemoryError: Java heap space
[ERROR] 2017-07-27 21:33:06,321 org.quartz.core.ErrorLogger.schedulerError(QuartzScheduler.java:2425) - Job (75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.OutOfMemoryError: Java heap space
[ERROR] 2017-07-27 21:36:44,516 org.quartz.core.JobRunShell.run(JobRunShell.java:211) - Job 75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an unhandled Exception:
java.lang.OutOfMemoryError: GC overhead limit exceeded
[ERROR] 2017-07-27 21:36:44,516 org.quartz.core.ErrorLogger.schedulerError(QuartzScheduler.java:2425) - Job (75b23608856347e096723984c94f0135.75b23608856347e096723984c94f0135 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: GC overhead limit exceeded]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

这个问题出现俩次,都是运行一段时间,就突然出现了,出现后tomcat就卡死了,系统就访问不了

1 回复
添加回复
请先登陆
回到顶部