C3P0连接池异常
解决方案:
将c3p0.jar包换成c3p0-0.9.0.2.jar,c3p0这个包应该有bug
引用如下:
com.mchange.v2.log.MLog
Determines which library c3p0 will output log messages to. By default, if log4j is available, it will use that library, ...
引用网址:https://bugzilla.redhat.com/show_bug.cgi?id=735460
2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined 2014-6-2 15:48:54 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined 2014-6-2 15:48:54 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/Parameters' 的 Mojarra 2.0.3 (FCS b03) 2014-6-2 15:48:55 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-6-2 15:48:55 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-default.xml] 2014-6-2 15:48:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-plugin.xml] 2014-6-2 15:48:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts.xml] 2014-6-2 15:48:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Overriding property struts.i18n.reload - old value: false new value: true 2014-6-2 15:48:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Overriding property struts.configuration.xml.reload - old value: false new value: true 2014-6-2 15:48:56 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\SoftwareDeveloping\tomcat7.0.35\webapps\ROOT 2014-6-2 15:48:56 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\SoftwareDeveloping\tomcat7.0.35\webapps\StudentLifeSupportPlatformSystem 2014-06-02 15:48:56 Test: Directory 'F:\Workplace\Myeclipse\StudentLifeSupportPlatformSystem\WebRoot\WEB-INF\classes' will be monitored for changes. 2014-06-02 15:48:56 Test: Directory 'F:\Workplace\Myeclipse\StudentLifeSupportPlatformSystem\WebRoot' will be monitored for changes. 2014-06-02 15:48:59 Test: Monitoring Log4j configuration in 'file:/F:/Workplace/Myeclipse/StudentLifeSupportPlatformSystem/WebRoot/WEB-INF/classes/log4j.properties'. 2014-6-2 15:48:59 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext INFO org.springframework.web.context.ContextLoader Root WebApplicationContext: initialization started INFO org.springframework.web.context.support.XmlWebApplicationContext Refreshing org.springframework.web.context.support.XmlWebApplicationContext@5c816a7d: display name [Root WebApplicationContext]; startup date [Mon Jun 02 15:49:00 CST 2014]; root of context hierarchy 2014-06-02 15:49:00 Test: Monitoring Spring bean definitions in 'F:\Workplace\Myeclipse\StudentLifeSupportPlatformSystem\WebRoot\WEB-INF\classes\beans.xml'. INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from class path resource [beans.xml] INFO org.springframework.web.context.support.XmlWebApplicationContext Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@5c816a7d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@263608aa INFO org.springframework.beans.factory.support.DefaultListableBeanFactory Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@263608aa: defining beans [sessionFactory,hibernateTemplate,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,transactionAdvice,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0]; root of factory hierarchy INFO org.hibernate.cfg.annotations.Version Hibernate Annotations 3.4.0.GA INFO org.hibernate.cfg.Environment Hibernate 3.3.2.GA INFO org.hibernate.cfg.Environment hibernate.properties not found INFO org.hibernate.cfg.Environment Bytecode provider name : javassist INFO org.hibernate.cfg.Environment using JDK 1.4 java.sql.Timestamp handling INFO org.hibernate.annotations.common.Version Hibernate Commons Annotations 3.1.0.GA INFO org.hibernate.cfg.Configuration configuring from url: file:/F:/Workplace/Myeclipse/StudentLifeSupportPlatformSystem/WebRoot/WEB-INF/classes/hibernate.cfg.xml INFO org.hibernate.cfg.Configuration Configured SessionFactory: null INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.Credit INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.Credit on table credit INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.HelpInfo INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.HelpInfo on table help_info INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.HelpInfoBoard INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.HelpInfoBoard on table help_info_board INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.OperatingHistory INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.OperatingHistory on table operating_history INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.ReplyInfo INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.ReplyInfo on table reply_info INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.Role INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.Role on table role INFO org.hibernate.cfg.AnnotationBinder Binding entity from annotated class: student.life.support.platform.model.User INFO org.hibernate.cfg.annotations.EntityBinder Bind entity student.life.support.platform.model.User on table user INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.HelpInfoBoard.helpInfos -> help_info INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.Role.users -> user INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.User.credits -> credit INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.User.helpInfoBoards -> help_info_board INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.User.helpInfos -> help_info INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.User.operatingHistories -> operating_history INFO org.hibernate.cfg.annotations.CollectionBinder Mapping collection: student.life.support.platform.model.User.replyInfos -> reply_info INFO org.hibernate.validator.Version Hibernate Validator 3.1.0.GA INFO org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean Building new Hibernate SessionFactory INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. INFO org.hibernate.connection.ConnectionProviderFactory Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider INFO org.hibernate.connection.C3P0ConnectionProvider C3P0 using driver: com.mysql.jdbc.Driver at URL: jdbc:hsqldb:hsql://localhost:3306/studentlifesupportplatform INFO org.hibernate.connection.C3P0ConnectionProvider Connection properties: {user=root, password=****} INFO org.hibernate.connection.C3P0ConnectionProvider autocommit mode: false INFO org.springframework.beans.factory.support.DefaultListableBeanFactory Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@263608aa: defining beans [sessionFactory,hibernateTemplate,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,transactionManager,transactionAdvice,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0]; root of factory hierarchy 2014-6-2 15:49:02 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/mchange/v2/log/MLog at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoClassDefFoundError: com/mchange/v2/log/MLog at com.mchange.v2.c3p0.DataSources.<clinit>(DataSources.java:72) at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:176) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:79) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:425) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 29 more Caused by: java.lang.ClassNotFoundException: com.mchange.v2.log.MLog at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ... 44 more ERROR org.springframework.web.context.ContextLoader Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/mchange/v2/log/MLog at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoClassDefFoundError: com/mchange/v2/log/MLog at com.mchange.v2.c3p0.DataSources.<clinit>(DataSources.java:72) at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:176) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:79) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:425) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 29 more Caused by: java.lang.ClassNotFoundException: com.mchange.v2.log.MLog at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ... 44 more 2014-6-2 15:49:02 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/StudentLifeSupportPlatformSystem' 的 Mojarra 2.0.3 (FCS b03) 2014-6-2 15:49:03 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-6-2 15:49:03 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2014-6-2 15:49:03 org.apache.catalina.core.StandardContext startInternal 严重: Context [/StudentLifeSupportPlatformSystem] startup failed due to previous errors 2014-6-2 15:49:03 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2014-6-2 15:49:03 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/StudentLifeSupportPlatformSystem] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2014-6-2 15:49:03 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [/StudentLifeSupportPlatformSystem] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@45f3666b]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2014-6-2 15:49:03 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 2014-6-2 15:49:03 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 2014-6-2 15:49:03 org.apache.catalina.startup.Catalina start 信息: Server startup in 13326 ms
欢迎讨论交流, 我的主页:http://www.cnblogs.com/GDUT/
我的邮箱:zone.technology.exchange@gmail.com
C3P0连接池异常的更多相关文章
- druid连接池异常
在从excel导入10W条数据到mysql中时,运行一段时间就会抛这个异常,连接池问题 org.springframework.transaction.CannotCreateTransactionE ...
- Maven 工程下 Spring MVC 站点配置 (三) C3P0连接池与@Autowired的应用
Maven 工程下 Spring MVC 站点配置 (一) Maven 工程下 Spring MVC 站点配置 (二) Mybatis数据操作 前两篇文章主要是对站点和数据库操作配置进行了演示,如果单 ...
- 网络协议 finally{ return问题 注入问题 jdbc注册驱动问题 PreparedStatement 连接池目的 1.2.1DBCP连接池 C3P0连接池 MYSQL两种方式进行实物管理 JDBC事务 DBUtils事务 ThreadLocal 事务特性 并发访问 隔离级别
1.1.1 API详解:注册驱动 DriverManager.registerDriver(new com.mysql.jdbc.Driver());不建议使用 原因有2个: >导致驱动被注册2 ...
- c3p0连接池]
<c3p0-config> <!-- 默认配置 --> <default-config> <property name="jdbcUrl" ...
- c3p0连接池获得的Connection执行close方法后是否真的销毁Connection对象?
问题描述: jfinal做的api系统中,在正常调用接口一段时间后,突然再调用接口的时候,该请求无响应api系统后台也无错误信息 (就是刚开始接口调用是正常的,突然就无响应了) 于是啊,就开始找错误. ...
- C3P0连接池在hibernate和spring中的配置
首先为什么要使用连接池及为什么要选择C3P0连接池,这里就不多说了,目前C3P0连接池还是比较方便.比较稳定的连接池,能与spring.hibernate等开源框架进行整合. 一.hibernate中 ...
- C3P0连接池问题,APPARENT DEADLOCK!!! Creating emergency..... [问题点数:20分,结帖人lovekong]
采用c3p0连接池,每次调试程序,第一次访问时(Tomcat服务器重启后再访问)都会出现以下错误,然后连接库需要很长时间,最终是可以连上的,之后再访问就没问题了,请高手们会诊一下,希望能帮小弟解决此问 ...
- HQL查询及Hibernate对c3p0连接池的支持
//HQL查询 // auto-import要设置true,如果是false,写HQL时要指定类的全名 //查询全部列 Query query = session.createQuery(" ...
- C3P0连接池详解及配置
C3P0连接池详解及配置 本人使用的C3P0的jar包是:c3p0-0.9.1.jar <bean id = "dataSource" class = "com.m ...
随机推荐
- openStack镜像制作
参考链接: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/OpenStack/page/Creating ...
- dedecms代码研究二
dedecms代码研究(2)从index开始现在继续,今天讲的主要是dedecms的入口代码.先打开index.PHP看看里面是什么吧.打开根目录下的index.php嗯映入眼帘的是一个if语句.检查 ...
- C++学习基础四——顺序容器和关联容器
—顺序容器:vector,list,queue1.顺序容器的常见用法: #include <vector> #include <list> #include <queue ...
- Servlet的过滤器Filter
Servlet 编写过滤器 Servlet 过滤器可以动态地拦截请求和响应,以变换或使用包含在请求或响应中的信息. 可以将一个或多个 Servlet 过滤器附加到一个 Servlet 或一组 Serv ...
- Django过滤器列表
Django 模板过滤器也是我们在以后基于 Django 网站开发过程中会经常遇到的,如显示格式的转换.判断处理等.以下是 Django 过滤器列表,希望对为大家的开发带来一些方便. 一.形式:小写 ...
- notepad++ 正则表达式
body { font-family: Bitstream Vera Sans Mono; font-size: 11pt; line-height: 1.5; } html, body { colo ...
- window删除文件时提示: 源文件名长度大于系统支持的长度
有时候删除windows中的目录的时候,会出现"源文件名长度大于系统支持的长度", 而导致不能删除, 作为一个程序猿, 怎么可以被这个折服呢, 原理: 利用 Java 递归删除文 ...
- SQL语句调优 - 统计信息的含义与作用及维护计算
统计信息的含义与作用 ...
- Linux内核启动logo
之前在分析samsung的fb驱动代码的时候,其中有一段代码是处理内核logo显示相关的,今天就内核logo这个话题来聊一聊! 一.处理内核logo显示相关的代码在哪? 回到samsung的fb驱动代 ...
- Servlet调用过程整理