java - Warning for Connection Abandoned - With tomcat 7 throwing PooledConnection Exception -
i'm using tomcat 7 in application. when start server, shows me following warning message while startup:-
may 15, 2013 11:45:10 org.apache.tomcat.jdbc.pool.connectionpool abandon warning: connection has been abandoned pooledconnection[oracle.jdbc.driver.t4cconnection@d6d9b4]:java.lang.exception @ org.apache.tomcat.jdbc.pool.connectionpool.getthreaddump(connectionpool.java:1006) @ org.apache.tomcat.jdbc.pool.connectionpool.createconnection(connectionpool.java:672) @ org.apache.tomcat.jdbc.pool.connectionpool.borrowconnection(connectionpool.java:607) @ org.apache.tomcat.jdbc.pool.connectionpool.init(connectionpool.java:470) @ org.apache.tomcat.jdbc.pool.connectionpool.<init>(connectionpool.java:135) @ org.apache.tomcat.jdbc.pool.datasourceproxy.pcreatepool(datasourceproxy.java:112) @ org.apache.tomcat.jdbc.pool.datasourceproxy.createpool(datasourceproxy.java:99) @ org.apache.tomcat.jdbc.pool.datasourceproxy.getconnection(datasourceproxy.java:123) @ org.hibernate.ejb.connection.injecteddatasourceconnectionprovider.getconnection(injecteddatasourceconnectionprovider.java:67) @ org.hibernate.engine.jdbc.internal.jdbcservicesimpl$connectionproviderjdbcconnectionaccess.obtainconnection(jdbcservicesimpl.java:253) @ org.hibernate.engine.jdbc.internal.jdbcservicesimpl.configure(jdbcservicesimpl.java:119) @ org.hibernate.service.internal.standardserviceregistryimpl.configureservice(standardserviceregistryimpl.java:75) @ org.hibernate.service.internal.abstractserviceregistryimpl.initializeservice(abstractserviceregistryimpl.java:159) @ org.hibernate.service.internal.abstractserviceregistryimpl.getservice(abstractserviceregistryimpl.java:131) @ org.hibernate.cfg.settingsfactory.buildsettings(settingsfactory.java:71) @ org.hibernate.cfg.configuration.buildsettingsinternal(configuration.java:2270) @ org.hibernate.cfg.configuration.buildsettings(configuration.java:2266) @ org.hibernate.cfg.configuration.buildsessionfactory(configuration.java:1735) @ org.hibernate.ejb.entitymanagerfactoryimpl.<init>(entitymanagerfactoryimpl.java:84) @ org.hibernate.ejb.ejb3configuration.buildentitymanagerfactory(ejb3configuration.java:904) @ org.hibernate.ejb.ejb3configuration.buildentitymanagerfactory(ejb3configuration.java:889) @ org.hibernate.ejb.hibernatepersistence.createcontainerentitymanagerfactory(hibernatepersistence.java:73) @ org.springframework.orm.jpa.localcontainerentitymanagerfactorybean.createnativeentitymanagerfactory(localcontainerentitymanagerfactorybean.java:268) @ org.springframework.orm.jpa.abstractentitymanagerfactorybean.afterpropertiesset(abstractentitymanagerfactorybean.java:310) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokeinitmethods(abstractautowirecapablebeanfactory.java:1514) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1452) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:519) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:456) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:294) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:225) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:291) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:197) @ org.springframework.beans.factory.support.defaultlistablebeanfactory.getbeansoftype(defaultlistablebeanfactory.java:400) @ org.springframework.beans.factory.beanfactoryutils.beansoftypeincludingancestors(beanfactoryutils.java:275) @ org.springframework.dao.support.persistenceexceptiontranslationinterceptor.detectpersistenceexceptiontranslators(persistenceexceptiontranslationinterceptor.java:139) @ org.springframework.dao.support.persistenceexceptiontranslationinterceptor.<init>(persistenceexceptiontranslationinterceptor.java:79) @ org.springframework.dao.annotation.persistenceexceptiontranslationadvisor.<init>(persistenceexceptiontranslationadvisor.java:70) @ org.springframework.dao.annotation.persistenceexceptiontranslationpostprocessor.setbeanfactory(persistenceexceptiontranslationpostprocessor.java:103) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokeawaremethods(abstractautowirecapablebeanfactory.java:1475) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1443) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:519) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:456) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:294) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:225) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:291) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:197) @ org.springframework.context.support.abstractapplicationcontext.registerbeanpostprocessors(abstractapplicationcontext.java:728) @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:449) @ org.springframework.web.context.contextloader.configureandrefreshwebapplicationcontext(contextloader.java:385) @ org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:284) @ org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:111) @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:4723) @ org.apache.catalina.core.standardcontext$1.call(standardcontext.java:5226) @ org.apache.catalina.core.standardcontext$1.call(standardcontext.java:5221) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:303) @ java.util.concurrent.futuretask.run(futuretask.java:138) @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:886) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:908) @ java.lang.thread.run(thread.java:619)
don't know what's going wrong. pls me rid of warning causing other problems.
from research related stale connection or not closing connections correctly. have found related ticket here. please review , let me know if helps. if not can provide more information of environment. tomcat fullversion? looks using hibernate. version? there other errors maybe in application logging related?
Comments
Post a Comment