cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Christmann <>
Subject WAR serialization problem
Date Wed, 22 Dec 2004 19:02:08 GMT
I'm playing with my first cocoon-based web application, and I am
having problems trying to deploy it to Tomcat (5.0.30) with the
unpackWARS attribute of my <Host> element set to "false".

With unpackWARS set to "true", the webapp (named reports.war) is
properly unpacked and everything works like a charm.

But with unpackWARS set to "false", the webapp is not unpacked (so
far, so good) but I get an exception when trying to access my "main"
page.  When I do, I get an "Internal Server Error" page showing a


	at org.eclipse.jdt.internal.compiler.parser.Scanner.setSource(
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse(
	at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(
(lots more omitted)

The top of the stack trace that is logged by Tomcat is:

12/22/2004 12:19:49.991 [Thread-0] ERROR session.ManagerBase -
IOException while loading persisted sessions: writing aborted;
org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader writing aborted;

Having seen other found emails describing this error, I've 
+ grepped around for all instances of "session.setAttribute" in java
code and javascript, and only found two: both of them are setting a
String valued attribute.
+ Looked for sessions in my
TOMCAT_HOME/work/Catalina/localhost/reports folder.  While Tomcat is
running, there is a tldCache.ser, and when I stop Tomcat a
SESSIONS.ser appears.  I'm not sure what to make of the presence of
these files.  I've tried deleting stopping Tomcat, deleting them and
restarting, just to see if it mattered (and it didn't).

I'm not sure where to look next, so thanks for any help or pointers.


Paul Christmann
Prior Artisans, LLC

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message