| Title | Serialization error |
| Date | 04-Mar-2005 22:54:55 EET |
| Version | 2.0.52 |
| Submitter | 80.98.61.186 |
| Bug criticality | MediumBug |
| Browser version | Firefox |
| Bug status | ClosedBug |
| PageProvider used | default |
| Servlet Container | Tomcat 5.0 |
| Operating System | SuSe 9.2 |
| URL | http://www.bossas.com/intrawiki/Edit.jsp?page=Main![]() |
| Java version | 1.4.2_06 |
Seems as if the session object that Tomcat is trying to serialize is not serializable.
This error occurs when I hit the save button on a newly created page. The wiki is a new install and no saved pages in the file system. There is no left menu, left footer, main page etc. It is quite raw!
04-Mar-2005 20:15:27 org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; j ava.io.NotSerializableException: org.apache.jasper.runtime.PageContextImpl java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.jasper.run time.PageContextImpl at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
.....
One other comment, every template that I've tried has broken, either at the JSP compile stage or shortly after.
This is not fatal, it should not prevent operations. It'll just look annoying on your logs. It's a real bug though - or in fact, it's a bug in servlet specifications (and therefore implementations that don't check if something is serializable or not...)
Will be fixed in due course.
I don't mean to be argumentative but this is a fatal error in this instance as it prevents anyone from being able to create a wiki page.
-- Kirk
It absolutely should not prevent anyone from creating a page. I'm running Tomcat 5 as well (though on Ubuntu) and it works fine (even if I occasionally get the same errors). Please check your server.xml; or try and reinstall on a fresh Tomcat system (for testing purposes).
Downgrading again; the reason for not being able to create a page is something else than a serialization error. It's impossible to debug/fix anyway; I need complete log files.
The serialization exception should be fixed in current CVS. Closing this one for now.
