首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

java.lang.IllegalStateException:Pool not open异常解决办法

2014-01-26 
msg:java.lang.IllegalStateException:Pool not openStackTrace: org.apache.commons.pool.BaseObjectPool.

msg:     java.lang.IllegalStateException:Pool not open    
StackTrace:
org.apache.commons.pool.BaseObjectPool.assertOpen(BaseObjectPool.java:123)
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:767)
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
org.hibernate.loader.Loader.doQuery(Loader.java:661)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
org.hibernate.loader.Loader.doList(Loader.java:2144)
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
org.hibernate.loader.Loader.list(Loader.java:2023)
org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:839)
org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:362)
org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:830)
org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:822)
com.gdnfha.atcs.datacollect.service.dao.hibernate.DataCollectHibernateDaoImpl.listWorkFlowItem(DataCollectHibernateDaoImpl.java:544)
com.gdnfha.atcs.datacollect.service.DataCollectServiceImpl.listWorkFlowItem(DataCollectServiceImpl.java:543)
sun.reflect.GeneratedMethodAccessor383.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
$Proxy11.listWorkFlowItem(Unknown Source)
com.gdnfha.atcs.datacollect.action.DataCollectAction.toNewBill(DataCollectAction.java:349)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
com.gdnfha.atcs.common.BaseDispatchAction.execute(BaseDispatchAction.java:91)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
com.gdnfha.atcs.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:91)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)         

热点排行