天天看点

C3P0错误

本在在整合Struts2、Spring 、iBatis时,使用C3P0连接池时,报如下错误:Resin-3.1.5 (built

Tue, 26 Feb 2008 04:32:55 PST)Copyright(c) 1998-2008 Caucho Technology.  All rights reserved. Starting Resin on Fri, 16 May 2008 14:34:58 +0800 (CST)   Using Resin(R) Open Source under the GNU Public License (GPL).   See http://www.caucho.com for information on Resin Professional,  including caching, clustering, JNI acceleration, and OpenSSL integration. [14:35:08.484] {main} 'select-manager' requires Resin Professional.  See http://www.caucho.com for information and licensing.[14:35:08.484] {main} [14:35:08.484] {main} Windows XP 5.1 x86[14:35:08.484] {main} Java 1.5.0_15-b04, 32, mixed mode, GBK, zh, Sun Microsystems Inc.[14:35:08.484] {main} user.name: Administrator[14:35:08.484] {main} resin.home = C:/TDDOWNLOAD/resin-3.1.5[14:35:08.484] {main} resin.root = C:/TDDOWNLOAD/resin-3.1.5[14:35:08.484] {main} resin.conf = /C:/TDDOWNLOAD/resin-3.1.5/conf/resin.conf[14:35:08.484] {main} [14:35:09.609] {main} WebApp[http://localhost:8080] active[14:35:10.250] {main} WebApp[http://localhost:8080/resin-admin] active- Parsing configuration file [struts-default.xml]- Parsing configuration file [struts-plugin.xml]- Parsing configuration file [struts.xml]- Settings: Could not parse struts.locale setting, substituting default VM locale- Overriding property struts.i18n.reload - old value: false new value: true- Overriding property struts.configuration.xml.reload - old value: false new value: true- Setting DefaultObjectTypeDeterminer as default ...[14:35:23.812] {main} WebApp[http://localhost:8080/Struts2] active[14:35:25.109] {main} WebApp[http://localhost:8080/TongCan] Set web app root system property: 'webapp.root' = [C:/TDDOWNLOAD/resin-3.1.5/webapps/TongCan/][14:35:25.156] {main} WebApp[http://localhost:8080/TongCan] Initializing Log4J from [C:/TDDOWNLOAD/resin-3.1.5/webapps/TongCan/WEB-INF/log4j.properties]log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /WEB-INF/tongcan.log (系统找不到指定的路径。) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:272) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:327) at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:73) at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:152) at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:51) at com.caucho.server.webapp.WebApp.start(WebApp.java:1852) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:437) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1217) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:528) at com.caucho.server.resin.Resin.start(Resin.java:695) at com.caucho.server.resin.Resin.initMain(Resin.java:1139) at com.caucho.server.resin.Resin.main(Resin.java:1341)[14:35:25.656] {main} WebApp[http://localhost:8080/TongCan] Initializing Spring root WebApplicationContext2008-05-16 14:35:25,656 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started2008-05-16 14:35:26,078 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing o[email protected]1115a61: display name [Root WebApplicationContext]; startup date [Fri May 16 14:35:26 CST 2008]; root of context hierarchy2008-05-16 14:35:27,390 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/dataAccessContext-local.xml]2008-05-16 14:35:28,562 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]2008-05-16 14:35:29,937 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/actionContext.xml]2008-05-16 14:35:30,468 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [o[email protected]1115a61]: org.s[email protected]4577f92008-05-16 14:35:31,625 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from ServletContext resource [/WEB-INF/mail.properties]2008-05-16 14:35:31,625 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from ServletContext resource [/WEB-INF/jdbc.properties]2008-05-16 14:35:31,937 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.aop.config.internalAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2008-05-16 14:35:32,125 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.s[email protected]4577f9: defining beans [dataSource,transactionManager,sqlMapClient,accountDao,propertyConfigurer,accountFacade,loginAction,org.springframework.aop.config.internalAutoProxyCreator]; root of factory hierarchy2008-05-16 14:35:32,609 INFO [com.mchange.v2.log.MLog] - MLog clients using log4j logging.2008-05-16 14:35:34,109 INFO [com.mchange.v2.c3p0.C3P0Registry] - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]2008-05-16 14:35:38,125 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 12454 ms2008-05-16 14:35:39,187 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-default.xml]2008-05-16 14:35:40,234 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-plugin.xml]2008-05-16 14:35:40,343 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts.xml]2008-05-16 14:35:40,359 WARN [org.apache.struts2.config.Settings] - Settings: Could not parse struts.locale setting, substituting default VM locale2008-05-16 14:35:40,390 INFO [com.opensymphony.xwork2.config.impl.DefaultConfiguration] - Overriding property struts.i18n.reload - old value: false new value: true2008-05-16 14:35:40,437 INFO [com.opensymphony.xwork2.config.impl.DefaultConfiguration] - Overriding property struts.configuration.xml.reload - old value: false new value: true2008-05-16 14:35:40,937 INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] - Initializing Struts-Spring integration...2008-05-16 14:35:40,937 INFO [com.opensymphony.xwork2.spring.SpringObjectFactory] - Setting autowire strategy to name2008-05-16 14:35:40,937 INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] - ... initialized Struts-Spring integration successfully2008-05-16 14:35:44,953 INFO [com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory] - Setting DefaultObjectTypeDeterminer as default ...[14:35:44.968] {main} WebApp[http://localhost:8080/TongCan] active[14:35:44.984] {main} Host[] active[14:35:45.109] {main} hmux listening to localhost:6800[14:35:45.203] {main} http listening to *:8080[14:35:45.234] {main} Server[id=,cluster=app-tier] active[14:35:45.296] {main} Resin started in 49468ms[14:35:54.875] {http--8080-0} Loading .tld files from global classpath2008-05-16 14:36:04,796 INFO [com.opensymphony.xwork2.validator.ActionValidatorManagerFactory] - Detected AnnotationActionValidatorManager, initializing it...2008-05-16 14:36:05,687 INFO [com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource] - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0we7t1upoytielf8hl|1eb8f6d, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.microsoft.jdbc.sqlserver.SQLServerDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0we7t1upoytielf8hl|1eb8f6d, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:sqlserver://localhost:1433;SelectMethod=Cursor;DataBaseName=TEST, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]2008-05-16 14:36:07,609 WARN [com.mchange.v2.c3p0.impl.NewPooledConnection] - [email protected] threw an Error when we tried to check its default holdability. This is probably due to a bug in your JDBC driver that c3p0 can harmlessly work around (reported for some DB2 drivers). Please verify that the error stack trace is consistentwith the getHoldability() method not being properly implemented, and is not due to some deeper problem. This message will not be repeated for Connections of type com.microsoft.jdbc.sqlserver.SQLServerConnection that provoke errors of type java.lang.AbstractMethodError when getHoldability() is called.java.lang.AbstractMethodError: com.microsoft.jdbc.sqlserver.SQLServerConnection.getHoldability()I at com.mchange.v2.c3p0.impl.NewPooledConnection.carefulCheckHoldability(NewPooledConnection.java:117) at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:109) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:198) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,765 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Database changed to TESTjava.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Database changed to TEST at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,765 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Database changed to TESTjava.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Database changed to TEST at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Database changed to TESTjava.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Database changed to TEST at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将数据库上下文改为 'TEST'。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,781 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,859 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver]Language changed to 简体中文 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processEnvChange(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,859 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)2008-05-16 14:36:07,859 INFO [com.mchange.v2.c3p0.SQLWarnings] - [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。java.sql.SQLWarning: [Microsoft][SQLServer JDBC Driver][SQLServer]已将语言设置改为 简体中文。 at com.microsoft.jdbc.base.BaseWarnings.add(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processInfoToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

虽然其它运行正常,但亦觉不爽,搜遍谷歌未见解决,后换Proxool解决,但Proxool也有一Bug,对于Proxool的Bug则在另一篇中说明

继续阅读