Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      all

      Description

      Some session standard tools keep a reference on the Velocity Log, which is not serializable.

      Some work is needed to allow session serialization:

      • a short fix is to have those tools keep a transcient reference on the Log (and have them check it before each use). Easy to implement, but deserialized sessions won't be able to use the logger, unless there is some kind of reinitialization mechanism.
      • a proper way to handle this would be to have standard session tools stored as transcient objects - the lazy tools initializer will re-create them on demand.
      • or maybe the session toolbox itself should be made transcient in the J2EE session by means of a little wrapper ; easy to do, but the user may want to serialize its own objects.

      I guess the second solution is the more appropriate. Any thought?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              claude Claude Brisson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: