Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2067

RequestProcessor and ValidatorPlugIn is not serializable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: Solaris
      Platform: Sun
    • Bugzilla Id:
      28868

      Description

      In Weblogic 8.1, it tries to serialize the context during a redeploy. When
      this occurs, weblogic outputs the following messages:

      <May 7, 2004 2:13:07 PM CDT> <Error> <HTTP> <BEA-101309> <[ServletContext
      (id=6596721,name=approot,context-path=)] could not deserialize the context
      attribute "org.apache.struts.action.REQUEST_PROCESSOR"
      java.io.NotSerializableException: org.apache.struts.action.RequestProcessor
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at weblogic.servlet.internal.AttributeWrapper.getObject
      (AttributeWrapper.java:95)
      at weblogic.servlet.internal.AttributeWrapper.getObject
      (AttributeWrapper.java:67)
      at weblogic.servlet.internal.WebAppServletContext.getAttribute
      (WebAppServletContext.java:637)
      at org.apache.struts.action.ActionServlet.getRequestProcessor
      (ActionServlet.java:855)
      at org.apache.struts.action.ActionServlet.process
      (ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
      (ServletStubImpl.java:1053)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:387)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:305)
      at
      weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
      (WebAppServletContext.java:6310)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs
      (AuthenticatedSubject.java:317)
      at weblogic.security.service.SecurityManager.runAs
      (SecurityManager.java:118)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet
      (WebAppServletContext.java:3622)
      at weblogic.servlet.internal.ServletRequestImpl.execute
      (ServletRequestImpl.java:2569)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

      <May 7, 2004 2:05:58 PM CDT> <Error> <HTTP> <BEA-101309> <[ServletContext
      (id=6596721,name=approot,context-path=)] could not deserialize the context
      attribute "org.apache.struts.action.PLUG_INS"
      java.io.NotSerializableException: org.apache.struts.validator.ValidatorPlugIn
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at weblogic.servlet.internal.AttributeWrapper.getObject
      (AttributeWrapper.java:95)
      at weblogic.servlet.internal.AttributeWrapper.getObject
      (AttributeWrapper.java:67)
      at weblogic.servlet.internal.WebAppServletContext.getAttribute
      (WebAppServletContext.java:637)
      at org.apache.struts.action.ActionServlet.destroyModules
      (ActionServlet.java:721)
      at org.apache.struts.action.ActionServlet.destroy
      (ActionServlet.java:430)
      at weblogic.servlet.internal.ServletStubImpl$ServletDestroyAction.run
      (ServletStubImpl.java:1086)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs
      (AuthenticatedSubject.java:317)
      at weblogic.security.service.SecurityManager.runAs
      (SecurityManager.java:118)
      at weblogic.servlet.internal.ServletStubImpl.destroyServlet
      (ServletStubImpl.java:569)
      at weblogic.servlet.internal.ServletStubImpl.destroyServlet
      (ServletStubImpl.java:596)
      at weblogic.servlet.internal.ServletStubImpl.checkForReload
      (ServletStubImpl.java:683)
      at weblogic.servlet.internal.ServletStubImpl.getServlet
      (ServletStubImpl.java:508)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:349)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:305)
      at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run
      (RequestDispatcherImpl.java:382)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs
      (AuthenticatedSubject.java:317)
      at weblogic.security.service.SecurityManager.runAs
      (SecurityManager.java:118)
      at weblogic.servlet.internal.RequestDispatcherImpl.forward
      (RequestDispatcherImpl.java:286)
      at weblogic.servlet.jsp.PageContextImpl.forward
      (PageContextImpl.java:151)
      at jsp_servlet.__signout._jspService(signout.jsp:4)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
      at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
      (ServletStubImpl.java:1053)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:387)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:431)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
      (ServletStubImpl.java:305)
      at
      weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
      (WebAppServletContext.java:6310)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs
      (AuthenticatedSubject.java:317)
      at weblogic.security.service.SecurityManager.runAs
      (SecurityManager.java:118)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet
      (WebAppServletContext.java:3622)
      at weblogic.servlet.internal.ServletRequestImpl.execute
      (ServletRequestImpl.java:2569)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bryan.pieper@conagrafoods.com Bryan Pieper
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: