aspose file tools*
The moose likes Performance and the fly likes Hibernate Connection pooling error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply locked New topic
Author

Hibernate Connection pooling error

Aarav Kumar
Greenhorn

Joined: Feb 11, 2013
Posts: 2
I am getting the following exception at the time of loading a entity

12:07:57,725 WARN [org.hibernate.util.JDBCExceptionReporter] (http--0.0.0.0-8443-4) SQL Error: 0, SQLState: null
12:07:57,753 ERROR [org.hibernate.util.JDBCExceptionReporter] (http--0.0.0.0-8443-4) Connection PoolingConnection: null is closed.
12:07:57,754 INFO [org.hibernate.event.def.DefaultLoadEventListener] (http--0.0.0.0-8443-4) Error performing load command: org.hibernate.exception.GenericJDBCException: could not load an entity: [com.titlevest.realec.model.hibernate.RealecMessageExchangeBean#983]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) [hibernate3.jar:3.6.10.Final]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) [hibernate3.jar:3.6.10.Final]
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.Loader.loadEntity(Loader.java:2041) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76) [hibernate3.jar:3.6.10.Final]
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3294) [hibernate3.jar:3.6.10.Final]
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496) [hibernate3.jar:3.6.10.Final]
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477) [hibernate3.jar:3.6.10.Final]
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227) [hibernate3.jar:3.6.10.Final]
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:147) [hibernate3.jar:3.6.10.Final]
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) [hibernate3.jar:3.6.10.Final]
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1026) [hibernate3.jar:3.6.10.Final]
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:176) [hibernate3.jar:3.6.10.Final]
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215) [hibernate3.jar:3.6.10.Final]
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) [hibernate3.jar:3.6.10.Final]
at com.titlevest.realec.model.hibernate.RealecMessageExchangeBean_$$_javassist_16.setIsSentToDominos(RealecMessageExchangeBean_$$_javassist_16.java) [TV-RealEC.jar:]
at com.titlevest.titlevest.bo.impl.TitleVestMessageExchangeBoImpl.sendXMLRequestToTitleVestServer(TitleVestMessageExchangeBoImpl.java:53) [TV-RealEC.jar:]
at com.titlevest.titlevest.action.TitleVestMessageExchangeAction.submitToTitleVest(TitleVestMessageExchangeAction.java:119) [TV-RealEC.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_19]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_19]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_19]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_19]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:292) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:255) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:236) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:236) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) [struts2-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187) [xwork-core-2.3.4.1.jar:2.3.4.1]
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) [xwork-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) [struts2-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:511) [struts2-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.4.1.jar:2.3.4.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) [struts2-core-2.3.4.1.jar:2.3.4.1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_19]
Caused by: java.sql.SQLException: Connection PoolingConnection: null is closed.
at org.apache.commons.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:398) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:279) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313) [commons-dbcp-1.4.jar:1.4]
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534) [hibernate3.jar:3.6.10.Final]
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452) [hibernate3.jar:3.6.10.Final]
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.Loader.doQuery(Loader.java:801) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274) [hibernate3.jar:3.6.10.Final]
at org.hibernate.loader.Loader.loadEntity(Loader.java:2037) [hibernate3.jar:3.6.10.Final]
... 81 more

12:07:57,807 ERROR [stderr] (http--0.0.0.0-8443-4) org.hibernate.exception.GenericJDBCException: could not load an entity: [com.titlevest.realec.model.hibernate.RealecMessageExchangeBean#983]
12:07:57,808 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
12:07:57,808 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
12:07:57,808 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
12:07:57,808 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.Loader.loadEntity(Loader.java:2041)
12:07:57,808 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
12:07:57,809 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
12:07:57,809 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3294)
12:07:57,809 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
12:07:57,809 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
12:07:57,810 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
12:07:57,810 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:147)
12:07:57,810 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
12:07:57,810 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1026)
12:07:57,810 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:176)
12:07:57,811 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
12:07:57,811 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
12:07:57,811 ERROR [stderr] (http--0.0.0.0-8443-4) at com.titlevest.realec.model.hibernate.RealecMessageExchangeBean_$$_javassist_16.setIsSentToDominos(RealecMessageExchangeBean_$$_javassist_16.java)
12:07:57,811 ERROR [stderr] (http--0.0.0.0-8443-4) at com.titlevest.titlevest.bo.impl.TitleVestMessageExchangeBoImpl.sendXMLRequestToTitleVestServer(TitleVestMessageExchangeBoImpl.java:53)
12:07:57,812 ERROR [stderr] (http--0.0.0.0-8443-4) at com.titlevest.titlevest.action.TitleVestMessageExchangeAction.submitToTitleVest(TitleVestMessageExchangeAction.java:119)
12:07:57,812 ERROR [stderr] (http--0.0.0.0-8443-4) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12:07:57,812 ERROR [stderr] (http--0.0.0.0-8443-4) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
12:07:57,812 ERROR [stderr] (http--0.0.0.0-8443-4) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
12:07:57,813 ERROR [stderr] (http--0.0.0.0-8443-4) at java.lang.reflect.Method.invoke(Method.java:597)
12:07:57,813 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453)
12:07:57,813 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:292)
12:07:57,813 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:255)
12:07:57,813 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
12:07:57,814 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,814 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
12:07:57,814 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
12:07:57,814 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,815 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
12:07:57,815 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
12:07:57,815 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
12:07:57,815 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,816 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
12:07:57,816 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,816 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:236)
12:07:57,816 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
12:07:57,817 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,817 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:236)
12:07:57,817 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
12:07:57,817 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,817 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
12:07:57,818 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,818 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
12:07:57,818 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,818 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90)
12:07:57,819 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,819 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
12:07:57,819 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,819 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
12:07:57,820 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,820 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
12:07:57,820 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,820 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
12:07:57,821 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,821 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
12:07:57,821 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
12:07:57,821 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,821 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
12:07:57,822 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,822 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
12:07:57,822 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,822 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192)
12:07:57,823 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,823 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
12:07:57,823 ERROR [stderr] (http--0.0.0.0-8443-4) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
12:07:57,823 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
12:07:57,824 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:511)
12:07:57,824 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
12:07:57,824 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
12:07:57,824 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
12:07:57,824 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
12:07:57,825 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
12:07:57,825 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
12:07:57,825 ERROR [stderr] (http--0.0.0.0-8443-4) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
12:07:57,825 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
12:07:57,826 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
12:07:57,826 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
12:07:57,826 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
12:07:57,826 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
12:07:57,826 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
12:07:57,827 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
12:07:57,827 ERROR [stderr] (http--0.0.0.0-8443-4) at java.lang.Thread.run(Thread.java:619)
12:07:57,827 ERROR [stderr] (http--0.0.0.0-8443-4) Caused by: java.sql.SQLException: Connection PoolingConnection: null is closed.
12:07:57,827 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.commons.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:398)
12:07:57,828 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:279)
12:07:57,828 ERROR [stderr] (http--0.0.0.0-8443-4) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
12:07:57,828 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
12:07:57,828 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
12:07:57,828 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
12:07:57,829 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)
12:07:57,829 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.Loader.doQuery(Loader.java:801)
12:07:57,829 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
12:07:57,829 ERROR [stderr] (http--0.0.0.0-8443-4) at org.hibernate.loader.Loader.loadEntity(Loader.java:2037)
12:07:57,829 ERROR [stderr] (http--0.0.0.0-8443-4) ... 81 more
Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2378
    
  28

Aarav,

Please do not create duplicate topics in multiple fora

Locking this topic, because of duplicate. Please continue discussion here http://www.coderanch.com/t/604657/ORM/databases/connection-close-error-hibernate
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Connection pooling error