tomcat运行错误信息,求解?

tomcat运行错误信息,求解?

谢绝鈎搭 发布于 2021-11-30 字数 7604 浏览 744 回复 9

2015-06-15 12:28:48,527 [ WARN]   com.mchange.v2.async.ThreadPoolAsynchronousRunner-->com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@59ff3226 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

2015-06-15 12:29:44,613 [ WARN]   com.mchange.v2.async.ThreadPoolAsynchronousRunner-->com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@59ff3226 -- APPARENT DEADLOCK!!! Complete Status: 

Managed Threads: 3

Active Threads: 2

Active Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@6d18b3b8 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@70bf2cfc (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)

Pending Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@17228e38

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5da70a65

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@19b9cec

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@f5b4ac7

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@7a7b9805

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4839af15

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4315b0be

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4506ac5a

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@391d6c1d

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@3aa50136

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@26f29e4e

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@27726dc

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@5c9836c7

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@d34724f

com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask@6e3ca74e

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@500c2a6c

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5ddfe62c

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4f0ec1c0

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@51d24ccc

com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@45b00f0b

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@29abbeeb

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4a834bac

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@71dd2f6b

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@70545433

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@306419e2

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@7bdf5d3f

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@56312a2

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@2b5c4c71

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@389ea4f4

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@375fac36

com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@6a2329a0

Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,]

2015-06-15 15:29:41,739 [ERROR]   org.springframework.transaction.interceptor.TransactionInterceptor-->Application exception overridden by rollback error

java.lang.OutOfMemoryError: Java heap space

at oracle.sql.CharacterSet.UTFToJavaChar(CharacterSet.java:876)

at oracle.sql.CharacterSet.UTFToString(CharacterSet.java:805)

at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:580)

at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:542)

at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:163)

at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:115)

at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:705)

at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)

at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)

at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1062)

at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)

at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)

at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)

at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)

at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:98)

at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122)

at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)

at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)

at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)

at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)

at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)

at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562)

at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)

at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)

at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:693)

at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)

at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)

at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:690)

at cn.common.BaseDao.save(BaseDao.java:345)

at cn.com.dfzy.project.dao.AnalysisXinDaLuDao.saveTanaAnalysisXinDaLu(AnalysisXinDaLuDao.java:53)

at cn.com.dfzy.project.service.AnalysisXinDaLuService.saveTanaAnalysisXinDaLu(AnalysisXinDaLuService.java:50)

求问这个总是大概是由什么原因导致的,服务器内存64g,正常使用情况在20%左右,且这个错误是第一个出现,之前运行没有出现这种情况

还上面第一行的warn是什么意思,谢谢

连接配置:

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

扫码加入群聊

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

偏爱自由 2021-12-01 9 楼

这貌似是字段的问题,某个字段与bean里面的字段对应起来有问题,字符相关

筱武穆 2021-12-01 8 楼

C3P0的连接配置问题,有几个时间参数要配置为合理值。

空城仅有旧梦在 2021-12-01 7 楼

引用来自“彭大可”的评论

可以肯定的是,跟你的虚拟内存没直接关系,是因为你的连接池出现频繁出现问题,导致资源没释放,从而让机器资源耗尽,最后出现内存溢出。

要解决就从你的C3P0连接池出现的问题入手

小情绪 2021-12-01 6 楼

tomcat的vm堆内存改大点试试吧

韬韬不绝 2021-12-01 5 楼

不要用hibernate

彩扇题诗 2021-11-30 4 楼

连接配置新加在问题中了,这样有啥 问题

梅窗月明清似水 2021-11-30 3 楼

数据库配置的连接信息有问题

三月梨花 2021-11-30 2 楼

后台日志就报了这么多错误,而且连接池的参数配置都在问题里面贴出来了,麻烦能说的具体点么,谢谢

剑心龙吟 2021-11-30 1 楼

可以肯定的是,跟你的虚拟内存没直接关系,是因为你的连接池出现频繁出现问题,导致资源没释放,从而让机器资源耗尽,最后出现内存溢出。

要解决就从你的C3P0连接池出现的问题入手