IOException while loading persisted sessions

humairm
2006-02-21
2013-01-13
  • humairm
    humairm
    2006-02-21

    I get the following error message after restarting tomcat. While this is not effecting the functionality of cewolf I just thought I would let you know.

    [scdemo] ERROR [main] StandardManager.doLoad(434) | IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: de.laures.cewolf.util.RenderedImage
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: de.laures.cewolf.util.RenderedImage
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1311)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1877)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1801)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1679)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1307)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:357)
            at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1342)
            at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:885)
            at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416)
            at org.apache.catalina.session.StandardManager.load(StandardManager.java:343)
            at org.apache.catalina.session.StandardManager.start(StandardManager.java:657)
            at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)
            at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)
            at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)
            at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
            at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
            at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
            at org.apache.catalina.core.StandardService.start(StandardService.java:480)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
            at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: java.io.NotSerializableException: de.laures.cewolf.util.RenderedImage
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1085)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1423)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1395)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1338)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1083)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:309)
            at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1415)
            at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:902)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:539)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:485)
            at org.apache.catalina.session.StandardManager.stop(StandardManager.java:687)
            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
            at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:952)
            at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:670)
            at org.apache.catalina.core.StandardHost.remove(StandardHost.java:946)
            at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1028)
            at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1005)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:351)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1123)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1135)
            at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:483)
            at org.apache.catalina.core.StandardService.stop(StandardService.java:542)
            at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)
            at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
            ... 7 more
    [scdemo] ERROR [main] StandardManager.start(659) | Exception loading sessions from persistent storage
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: de.laures.cewolf.util.RenderedImage
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1311)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1877)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1801)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1679)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1307)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:357)
            at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1342)
            at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:885)
            at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416)
            at org.apache.catalina.session.StandardManager.load(StandardManager.java:343)
            at org.apache.catalina.session.StandardManager.start(StandardManager.java:657)
            at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)
            at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)
            at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)
            at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
            at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
            at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
            at org.apache.catalina.core.StandardService.start(StandardService.java:480)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
            at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: java.io.NotSerializableException: de.laures.cewolf.util.RenderedImage
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1085)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1423)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1395)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1338)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1083)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:309)
            at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1415)
            at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:902)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:539)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:485)
            at org.apache.catalina.session.StandardManager.stop(StandardManager.java:687)
            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
            at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:952)
            at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:670)
            at org.apache.catalina.core.StandardHost.remove(StandardHost.java:946)
            at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1028)
            at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1005)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:351)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1123)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1135)
            at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:483)
            at org.apache.catalina.core.StandardService.stop(StandardService.java:542)
            at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)
            at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
            ... 7 more