You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jo...@apache.org on 2001/07/10 05:19:00 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session StandardSession.java

jon         01/07/09 20:19:00

  Modified:    catalina/src/share/org/apache/catalina/session
                        StandardSession.java
  Log:
  itty bitty patch that will cause the stack trace of the
  NotSerializableException to be logged so that it is more easily possible
  to track down why an object in the session is not being unserialized
  properly with the writeObject() method in StandardSession
  
  this is turning up some weird weird crap in Turbine...like classes that i
  would have never imagined needing to be serializable needing it...
  
  Revision  Changes    Path
  1.21      +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardSession.java
  
  Index: StandardSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardSession.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- StandardSession.java	2001/05/21 19:54:01	1.20
  +++ StandardSession.java	2001/07/10 03:18:57	1.21
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardSession.java,v 1.20 2001/05/21 19:54:01 craigmcc Exp $
  - * $Revision: 1.20 $
  - * $Date: 2001/05/21 19:54:01 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardSession.java,v 1.21 2001/07/10 03:18:57 jon Exp $
  + * $Revision: 1.21 $
  + * $Date: 2001/07/10 03:18:57 $
    *
    * ====================================================================
    *
  @@ -111,7 +111,7 @@
    * @author Craig R. McClanahan
    * @author Sean Legassick
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
  - * @version $Revision: 1.20 $ $Date: 2001/05/21 19:54:01 $
  + * @version $Revision: 1.21 $ $Date: 2001/07/10 03:18:57 $
    */
   
   class StandardSession
  @@ -1218,7 +1218,7 @@
                           "' with value '" + saveValues.get(i) + "'");
               } catch (NotSerializableException e) {
                   log(sm.getString("standardSession.notSerializable",
  -                                 saveNames.get(i), id));
  +                                 saveNames.get(i), id), e);
                   stream.writeObject(NOT_SERIALIZED);
                   if (debug >= 2)
                       log("  storing attribute '" + saveNames.get(i) +