jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: java.io.NotSerializableException: org.apache.jackrabbit.core.NodeImpl
Date Tue, 18 Dec 2007 11:02:44 GMT
as the exception indicates, the JCR Node you put into the servlet session is not 
serializable. you either must not put nodes into the servlet session or disable 
session persistence in tomcat. see [1]

regards
  marcel

[1] http://www.google.com/search?q=disable+tomcat+session+persistence

Pamarthi, Ramakrishna wrote:
>  
> Hi All,
> 
> We are getting the below exception while starting the server. But server
> is started successfully and application working as expected.
> 
> What does this mean and how to fix this?
> 
> Can anyone help?
> 
> Dec 11, 2007 1:30:09 AM org.apache.catalina.session.StandardManager
> doLoad
> SEVERE: IOException while loading persisted sessions:
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException: org.apache.jackrabbit.core.NodeImpl
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException: org.apache.jackrabbit.core.NodeImpl
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
> 	at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
> 	at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719
> )
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at
> java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
> 	at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
> 	at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719
> )
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at
> org.apache.catalina.session.StandardSession.readObject(Unknown Source)
> 	at
> org.apache.catalina.session.StandardSession.readObjectData(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.doLoad(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.load(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.start(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.setManager(Unknown
> Source)
> 	at
> org.apache.catalina.startup.ContextConfig.managerConfig(Unknown Source)
> 	at org.apache.catalina.startup.ContextConfig.start(Unknown
> Source)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.StandardContext.start(Unknown
> Source)
> 	at
> org.apache.catalina.core.ContainerBase.addChildInternal(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.addChild(Unknown
> Source)
> 	at org.apache.catalina.core.StandardHost.addChild(Unknown
> Source)
> 	at
> org.apache.catalina.startup.HostConfig.deployDescriptor(Unknown Source)
> 	at
> org.apache.catalina.startup.HostConfig.deployDescriptors(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.deployApps(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
> Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> 	at org.apache.catalina.core.StandardHost.start(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> 	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
> 	at org.apache.catalina.core.StandardService.start(Unknown
> Source)
> 	at org.apache.catalina.core.StandardServer.start(Unknown Source)
> 	at org.apache.catalina.startup.Catalina.start(Unknown Source)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.catalina.startup.Bootstrap.start(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
> Caused by: java.io.NotSerializableException:
> org.apache.jackrabbit.core.NodeImpl
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
> 	at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
> 75)
> 	at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
> 	at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
> 290)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
> 	at
> java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
> 	at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
> 75)
> 	at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
> 	at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
> 290)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
> 	at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
> 	at
> org.apache.catalina.session.StandardSession.writeObject(Unknown Source)
> 	at
> org.apache.catalina.session.StandardSession.writeObjectData(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.doUnload(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.unload(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.stop(Unknown
> Source)
> 	at org.apache.catalina.core.StandardContext.stop(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.removeChild(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.undeployApps(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.stop(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
> Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardEngine.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardService.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardServer.stop(Unknown Source)
> 	at org.apache.catalina.startup.Catalina.stop(Unknown Source)
> 	... 7 more
> Dec 11, 2007 1:30:09 AM org.apache.catalina.session.StandardManager
> start
> SEVERE: Exception loading sessions from persistent storage
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException: org.apache.jackrabbit.core.NodeImpl
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
> 	at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
> 	at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719
> )
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at
> java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
> 	at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
> 	at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719
> )
> 	at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at
> org.apache.catalina.session.StandardSession.readObject(Unknown Source)
> 	at
> org.apache.catalina.session.StandardSession.readObjectData(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.doLoad(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.load(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.start(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.setManager(Unknown
> Source)
> 	at
> org.apache.catalina.startup.ContextConfig.managerConfig(Unknown Source)
> 	at org.apache.catalina.startup.ContextConfig.start(Unknown
> Source)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.StandardContext.start(Unknown
> Source)
> 	at
> org.apache.catalina.core.ContainerBase.addChildInternal(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.addChild(Unknown
> Source)
> 	at org.apache.catalina.core.StandardHost.addChild(Unknown
> Source)
> 	at
> org.apache.catalina.startup.HostConfig.deployDescriptor(Unknown Source)
> 	at
> org.apache.catalina.startup.HostConfig.deployDescriptors(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.deployApps(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
> Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> 	at org.apache.catalina.core.StandardHost.start(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> 	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
> 	at org.apache.catalina.core.StandardService.start(Unknown
> Source)
> 	at org.apache.catalina.core.StandardServer.start(Unknown Source)
> 	at org.apache.catalina.startup.Catalina.start(Unknown Source)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.catalina.startup.Bootstrap.start(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
> Caused by: java.io.NotSerializableException:
> org.apache.jackrabbit.core.NodeImpl
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
> 	at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
> 75)
> 	at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
> 	at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
> 290)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
> 	at
> java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
> 	at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
> 75)
> 	at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
> 	at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
> 290)
> 	at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
> 	at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
> 	at
> org.apache.catalina.session.StandardSession.writeObject(Unknown Source)
> 	at
> org.apache.catalina.session.StandardSession.writeObjectData(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.doUnload(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.unload(Unknown
> Source)
> 	at org.apache.catalina.session.StandardManager.stop(Unknown
> Source)
> 	at org.apache.catalina.core.StandardContext.stop(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.removeChild(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.undeployApps(Unknown
> Source)
> 	at org.apache.catalina.startup.HostConfig.stop(Unknown Source)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
> Source)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
> 	at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardEngine.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardService.stop(Unknown Source)
> 	at org.apache.catalina.core.StandardServer.stop(Unknown Source)
> 	at org.apache.catalina.startup.Catalina.stop(Unknown Source)
> 	... 7 more
> Dec 11, 2007 1:30:09 AM org.displaytag.filter.ResponseOverrideFilter
> init
> 
> Best Regards,
> RK
> 
> 


Mime
View raw message