标签:
1 严重: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: cmec.service.BacklogCreateBean 2 java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: cmec.service.BacklogCreateBean 3 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332) 4 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) 5 at java.util.ArrayList.readObject(ArrayList.java:593) 6 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 7 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 8 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 9 at java.lang.reflect.Method.invoke(Method.java:597) 10 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) 11 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) 12 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) 13 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) 14 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) 15 at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1510) 16 at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:999) 17 at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:395) 18 at org.apache.catalina.session.StandardManager.load(StandardManager.java:322) 19 at org.apache.catalina.session.StandardManager.start(StandardManager.java:649) 20 at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446) 21 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4635) 22 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) 23 at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) 24 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) 25 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) 26 at org.apache.catalina.core.StandardService.start(StandardService.java:525) 27 at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) 28 at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 29 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 30 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 32 at java.lang.reflect.Method.invoke(Method.java:597) 33 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) 34 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 35 Caused by: java.io.NotSerializableException: cmec.service.BacklogCreateBean 36 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) 37 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) 38 at java.util.ArrayList.writeObject(ArrayList.java:570) 39 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 40 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 41 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 42 at java.lang.reflect.Method.invoke(Method.java:597) 43 at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) 44 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) 45 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) 46 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) 47 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) 48 at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1586) 49 at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1016) 50 at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:529) 51 at org.apache.catalina.session.StandardManager.unload(StandardManager.java:470) 52 at org.apache.catalina.session.StandardManager.stop(StandardManager.java:679) 53 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886) 54 at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1113) 55 at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1113) 56 at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) 57 at org.apache.catalina.core.StandardService.stop(StandardService.java:604) 58 at org.apache.catalina.core.StandardServer.stop(StandardServer.java:793) 59 at org.apache.catalina.startup.Catalina.stop(Catalina.java:662) 60 at org.apache.catalina.startup.Catalina.start(Catalina.java:629) 61 ... 6 more 62 2016-1-13 14:16:20 org.apache.catalina.session.StandardManager start 63 严重: Exception loading sessions from persistent storage 64 java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: cmec.service.BacklogCreateBean 65 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332) 66 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) 67 at java.util.ArrayList.readObject(ArrayList.java:593) 68 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 69 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 70 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 71 at java.lang.reflect.Method.invoke(Method.java:597) 72 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) 73 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) 74 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) 75 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) 76 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) 77 at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1510) 78 at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:999) 79 at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:395) 80 at org.apache.catalina.session.StandardManager.load(StandardManager.java:322) 81 at org.apache.catalina.session.StandardManager.start(StandardManager.java:649) 82 at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446) 83 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4635) 84 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) 85 at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) 86 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) 87 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) 88 at org.apache.catalina.core.StandardService.start(StandardService.java:525) 89 at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) 90 at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 91 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 92 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 93 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 94 at java.lang.reflect.Method.invoke(Method.java:597) 95 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) 96 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 97 Caused by: java.io.NotSerializableException: cmec.service.BacklogCreateBean 98 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) 99 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) 100 at java.util.ArrayList.writeObject(ArrayList.java:570) 101 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 102 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 103 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 104 at java.lang.reflect.Method.invoke(Method.java:597) 105 at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) 106 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) 107 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) 108 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) 109 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) 110 at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1586) 111 at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1016) 112 at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:529) 113 at org.apache.catalina.session.StandardManager.unload(StandardManager.java:470) 114 at org.apache.catalina.session.StandardManager.stop(StandardManager.java:679) 115 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886) 116 at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1113) 117 at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1113) 118 at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) 119 at org.apache.catalina.core.StandardService.stop(StandardService.java:604) 120 at org.apache.catalina.core.StandardServer.stop(StandardServer.java:793) 121 at org.apache.catalina.startup.Catalina.stop(Catalina.java:662) 122 at org.apache.catalina.startup.Catalina.start(Catalina.java:629) 123 ... 6 more
这个异常是EOFException表示输入过程中意外地到达文件尾或流尾的信号,导致从session中获取数据失败。这是由于tomcat上次非正常关闭时有一些活动session被持久化(表现为一些临时文件),在重启时,tomcat尝试去恢复这些session的持久化数据但又读取失败造成的。此异常不影响系统的使用。
标签:
原文地址:http://www.cnblogs.com/maochen/p/5127213.html