Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1230

Collision in the back-end JPF processing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • NetUI
    • None
    • weblogic server 10gR3

    Description

      I had an issue when i used the NetUI true in my project(on Weblogic10gR3), when i keep clicking the netUI tree,
      i got a message in the jsp: PageFlow /Controller.jpf: Could not find exception handler method handleException.; but actually i have an exception handler for the SocketException called handleSocketException, and there is also an exception handler method called handleException. weird weird..

      In the Log, there was an exception thrown:
      com.cup.service.jpf.ServiceController - Service Management SocketError
      java.net.SocketException: Connection reset by peer: socket write error
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
      at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
      at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
      at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
      at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
      at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
      at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
      at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
      at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
      at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
      at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
      at jsp_servlet.com._cup._soa._catweb._service._jpf.index._jspService(_index.java:333)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
      at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
      at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
      at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
      at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
      at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
      at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.cup.filter.LoginFilter.doFilter(LoginFilter.java:50)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      the class marked as bold is a filter in which i checked if the netUI tree is emplty, and the logic in the LoginFilter.java:50 is only : chain.doFilter(request, response);

      it seems that a socket exception is thrown with no reason. it is possible that there is a collision in the back-end JPF processing, where one request is getting processed before the last request's processing is complete.

      is it an NetUI/JPF issue? is there any way to fix it?

      Attachments

        Activity

          People

            Unassigned Unassigned
            wen.xu@live.com WenXu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: