您的位置:首页 > 运维架构 > Tomcat

springmvc+mybatis+c3p0 tomcat启动时报的错误,求解决方案

2014-07-10 13:54 330 查看
2014-07-10 13:43:35,164  INFO org.springframework.web.context.ContextLoader:(ContextLoader.java:273) 

 - Root WebApplicationContext: initialization started

2014-07-10 13:43:35,371  INFO org.springframework.web.context.support.XmlWebApplicationContext:(AbstractApplicationContext.java:510) 

 - Refreshing Root WebApplicationContext: startup date [Thu Jul 10 13:43:35 CST 2014]; root of context hierarchy

2014-07-10 13:43:35,506  INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:(XmlBeanDefinitionReader.java:315) 

 - Loading XML bean definitions from file [F:\apache-tomcat-6.0.36\webapps\weixintask\WEB-INF\classes\spring.xml]

2014-07-10 13:43:36,246  INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer:(PropertiesLoaderSupport.java:172) 

 - Loading properties file from class path resource [db.properties]

2014-07-10 13:43:36,324  INFO org.springframework.beans.factory.support.DefaultListableBeanFactory:(DefaultListableBeanFactory.java:596) 

 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1112776: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,classesDao,classesNewsDao,examDao,messageDao,replyDao,studentDao,studentMessageDao,classesService,examService,studentService,weixinService,classesController,examController,loginController,studentController,weixinController,propertyConfigurer,readDataSource,readSqlSessionFactory,readSqlSession,writeDataSource,writerSqlSessionFactory,writerSqlSession,transactionManager,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor];
root of factory hierarchy

2014-07-10 13:43:36,501  INFO com.mchange.v2.log.MLog:(MLog.java:80) 

 - MLog clients using log4j logging.

2014-07-10 13:43:36,593  INFO com.mchange.v2.c3p0.C3P0Registry:(C3P0Registry.java:204) 

 - Initializing c3p0-0.9.2-pre4 [built 16-June-2012 20:16:37 -0400; debug? true; trace: 10]

2014-07-10 13:43:37,309  INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:(AbstractPoolBackedDataSource.java:510) 

 - 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 -> 1hge52e938jmwkkpt1v8h|163956f, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass ->
com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge52e938jmwkkpt1v8h|163956f, idleConnectionTestPeriod -> 10, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://r.rdc.sae.sina.com.cn:3307/app_wxittask?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true,
maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 10, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 0, numHelperThreads -> 3, preferredTestQuery -> SELECT 1 FROM
DUAL, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false
]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  springmvc mybatis c3p0
相关文章推荐