commit exception after server restart

From: Peter Schröder (Peter.Schroede..reenet-ag.de)
Date: Thu Jul 19 2007 - 08:30:06 EDT

  • Next message: Michael Gentry: "Re: show table status"

    hi,

    we have some trouble with our clustered applications. after restarting one of the servers the user gets a commit exception (see below).

    i think that this is already reported as a bug, but jira seems to be down...
    https://issues.apache.org/cayenne/browse/CAY-796

    is there something we can do to avoid that?

    kind regards,
    peter

    STACK:
    org.objectstyle.cayenne.CayenneRuntimeException
    [v.1.2.3 May 7 2007] Commit Exception
    unlabeledMessage: Commit Exception
    Stack Trace:
    * org.objectstyle.cayenne.access.DataContext.flushToParent(DataContext.java:1290)
    * org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1166)
    * de.freenet.pos.hivemind.impl.SessionServiceImpl.initSession(SessionServiceImpl.java:127)
    * $SessionService_113d3d87533.initSession($SessionService_113d3d87533.java)
    * de.freenet.pos.tapestry.pages.POSHomePage.pageValidate(POSHomePage.java:57)
    * org.apache.tapestry.AbstractPage.firePageValidate(AbstractPage.java:585)
    * org.apache.tapestry.AbstractPage.validate(AbstractPage.java:307)
    * org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:625)
    * org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:611)
    * org.apache.tapestry.engine.HomeService.service(HomeService.java:63)
    * $IEngineService_113d3d874cc.service($IEngineService_113d3d874cc.java)
    * org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)
    * org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
    * org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
    * $WebRequestServicer_113d3d874ae.service($WebRequestServicer_113d3d874ae.java)
    * $WebRequestServicer_113d3d874aa.service($WebRequestServicer_113d3d874aa.java)
    * org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
    * $ServletRequestServicer_113d3d87490.service($ServletRequestServicer_113d3d87490.java)
    * org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
    * $ServletRequestServicerFilter_113d3d8748c.service($ServletRequestServicerFilter_113d3d8748c.java)
    * $ServletRequestServicer_113d3d87492.service($ServletRequestServicer_113d3d87492.java)
    * org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
    * $ServletRequestServicerFilter_113d3d8748a.service($ServletRequestServicerFilter_113d3d8748a.java)
    * $ServletRequestServicer_113d3d87492.service($ServletRequestServicer_113d3d87492.java)
    * org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
    * $ServletRequestServicerFilter_113d3d8748e.service($ServletRequestServicerFilter_113d3d8748e.java)
    * $ServletRequestServicer_113d3d87492.service($ServletRequestServicer_113d3d87492.java)
    * $ServletRequestServicer_113d3d86462.service($ServletRequestServicer_113d3d86462.java)
    * org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
    * org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
    * 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)
    * org.objectstyle.cayenne.conf.WebApplicationContextFilter.doFilter(WebApplicationContextFilter.java:181)
    * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    * org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    * org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    * org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    * org.apache.catalina.cluster.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:210)
    * org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
    * org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    * org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    * org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    * org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
    * org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
    * org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
    * org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
    * org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
    * org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    * java.lang.Thread.run(Thread.java:619)
    * Caused by: java.lang.NullPointerException
    * org.objectstyle.cayenne.access.DataRowStore.sendUpdateNotification(DataRowStore.java:709)
    * org.objectstyle.cayenne.access.DataRowStore.processSnapshotChanges(DataRowStore.java:574)
    * org.objectstyle.cayenne.access.DataDomainFlushAction.postprocess(DataDomainFlushAction.java:278)
    * org.objectstyle.cayenne.access.DataDomainFlushAction.flush(DataDomainFlushAction.java:178)
    * org.objectstyle.cayenne.access.DataDomain.onSyncFlush(DataDomain.java:846)
    * org.objectstyle.cayenne.access.DataDomain$2.transform(DataDomain.java:817)
    * org.objectstyle.cayenne.access.DataDomain.runInTransaction(DataDomain.java:872)
    * org.objectstyle.cayenne.access.DataDomain.onSync(DataDomain.java:814)
    * org.objectstyle.cayenne.access.DataContext.flushToParent(DataContext.java:1262)
    * ... 51 more



    This archive was generated by hypermail 2.0.0 : Thu Jul 19 2007 - 08:30:06 EDT