严重standardManager.loading.ioe

来源:-

FloatingShuYin

2016-09-18 14:48

经常出现严重standardManager.loading.ioe

重启tomcat又正常

怎么回事

写回答 关注

1回答

  • FloatingShuYin
    2016-09-18 14:58:31

    严重: standardManager.loading.ioe

    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: entity.Students

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)

    at java.util.ArrayList.readObject(ArrayList.java:791)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)

    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)

    at org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1634)

    at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1099)

    at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:261)

    at org.apache.catalina.session.StandardManager.load(StandardManager.java:180)

    at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:460)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: java.io.NotSerializableException: entity.Students

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

    at java.util.ArrayList.writeObject(ArrayList.java:762)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)

    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)

    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

    at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1710)

    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1116)

    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:401)

    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:320)

    at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:487)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5386)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1424)

    at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1413)

    ... 4 more


    九月 18, 2016 2:57:34 下午 org.apache.catalina.session.StandardManager startInternal

    严重: Exception loading sessions from persistent storage

    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: entity.Students

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)

    at java.util.ArrayList.readObject(ArrayList.java:791)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)

    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)

    at org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1634)

    at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1099)

    at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:261)

    at org.apache.catalina.session.StandardManager.load(StandardManager.java:180)

    at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:460)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: java.io.NotSerializableException: entity.Students

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

    at java.util.ArrayList.writeObject(ArrayList.java:762)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)

    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)

    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

    at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1710)

    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1116)

    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:401)

    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:320)

    at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:487)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5386)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1424)

    at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1413)

    ... 4 more


使用Struts2+Hibernate开发学生信息管理功能

Strust2+Hibernate整合开发案例,Java Web开发技能更上一层楼

80701 学习 · 754 问题

查看课程

相似问题