Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      any

      Description

      DR5 works fine. The exception is in the trunk.

      The ServletSessionMap now uses a wrapper to store data. It will fail all
      database connection. It is related to the changes in r14013.

        Issue Links

          Activity

          Hide
          Frank Ye added a comment -

          server exception log

          Show
          Frank Ye added a comment - server exception log
          Hide
          Mircea Toma added a comment -

          I rollback the wrapping of session attributes. Alos, I made some of the objects stored in session serializable, although I didn't fix the exceptions where Sun-RI code tries to store value bindings into the session with non-serializable values.

          Here's the stacktrace:

          java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
          at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1255)
          at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
          at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
          at com.icesoft.faces.webapp.http.servlet.ServletSessionMap.setAttribute(ServletSessionMap.java:26)
          at com.icesoft.faces.context.AbstractAttributeMap.put(AbstractAttributeMap.java:166)
          at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:299)
          at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
          at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
          at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
          at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
          at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
          at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
          at javax.faces.component.UIOutput.getValue(UIOutput.java:167)
          ............

          Show
          Mircea Toma added a comment - I rollback the wrapping of session attributes. Alos, I made some of the objects stored in session serializable, although I didn't fix the exceptions where Sun-RI code tries to store value bindings into the session with non-serializable values. Here's the stacktrace: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1255) at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233) at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129) at com.icesoft.faces.webapp.http.servlet.ServletSessionMap.setAttribute(ServletSessionMap.java:26) at com.icesoft.faces.context.AbstractAttributeMap.put(AbstractAttributeMap.java:166) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:299) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145) at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143) at javax.faces.component.UIOutput.getValue(UIOutput.java:167) ............
          Hide
          Mircea Toma added a comment -

          Closing this. The duplicate issue should resolve the non-serializable values in the session scoped value bindings.

          Show
          Mircea Toma added a comment - Closing this. The duplicate issue should resolve the non-serializable values in the session scoped value bindings.

            People

            • Assignee:
              Unassigned
              Reporter:
              Frank Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: