12 Replies Latest reply on Jun 29, 2007 4:11 PM by ddai

    problem caused by <distributable/>

    ddai Newbie

      Hi all

      Now I think I have found the trouble maker: Once I add that tag into the web.xml, a problem shows up. When I deleted it, everything looks fine. Does that mean I need to modify the application codes?

      Here is the outline of the error. Please help me. This is very important to me.

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: setAttribute: Non-serializable attribute
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      InputValidationFilter.doFilter(InputValidationFilter.java:54)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
      org.jboss.web.tomcat.tc5.session.ClusteredSession.setAttribute(ClusteredSession.java:532)
      org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
      org.apache.jsp.gcsMenu_jsp._jspService(gcsMenu_jsp.java:450)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      InputValidationFilter.doFilter(InputValidationFilter.java:54)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.


      --------------------------------------------------------------------------------

      Apache Tomcat/5.5.20