2010-02-20 11:01:16,093 WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@16a3360 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2010-02-20 11:01:16,109 WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@16a3360 -- APPARENT DEADLOCK!!! Complete Status: [num_managed_threads: 3, num_active: 3; activeTasks: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1ff9150 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0), com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@19d4e7a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2), com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@8b3bcd (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1); pendingTasks: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1031837, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2ad5dc, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3e9705, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@12ce92f, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1814de3, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@20a20a, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e69ac, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@dbb0f7, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13f4444, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@9ad534, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1237243, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@22c094, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1917330, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2195be, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ee0080, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@163084b, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b57dde, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@15aa023, com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@c7838f, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@8e2bf1, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1e6f732, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6f0c2f, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@89152c, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1cd17ac, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1cd4f5d, com.mchange.v2.resourcepool.BasicResourcePool$5@1593ce, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@9ac9d6, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@393641, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@18eaa5, com.mchange.v2.resourcepool.BasicResourcePool$6@1d51055, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1233d63, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@93551e, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b96163, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@a8ccce, com.mchange.v2.resourcepool.BasicResourcePool$6@1df507, com.mchange.v2.resourcepool.BasicResourcePool$6@c1d919, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@93feda, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@409fa2, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b08362, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@81abcc, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1360d86, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1b1fbe9, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11af14, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@fd5978, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@fce31f, com.mchange.v2.resourcepool.BasicResourcePool$6@a34126, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@a347a, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1fb470b, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f54a25, com.mchange.v2.resourcepool.BasicResourcePool$6@d6f354, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11975, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2e808a, com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@f8f173, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1b3e7c8, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@361f38, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13ba921, com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1dccbb3]
2010-02-20 11:02:04,781 WARN [com.mchange.v2.resourcepool.BasicResourcePool] - BasicResourcePool: An idle resource is broken and will be purged.
java.sql.SQLException: Connection is invalid
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.testPooledConnection(C3P0PooledConnectionPool.java:196)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.refurbishIdleResource(C3P0PooledConnectionPool.java:136)
at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1394)
at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)
C3P0的这个问题一直没有解决,我最后使用了proxool,完美解决了此问题,所以在此推荐大家使用proxool,稳定运行3个月了,没有出现问题
分享到:
相关推荐
标题中的“Caused by: java.sql.SQLException: JZ0SJ: 没有在此数据库中发现元数据存取器信息。 请按 jConnect 文档中所述安装”是一个典型的错误信息,表明在尝试使用Java数据库连接(JDBC)驱动程序访问数据库时...
在oracle里面运行一下,解决Exception java.sql.SQLException ORA-00600 内部错误代码
在Java编程中,`java.sql.SQLException: 结果集已耗尽` 是一个常见的错误提示,通常出现在处理数据库查询结果集时。这个异常表明程序试图访问已经没有数据的结果集中下一行,即所有行已经被遍历完,尝试访问超出范围...
java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK ……
7. **优化性能**:使用连接池(如C3P0、HikariCP)可以有效地管理数据库连接,提高应用性能。此外,还可以配置批处理、预编译语句等优化策略。 8. **异常处理**:在处理数据库操作时,必须捕获SQLException和其他...
主要给大家介绍了关于MySQL存储表情时报错:java.sql.SQLException: Incorrect string value: 'xF0x9Fx92xA9x0Dx0A...'的解决方法,文中通过示例代码介绍的非常详细,需要的朋友可以参考借鉴,下面来一起看看吧。
本文主要介绍了关于MySQL存储表情报错:java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x92\xA9\x0D\x0A…’的相关解决方法,分享出供大家参考学习,下面话不多说了,来一起看看详细的介绍: ...
Caused by: java.sql.SQLException: java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver at com.trs.gateway.commons.hive.HiveFeature.getConnection(HiveFeature.java:57) at ...
java.sql.SQLException: null, message from server: “Host ‘223.72.41.7’ is not allowed to connect to this MySQL server” 客户端访问时报错: 解决方法: 1,登陆服务器 mysql> use mysql; //用mysql ...
Q: I am working with ... I am using updateBinaryStream method of resultset to update the BLOB field but it is failing after giving following exception java.sql.SQLException: Internal Error: Unable to
标题中的问题“Cause: java.sql.SQLException: The server time zone value”是Java开发者在使用IDEA(IntelliJ IDEA)进行数据库连接时常见的错误提示。这个错误通常发生在尝试连接到MySQL等SQL数据库时,由于...
import java.sql.SQLException; ``` 3. **注册驱动**:在使用MySQL驱动前,需要通过`Class.forName()`方法注册驱动。尽管在较新的JDBC版本中这个步骤可以省略,但为了兼容性,很多示例代码仍然包含它: ```java ...
- `java.sql.SQLException: ORA-00900: invalid SQL statement`: 执行的SQL语句有语法错误。检查SQL命令并修正语法错误。 5. **表或对象不存在** - `java.sql.SQLException: ORA-00942: table or view does not ...
已成功与服务器建立连接,但是在登录过程中发生错误 (provider: 共享内存提供程序, error: 0 - 管道的另一端上无任何进程。) 用户 'sa' 登录失败。该用户与可信 SQL Server 连接无关联。 说明: 执行当前 Web 请求...
当你尝试连接到MySQL数据库时,可能会遇到一个特定的异常:“java.sql.SQLException: The server time zone value ‘?й???????’ is unrecognized or represents more than one time zone”。这个错误表明服务器...
Caused by: org.apache.spark.sql.catalyst.analysis.NoSuchTableException: Table or view 'stu' not found in database 'default'; 分析:确实没有临时表View,并且没有开启Hive支持 解决:开启Hive支持 val ...
import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.sql.ResultSet; /** * @author Administrator * */ public class sqlServer {...
在Java编程中,数据库连接是应用开发不可或缺的一部分。在MySQL 5.6版本中,我们需要一个合适的驱动来建立...例如,Apache的DBCP或C3P0都是常用的Java连接池库。同时,注意处理异常和关闭连接,以保持良好的编程习惯。