INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource

六月 08, 2014 3:07:09 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager

INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false,
automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> ebookstore, debugUnreturnedConnectionStackTraces
-> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15x92xxn55od3fpkb|1d0942d, idleConnectionTestPeriod -> 0, initialPoolSize -> 20, jdbcUrl ->
jdbc:mysql://localhost:3306/ebookstore, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 40, maxStatements -> 0, maxStatementsPerConnection -> 5, minPoolSize -> 10, numHelperThreads
-> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides
-> {}, usesTraditionalReflectiveProxies -> false ]

在eclipse中调试代码的过程中,出现了上述情况。

从信息中发现,但是并没有提示是异常信息,而且页面好像停在某个请求位置,总是过去不去。

我尝试了一下,mysql的服务,问题解决。

上面的信息中其实有很多的null,false。所以我想到重启服务。但是是服务为什么无故的关掉了,我也很奇怪。

可能是我的电脑上安装了360吧。

补充一下:为什么会出现页面上显示的请求一直等待?

因为请求发出之后,对数据的操作,数据操作本身设定了一定的时间,如果在时间范围内,请求操作会一直尝试操作数据库。但过了这个设定的时间以后,可能会报出错了,和朋友交流后,发现好像得等十分钟,我就没去测试了。

INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource,布布扣,bubuko.com

时间: 2024-10-08 11:13:07

INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource的相关文章

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource

INFO AbstractPoolBackedDataSource:462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> nu

Caused by: java.lang.ClassNotFoundException: com.mchange.v2.c3p0.ComboPooledDataSource

1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 0:51:11 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using

Invalid property 'url' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]

1.错误描述 INFO:2015-05-01 13:13:05[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] WARN:2015-05-01 13:13:05[localhost-startStop-1] - Exception encountered during context initialization - ca

C3P0的详细配置说明(com.mchange.v2.c3p0.ComboPooledDataSource)

C3P0是一个开放源代码的JDBC连接池,它在lib目录中与Hibernate一起发布,包括了实现jdbc3和jdbc2扩展规范说明的Connection 和Statement 池的DataSources 对象. c3p0.acquireIncrement=3 c3p0.initialPoolSize=3 c3p0.idleConnectionTestPeriod=900 c3p0.minPoolSize=2 c3p0.maxPoolSize=50 c3p0.maxStatements=100

C3P0具体的配置说明(com.mchange.v2.c3p0.ComboPooledDataSource)

C3P0它是一个开源JDBC连接池,它lib文件夹和Hibernate一起公布,包含了实现jdbc3和jdbc2扩展规范说明的Connection 和Statement 池的DataSources 对象. c3p0.acquireIncrement=3 c3p0.initialPoolSize=3 c3p0.idleConnectionTestPeriod=900 c3p0.minPoolSize=2 c3p0.maxPoolSize=50 c3p0.maxStatements=100 c3p0

Invalid property 'url' of bean class com mchange v2 c3p0 Co

1.错误描述 INFO:2015-05-01 13:13:05[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] WARN:2015-05-01 13:13:05[localhost-startStop-1] - Exception encountered during context initialization - ca

com.mchange.v2.c3p0.ComboPooledDataSource

C3P0是一个开放源代码的JDBC连接池,它在lib目录中与Hibernate一起发布,包括了实现jdbc3和jdbc2扩展规范说明的Connection 和Statement 池的DataSources 对象. http://meiyx.iteye.com/blog/865000 在Hibernate(spring管理)中的配置: <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSourc

解决Caused by: java.lang.NoSuchMethodException: com.mchange.v2.c3p0.cfg.C3P0Config.&lt;init&gt;()的总结

引起:spring的dao层注入dataSource出现c3p0初始化异常. bug示图: 源码图: 解决: 在填写property属性时,我就纳闷alt+/用不了了,完了之后运行发现初始化出错,然后一看,是因为class引入的类有问题 引入错误的类:com.mchange.v2.c3p0.cfg.C3P0Config 正确的类:com.mchange.v2.c3p0.ComboPooledDataSource

c3p0 空指针异常 com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

[email protected]5 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: