ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramon Misho" <Ramon.Mi...@teranet.ca>
Subject Cannot serialize session attribute
Date Wed, 23 Aug 2006 15:40:04 GMT
Hello iBatis people:

I am using Eclipse Version: 3.0.0 (Build id: 200406251208) and Tomcat 5.0.19.

I edit a java file (in the Eclipse), and click on the 'Save' button. The 'Reloading" starts
as expected.   However, very often (but not all the time), I get the following error messages
although these errors don't seem to have any impact on the compiling process.  I have highlighted
(in red) what I thought are key messages.

		--------------------here are some sections of the error message--------------------------------
		Aug 23, 2006 10:11:32 AM org.apache.catalina.core.StandardContext reload
		INFO: Reloading this Context has started
		Aug 23, 2006 10:11:32 AM org.apache.catalina.session.ManagerBase log
		INFO: Cannot serialize session attribute myfileBean for session A2F0ED8D3C199E076B84EB3CF792C6FD
		java.io.NotSerializableException: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList
			at java.io.ObjectOutputStream.writeObject0(Unknown Source)
			at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
			at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
			at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
			at java.io.ObjectOutputStream.writeObject0(Unknown Source)
			at java.io.ObjectOutputStream.writeObject(Unknown Source)
			at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1446)
			at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:937)
			at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:586)
			at org.apache.catalina.session.StandardManager.unload(StandardManager.java:532)
			at org.apache.catalina.session.StandardManager.stop(StandardManager.java:734)
			at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4436)
			at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2984)
			at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:4584)
			at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
			at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
			at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
			at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1651)
			at java.lang.Thread.run(Unknown Source)
		Aug 23, 2006 10:11:41 AM org.apache.catalina.session.StandardManager doLoad
		SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing
aborted; java.io.NotSerializableException: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList
		java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList
			at java.io.ObjectInputStream.readObject0(Unknown Source)
			at java.io.ObjectInputStream.defaultReadFields(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:1376)
			at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:920)
			at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:463)
			at org.apache.catalina.session.StandardManager.load(StandardManager.java:390)
			at org.apache.catalina.session.StandardManager.start(StandardManager.java:704)
			.............................................................................. etc

		
The 'myfileBean' is the name of one of my JAVA files.   The strange thing is that when this
error is generated, I am usually working with another JAVA file.

Any ideas?

Thanks.
Ramon

Mime
View raw message