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
]
- 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
]
相关文章推荐
- 启动tomcat时报错“连接错误”
- Tomcat启动时报Error listenerStart错误,访问web服务时报HTTP Status 404错误
- tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案
- mybatis(错误二) 项目启动时报“Result Maps collection already contains value forxxx”的解决方案
- TOMCAT启动时候报找不到工程错误解决方案
- 启动tomcat时报错“连接错误”
- tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案
- mybatis(错误一) 项目启动时报“Result Maps collection already contains value forxxx”的解决方案
- tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案
- Eclipse中启动Tomcat服务器产生错误的原因及解决方案
- 启动Tomcat时报这样的错误——跟数据库有关
- tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案
- 关于Java启动时报的Fail to create JVM的错误解决方案
- tomcat启动后,页面浏览时报错 Unable to compile class for JSP的解决方案
- tomcat启动时报如下错误
- tomcat启动时报Error listenerStart错误,访问web服务时报HTTP Status 404错误
- tomcat启动后,页面浏览时报错 Unable to compile class for JSP的解决方案【原创】
- tomcat启动时报Error listenerStart错误,访问web服务时报HTTP Status 404错误
- tomcat启动时报webapps文件夹下的文件夹部署目录不正确的错误
- maven项目(错误一) 项目启动时报“org.springframework.core.env.ConfigurableEnvironment”的解决方案