1 Reply Latest reply on Jun 28, 2007 10:10 AM by Tobias Frech

    problem caused by distributable tag

    ddai Newbie

      Hi folks,

      My session replication just doesn't work. Once I add distributable tag into the web.xml, an exception was thrown. After I delete it, things look fine. So I guess maybe is the trouble maker. Then what is the problem and what should I do to fix it?

      Here is the outline of that error. Please help me. It is very important to me. Thanks a lot!!

      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