-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: org.hibernate.transaction.JDBCTransaction :198
PostPosted: Mon Jul 21, 2008 3:14 pm 
Newbie

Joined: Mon Jul 21, 2008 3:10 pm
Posts: 1
I am working with a simple web application using spring. I'm not sure if the problem I am having is a hibernate problem or a DBCP problem.
Has anyone encountered this error? If so, how did you resolve it?
Any help would be appreciated. Thanks.
Here is the error:

org.hibernate.transaction.JDBCTransaction :198 - Could not toggle autocommit
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java:208)
at oracle.jdbc.driver.PhysicalConnection.setAutoCommi t(PhysicalConnection.java:1057)
at org.apache.commons.dbcp.DelegatingConnection.setAu toCommit(DelegatingConnection.java:268)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuar dConnectionWrapper.setAutoCommit(PoolingDataSource .java:293)
at org.hibernate.transaction.JDBCTransaction.toggleAu toCommit(JDBCTransaction.java:194)
at org.hibernate.transaction.JDBCTransaction.commitAn dResetAutoCommit(JDBCTransaction.java:142)
at org.hibernate.transaction.JDBCTransaction.commit(J DBCTransaction.java:115)
at org.springframework.orm.hibernate3.HibernateTransa ctionManager.doCommit(HibernateTransactionManager. java:575)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.processCommit(AbstractPla tformTransactionManager.java:662)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.commit(AbstractPlatformTr ansactionManager.java:632)
at org.springframework.transaction.interceptor.Transa ctionAspectSupport.commitTransactionAfterReturning (TransactionAspectSupport.java:314)
at org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:117)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :166)
at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy44.toString(Unknown Source)
at com.sun.faces.config.ManagedBeanFactoryImpl.getCon vertedValueConsideringPrimitives(ManagedBeanFactor yImpl.java:947)
at com.sun.faces.config.ManagedBeanFactoryImpl.setPro pertiesIntoBean(ManagedBeanFactoryImpl.java:664)
at com.sun.faces.config.ManagedBeanFactoryImpl.newIns tance(ManagedBeanFactoryImpl.java:345)
at com.sun.faces.application.ApplicationAssociate.cre ateAndMaybeStoreManagedBeans(ApplicationAssociate. java:542)
at com.sun.faces.el.ManagedBeanELResolver.getValue(Ma nagedBeanELResolver.java:83)
at javax.el.CompositeELResolver.getValue(CompositeELR esolver.java:53)
at com.sun.faces.el.FacesCompositeELResolver.getValue (FacesCompositeELResolver.java:58)
at org.apache.el.parser.AstIdentifier.getValue(AstIde ntifier.java:61)
at org.apache.el.ValueExpressionImpl.getValue(ValueEx pressionImpl.java:186)
at com.sun.facelets.el.TagValueExpression.getValue(Ta gValueExpression.java:71)
at org.apache.el.parser.AstIdentifier.getValue(AstIde ntifier.java:57)
at org.apache.el.parser.AstValue.getValue(AstValue.ja va:103)
at org.apache.el.ValueExpressionImpl.getValue(ValueEx pressionImpl.java:186)
at com.sun.facelets.el.TagValueExpression.getValue(Ta gValueExpression.java:71)
at javax.faces.component.UIData.getValue(UIData.java: 577)
at javax.faces.component.UIData.getDataModel(UIData.j ava:1056)
at javax.faces.component.UIData.setRowIndex(UIData.ja va:417)
at javax.faces.component.UIData.iterate(UIData.java:1 124)
at javax.faces.component.UIData.processDecodes(UIData .java:929)
at javax.faces.component.UIComponentBase.processDecod es(UIComponentBase.java:1007)
at javax.faces.component.UIComponentBase.processDecod es(UIComponentBase.java:1007)
at javax.faces.component.UIViewRoot.processDecodes(UI ViewRoot.java:499)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.ex ecute(ApplyRequestValuesPhase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:266)
at com.sun.faces.lifecycle.LifecycleImpl.execute(Life cycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServl et.java:244)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.myfaces.trinidadinternal.webapp.Trinida dFilterImpl._invokeDoFilter(TrinidadFilterImpl.jav a:238)
at org.apache.myfaces.trinidadinternal.webapp.Trinida dFilterImpl._doFilterImpl(TrinidadFilterImpl.java: 195)
at org.apache.myfaces.trinidadinternal.webapp.Trinida dFilterImpl.doFilter(TrinidadFilterImpl.java:138)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter. doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter. doFilter(ExtensionsFilter.java:147)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.acegisecurity.util.FilterChainProxy$VirtualFil terChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInte rceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInte rceptor.doFilter(FilterSecurityInterceptor.java:72 )
at org.acegisecurity.util.FilterChainProxy$VirtualFil terChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.do Filter(ExceptionTranslationFilter.java:166)
at org.acegisecurity.util.FilterChainProxy$VirtualFil terChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousPro cessingFilter.doFilter(AnonymousProcessingFilter.j ava:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFil terChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegr ationFilter.doFilter(HttpSessionContextIntegration Filter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFil terChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(F ilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter( FilterToBeanProxy.java:98)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSes sionInViewFilter.doFilterInternal(OpenSessionInVie wFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at *********web.SessionTimeoutFilter.doFilter(Session TimeoutFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.