5 Replies Latest reply on Mar 28, 2005 8:03 AM by 843841

    need help on debugging

    843841
      Every time when i start the tomcat, the following errors sometimes (not always) appear in the stdout.log, obviously there is something wrong with the Staff.class which is located in WEB-INF\classes\admin folder.
      I tried to implements the serializable interface in the Staff class but the problem was still there.
      Please help. Thanks a lot.
      public class Staff implements java.io.Serializable {
      .............
      }
      stdout.log
      ____________________________________________
      2005-3-28 PM 02:13:20 org.apache.catalina.session.StandardManager doLoad
      Critical: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: admin.Staff
      java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: admin.Staff
           at java.io.ObjectInputStream.readObject0(Unknown Source)
           at java.io.ObjectInputStream.readObject(Unknown Source)
           at java.util.ArrayList.readObject(Unknown Source)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
           at java.io.ObjectInputStream.readSerialData(Unknown Source)
           at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
           at java.io.ObjectInputStream.readObject0(Unknown Source)
           at java.io.ObjectInputStream.readObject(Unknown Source)
           at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1362)
      ......................................................