cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Ng" <stephen...@lumigent.com>
Subject NotSerializableException
Date Thu, 24 Oct 2002 21:06:53 GMT
My app runs fine for a while, then starts to cough up
NotSerializableException's like crazy.  I don't see any visible
problems, but throwing and logging all these exceptions can't be good
for my performance.

Has anyone seen this before or has some idea what this might be?  It
looks like an error trying to move stuff from the in-memory cache to the
filesystem?  (BTW I have plenty of disk space).  Could it be because I
have a HashMap in an xsp somewhere which it is trying to serialize?

Thanks,

Steve

[Very long stack trace follows].

ERROR   (2002-10-24) 16:54.32:705   [core.store.transient]
(/xsltcSaxon/data/historyTableData.xml) Thread-11/MRUMemoryStore: Error
storing object on fs
java.io.NotSerializableException:
org.apache.cocoon.environment.wrapper.EnvironmentWrapper
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at java.util.HashMap.writeObject(HashMap.java:807)
        at java.lang.reflect.Method.invoke(Native Method)
        at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:18
59)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1205)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at
org.apache.cocoon.util.IOUtils.serializeObject(IOUtils.java:144)
        at
org.apache.cocoon.components.store.FilesystemStore.store(FilesystemStore
.java:228)
        at
org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.ja
va:325)
        at
org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.ja
va:204)
        at
org.apache.cocoon.components.store.MRUMemoryStore.store(MRUMemoryStore.j
ava:184)
        at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachi
ngEventPipeline.java:253)
        at
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.ja
va:353)
        at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.j
ava:148)
        at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachi
ngEventPipeline.java:250)
        at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach
ingStreamPipeline.java:399)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:153)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:85)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:156)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:140)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:144)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:328)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:293)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun
tNode.java:131)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:85)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:156)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:140)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:144)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:328)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:293)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:239
6)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:40
5)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:380)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:50
8)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:533)
        at java.lang.Thread.run(Thread.java:479)

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message