Does anyone has a clue about this? It seems that once the server idles for a while, it will bump into this problem and kills the application. From what I can understand, my guess is that this is probably a spring bugs. (I have upgrade spring to 1.2.8 but with no success). But, tapernate uses spring and if this problem cannot be solved, it will hurt the tapernate's usefulness as well.
Xiaoshu > -----Original Message----- > From: Xiaoshu Wang [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 26, 2006 10:05 AM > To: 'Tapestry users' > Subject: Tapestry 4.0.2 and Tapernate problem > > Hi, > > I have a problem with using Tapestry/Tapernate. The server > will run O.K. > for a couple of days and will run into an application > exception of the following (see the exception stack trace > shown below. And the exception seems not caused by > application code because there is none shown in the exception > trace. Even if I have a catch clause that should be able to > trap the exception by my application code because I turned > the transaction-per-request off and use the method > interceptor to do the transaction management. The server is > Tomcat 5.0.25 and cp30 is used for pooling the connection. > > Xiaoshu > > Exception stack as follows, > > javax.servlet.ServletException: Could not commit Hibernate > transaction; nested exception is > org.hibernate.TransactionException: JDBC commit failed > > org.apache.tapestry.services.impl.WebRequestServicerPipelineBr > idge.service(W > ebRequestServicerPipelineBridge.java:60) > > $ServletRequestServicer_10d46119614.service($ServletRequestSer vicer_10d46119 > 614.java) > > org.apache.tapestry.request.DecodedRequestInjector.service(Dec > odedRequestInj > ector.java:55) > > $ServletRequestServicerFilter_10d46119610.service($ServletRequ estServicerFil > ter_10d46119610.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.multipart.MultipartDecoderFilter.service(M > ultipartDecode > rFilter.java:52) > > $ServletRequestServicerFilter_10d4611960e.service($ServletRequ estServicerFil > ter_10d4611960e.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.services.impl.SetupRequestEncoding.service > (SetupRequestE > ncoding.java:53) > > $ServletRequestServicerFilter_10d46119612.service($ServletRequ estServicerFil > ter_10d46119612.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > $ServletRequestServicer_10d46119608.service($ServletRequestSer vicer_10d46119 > 608.java) > > org.apache.tapestry.ApplicationServlet.doService(ApplicationSe > rvlet.java:123 > ) > > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServle > t.java:79) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > root cause > > org.apache.hivemind.ApplicationRuntimeException: Could not > commit Hibernate transaction; nested exception is > org.hibernate.TransactionException: JDBC commit failed > > org.apache.tapestry.error.ExceptionPresenterImpl.presentExcept > ion(ExceptionP > resenterImpl.java:64) > > $ExceptionPresenter_10d461195db.presentException($ExceptionPre senter_10d4611 > 95db.java) > > $ExceptionPresenter_10d461195da.presentException($ExceptionPre senter_10d4611 > 95da.java) > > org.apache.tapestry.engine.AbstractEngine.activateExceptionPag > e(AbstractEngi > ne.java:121) > > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngi > ne.java:280) > > org.apache.tapestry.services.impl.InvokeEngineTerminator.servi > ce(InvokeEngin > eTerminator.java:60) > > $WebRequestServicer_10d46119634.service($WebRequestServicer_10 d46119634.java > ) > > com.javaforge.tapestry.tapernate.filter.TapernateFilter.servic > e(TapernateFil > ter.java:108) > > $WebRequestServicerFilter_10d46119632.service($WebRequestServi cerFilter_10d4 > 6119632.java) > > $WebRequestServicer_10d46119636.service($WebRequestServicer_10 d46119636.java > ) > > $WebRequestServicer_10d4611962e.service($WebRequestServicer_10 d4611962e.java > ) > > org.apache.tapestry.services.impl.WebRequestServicerPipelineBr > idge.service(W > ebRequestServicerPipelineBridge.java:56) > > $ServletRequestServicer_10d46119614.service($ServletRequestSer vicer_10d46119 > 614.java) > > org.apache.tapestry.request.DecodedRequestInjector.service(Dec > odedRequestInj > ector.java:55) > > $ServletRequestServicerFilter_10d46119610.service($ServletRequ estServicerFil > ter_10d46119610.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.multipart.MultipartDecoderFilter.service(M > ultipartDecode > rFilter.java:52) > > $ServletRequestServicerFilter_10d4611960e.service($ServletRequ estServicerFil > ter_10d4611960e.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.services.impl.SetupRequestEncoding.service > (SetupRequestE > ncoding.java:53) > > $ServletRequestServicerFilter_10d46119612.service($ServletRequ estServicerFil > ter_10d46119612.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > $ServletRequestServicer_10d46119608.service($ServletRequestSer vicer_10d46119 > 608.java) > > org.apache.tapestry.ApplicationServlet.doService(ApplicationSe > rvlet.java:123 > ) > > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServle > t.java:79) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > root cause > > org.springframework.transaction.TransactionSystemException: > Could not commit Hibernate transaction; nested exception is > org.hibernate.TransactionException: JDBC commit failed > > org.springframework.orm.hibernate3.HibernateTransactionManager > .doCommit(Hibe > rnateTransactionManager.java:588) > > org.springframework.transaction.support.AbstractPlatformTransa > ctionManager.p > rocessCommit(AbstractPlatformTransactionManager.java:496) > > org.springframework.transaction.support.AbstractPlatformTransa > ctionManager.c > ommit(AbstractPlatformTransactionManager.java:469) > > $PlatformTransactionManager_10d46119637.commit($PlatformTransa ctionManager_1 > 0d46119637.java) > > org.springframework.transaction.interceptor.TransactionAspectS > upport.doCommi > tTransactionAfterReturning(TransactionAspectSupport.java:266) > > org.springframework.transaction.interceptor.TransactionInterce > ptor.invoke(Tr > ansactionInterceptor.java:106) > > org.apache.commons.proxy.interceptor.MethodInterceptorAdapter. > intercept(Meth > odInterceptorAdapter.java:51) > > org.apache.commons.proxy.factory.cglib.CglibProxyFactory$Inter ceptorBridge.i > ntercept(CglibProxyFactory.java:132) > > org.apache.tapestry.record.PropertyPersistenceStrategy$$Enhanc erByCGLIB$$1a2 > b6d7e.getStoredChanges(<generated>) > > $PropertyPersistenceStrategy_10d46119704.getStoredChanges($Pro pertyPersisten > ceStrategy_10d46119704.java) > > org.apache.tapestry.record.PropertyPersistenceStrategySourceIm > pl.getAllStore > dChanges(PropertyPersistenceStrategySourceImpl.java:72) > > $PropertyPersistenceStrategySource_10d46119653.getAllStoredCha nges($Property > PersistenceStrategySource_10d46119653.java) > > org.apache.tapestry.record.PageRecorderImpl.getChanges(PageRec > orderImpl.java > :68) > > org.apache.tapestry.record.PageRecorderImpl.rollback(PageRecor > derImpl.java:7 > 3) > > org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle. > java:279) > > org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:251) > > org.apache.tapestry.error.ExceptionPresenterImpl.presentExcept > ion(ExceptionP > resenterImpl.java:40) > > $ExceptionPresenter_10d461195db.presentException($ExceptionPre senter_10d4611 > 95db.java) > > $ExceptionPresenter_10d461195da.presentException($ExceptionPre senter_10d4611 > 95da.java) > > org.apache.tapestry.engine.AbstractEngine.activateExceptionPag > e(AbstractEngi > ne.java:121) > > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngi > ne.java:280) > > org.apache.tapestry.services.impl.InvokeEngineTerminator.servi > ce(InvokeEngin > eTerminator.java:60) > > $WebRequestServicer_10d46119634.service($WebRequestServicer_10 d46119634.java > ) > > com.javaforge.tapestry.tapernate.filter.TapernateFilter.servic > e(TapernateFil > ter.java:108) > > $WebRequestServicerFilter_10d46119632.service($WebRequestServi cerFilter_10d4 > 6119632.java) > > $WebRequestServicer_10d46119636.service($WebRequestServicer_10 d46119636.java > ) > > $WebRequestServicer_10d4611962e.service($WebRequestServicer_10 d4611962e.java > ) > > org.apache.tapestry.services.impl.WebRequestServicerPipelineBr > idge.service(W > ebRequestServicerPipelineBridge.java:56) > > $ServletRequestServicer_10d46119614.service($ServletRequestSer vicer_10d46119 > 614.java) > > org.apache.tapestry.request.DecodedRequestInjector.service(Dec > odedRequestInj > ector.java:55) > > $ServletRequestServicerFilter_10d46119610.service($ServletRequ estServicerFil > ter_10d46119610.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.multipart.MultipartDecoderFilter.service(M > ultipartDecode > rFilter.java:52) > > $ServletRequestServicerFilter_10d4611960e.service($ServletRequ estServicerFil > ter_10d4611960e.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > org.apache.tapestry.services.impl.SetupRequestEncoding.service > (SetupRequestE > ncoding.java:53) > > $ServletRequestServicerFilter_10d46119612.service($ServletRequ estServicerFil > ter_10d46119612.java) > > $ServletRequestServicer_10d46119616.service($ServletRequestSer vicer_10d46119 > 616.java) > > $ServletRequestServicer_10d46119608.service($ServletRequestSer vicer_10d46119 > 608.java) > > org.apache.tapestry.ApplicationServlet.doService(ApplicationSe > rvlet.java:123 > ) > > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServle > t.java:79) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]