`
anzn20
  • 浏览: 88130 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Thread[com.mchange.v2.async.ThreadPoolAsynchronous

阅读更多
Managed Threads: 3
	Active Threads: 3
	Active Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@c22681 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e12d5 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@96613f (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
	Pending Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ca81dd
		com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@113daba
		com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@7d0bbd
		com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@18dcc86
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e84ad
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1c87a13
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@c6a26b
Pool thread stack traces:
	Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:562)
	Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:562)
	Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
		com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1026)
		com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
		com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

看以前同事的写的功能模块,一点击就死了。。。不知道什么原因?
c3po配置:
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
		<property name="driverClass" value="${jdbc.driverClassName}"/>
		<property name="jdbcUrl" value="${jdbc.url}"/>
		<property name="user" value="${jdbc.username}"/>
		<property name="password" value="${jdbc.password}"/>
		<property name="minPoolSize" value="10"/>
		<property name="maxPoolSize" value="20"/>
		<property name="initialPoolSize" value="10"/>
		<property name="maxIdleTime" value="30"/>
		<property name="maxStatements" value="0"/>
		<property name="idleConnectionTestPeriod" value="60"/>
	</bean>
分享到:
评论
3 楼 cmzy 2009-05-19  
这个我也遇到了,请看这里http://www.iteye.com/topic/22160?page=3
2 楼 anzn20 2009-02-23  
lusen 写道

&lt;property name="idleConnectionTestPeriod" value="60"/&gt;
这个是检查连接池连接状态的周期,单位是毫秒,设为60毫秒有点短了。

一点就死,看日志抛了什么异常。可以通过jconsole监控c3p0连接池。

谢谢!
1 楼 lusen 2009-02-20  
<property name="idleConnectionTestPeriod" value="60"/>
这个是检查连接池连接状态的周期,单位是毫秒,设为60毫秒有点短了。

一点就死,看日志抛了什么异常。可以通过jconsole监控c3p0连接池。

相关推荐

    SpringMVC文件上传

    11:01:33,545 DEBUG ThreadPoolAsynchronousRunner:730 - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@5b28c08e -- Running DeadlockDetector[Exiting. No pending tasks.] 11:01:43,558 ...

    c3p0-0.9.5-pre1,hamcrest-core-1.3的jar包

    META-INF/MANIFEST.MF ...com.mchange.v2.Debug.class com.mchange.v2.c3p0.AbstractConnectionCustomizer.class com.mchange.v2.c3p0.AbstractConnectionTester.class com.mchange.v2.c3p0.C3P0ProxyConnection.class ...

    DBCP&C3P0连接池(含配置文件)

    com.mchange.v2.c3p0.jdbc.DataSourceClass = com.mchange.v2.c3p0.ComboPooledDataSource driverClass=com.mysql.jdbc.Driver jdbcUrl=jdbc:mysql://localhost:3306/mydatabase initialPoolSize=5 minPoolSize=5 ...

    c3p0Jar包及源码

    com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar com.springsource.com.mchange.v2.c3p0-sources-0.9.1.2.jar

    c3p0-0.9.1.2.jar

    C3p0是一个开源的Java数据库连接池,全称为com.mchange.v2.c3p0,它由MChange Software公司开发。这个"C3p0-0.9.1.2.jar"是c3p0的一个特定版本,版本号为0.9.1.2,包含了该版本的所有功能和修复的已知问题。数据库...

    jar_files.zip

    &lt;bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"&gt; &lt;property name="driverClass" value="com.mysql.jdbc.Driver"/&gt; &lt;!-- 其他配置属性 --&gt; ``` 在上面的配置中,我们指定了...

    c3p0-0.9.5.5.jar.zip

    《c3p0-0.9.5.5.jar.zip:深入...com.mchange.v2.c3p0.jdbcUrl=jdbc:mysql://localhost:3306/mydb com.mchange.v2.c3p0.username=myuser com.mchange.v2.c3p0.password=mypassword com.mchange.v2.c3p0.minPoolSize=5 ...

    话费充值系统。。。。。

    2020-11-27 11:26:11|localhost-startStop-1|INFO |com.mchange.v2.log.MLog,80,|-&gt; MLog clients using log4j logging. 2020-11-27 11:26:11|localhost-startStop-1|INFO |com.mchange.v2.c3p0.C3P0Registry,204,...

    c3p0包

    com.mchange.v2.c3p0.idle_test_period=3000 ``` 4. **C3P0的API**:C3P0提供了一套API,包括` ComboPooledDataSource `类,它是连接池的主要实现类,用于初始化和管理数据库连接。开发者可以通过它的方法获取和...

    C3P0jar包.rar

    这个RAR压缩包包含了两个重要的JAR文件,分别是c3p0-0.9.5.2.jar和mchange-commons-java-0.2.11.jar。 1. **c3p0-0.9.5.2.jar**:这是C3P0的核心库文件,版本为0.9.5.2。C3P0是由Mchange公司开发的一个开源的数据库...

    quartz log4j

    log4j:WARN No appenders could be found for logger (com.mchange.v2.log.MLog). log4j:WARN Please initialize the log4j system properly.

    C3P0的依赖Jar包

    2. **com.mchange.v2.c3p0.jar**:这个包是C3P0的全名,包含了一些额外的依赖,如Mchange的其他组件,这些组件可能在某些特定功能或异常处理中使用。 3. **mysql-connector-java.jar** (或对应数据库驱动):C3P0...

    c3p0连接池常用jar(c3p0.jar和mchange-commons-java-.jar)

    import com.mchange.v2.c3p0.ComboPooledDataSource; public class C3P0Config { public static void main(String[] args) { ComboPooledDataSource cpds = new ComboPooledDataSource(); cpds.setDriverClass(...

    SSHjar包 .rar

    com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar com.springsource.org.aopalliance-1.0.0.jar com.springsource.org.apache.commons.logging-1.1.1.jar com.springsource.org.apache.log4j-1.2.15.jar ...

    c3p0和mchange匹配的版本

    在Java开发中,数据库连接管理是一个关键环节,而C3P0和MChange(也称为Vibur DBCP)是两个常用的数据库连接池组件。它们各自有着不同的特性和使用场景,但有时候为了优化数据库访问性能,我们会将两者结合使用。在...

    C3P0连接池参数配置

    &lt;bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"&gt; &lt;property name="driverClass" value="com.mysql.jdbc.Driver"/&gt; &lt;!-- 其他参数配置... --&gt; ``` 理解并正确配置这些参数...

    mchange-commons-java-0.2.11.jar

    《mchange-commons-java-0.2.11.jar:深入了解Maven依赖与Java库的构建》 在Java开发中,我们经常会遇到各种各样的jar文件,它们是Java应用程序的基础,提供了丰富的功能和API。"mchange-commons-java-0.2.11.jar...

    c3p0-0.9.5.2.jar+mchange-commons-java-0.2.12.jar

    c3p0是一个开源的JDBC连接池,它的全称为com.mchange.v2.c3p0,由Mchange公司提供。这个库使得开发者能够更高效地管理和复用数据库连接,从而提高应用性能并降低系统资源消耗。"c3p0-0.9.5.2.jar+mchange-commons-...

    mchange-commons-java-0.2.15.jar找不到的问题的解决

    c3p0连接mysql8.0.11需要外加mchange-commons-java-0.2.15.jar,maven的pom.xml 中配置了,但是项目中报找不到...比如放到我本地的对应目录:C:\Users\EDZ\.m2\repository\com\mchange\c3p0\0.9.5.4,就不会有此提示了

    连接池c3p0jar c3p0-0.9.5.2.jar mchange-commons-java-0.2.11.jar

    c3p0-0.9.5.2.jar mchange-commons-java-0.2.11.jar commons-logging-1.2.jar mysql-connector-java-5.1.43-bin.jar

Global site tag (gtag.js) - Google Analytics