Sadly, I don't think it's gonna be a fix for this problem. I ran the Environment Check stylesheet and it looks like my servlet engine is using the correct Xalan version - 2.3.1. I'll attach the relevant XML output at the end.

There was an observation that I might have some threadsafe coding problems. Most of the errors appear in pages where simple transformations (XML + XSL -> XHTML) are happening. I really am rather at a loss. Any other ideas?

<?xml version="1.0" encoding="UTF-8"?>
<out>
<checkEnvironmentExtension>
<EnvironmentCheck version="$Revision: 1.10 $">
<environment>
<item key="version.DOM.draftlevel">2.0fd</item>
<item key="java.class.path">/opt/jetty/ext/ant.jar:/opt/jetty/ext/jasper-compiler.jar:/opt/jetty/ext/jasper-runtime.jar:/opt/jetty/ext/jcert.jar:/opt/jetty/ext/jmxri.jar:/opt/jetty/ext/jmxtools.jar:/opt/jetty/ext/jnet.jar:/opt/jetty/ext/jsse.jar:/opt/jetty/lib/javax.servlet.jar:/opt/jetty/lib/org.mortbay.jetty.jar:/opt/jetty/lib/org.mortbay.jmx.jar:/usr/java/java/lib/tools.jar</item>
<item key="version.JAXP">1.1</item>
<item key="java.ext.dirs">/usr/java/j2sdk1.4.1_02/jre/lib/ext</item>
<item key="version.xerces2">Xerces-J 2.0.0</item>
<item key="version.xerces1">not-present</item>
<item key="version.xalan2_2">Xalan Java 2.3.1</item>
<item key="version.xalan1">not-present</item>
<item key="version.ant">Apache Ant version 1.5 compiled on July 9 2002</item>
<item key="java.version">1.4.1_02</item>
<item key="version.DOM">2.0</item>
<item key="version.crimson">present-unknown-version</item>
<item key="sun.boot.class.path">/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_02/jre/lib/i18n.jar:/usr/java/j2sdk1.4.1_02/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.1_02/jre/lib/jsse.jar:/usr/java/j2sdk1.4.1_02/jre/lib/jce.jar:/usr/java/j2sdk1.4.1_02/jre/lib/charsets.jar:/usr/java/j2sdk1.4.1_02/jre/classes</item>
<item key="version.SAX">2.0</item>
<item key="version.xalan2x">Xalan Java 2.3.1</item>
</environment>
<status result="OK"/>
</EnvironmentCheck>
</checkEnvironmentExtension>
</out>


Gabe

Geoff Howard wrote:

Really?  I don't recognize that error as the typical endorsed lib
problem, and thought Jetty handled endorsed libs differently and
so didn't suffer this problem.  Gabriel, did this work?

Geoff



-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 6:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Random ArrayIndexOutOfBoundsException


Hello Gabriel,


you seem to have the infamous endorsed libs problem. Try the environment
check mentioned at
http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError to be sure.
Also a short overview about solutions is given. A more complete
description of the problem can be found at
http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem.

Joerg

Gabriel Egolf wrote:


Hello all.

I'm in the last stages of development on a rather large


project, and for


some time now have been plagued by a rather annoying problem. I'm not
sure even how the problem began, but I'll try to give as much
information as possible and hopefully one of you has run across it in
the past. Generally, the problem manifests itself as a blank page
containing nothing but the XML PI (<?xml version="1.0"
encoding="utf-8"?>). Occasionally, I'll get the contents of 2


unrelated


pages together. Unfortunately, this problem seems to be a completely
random occurence, and usually a server restart will solve it


temporarily.


Here's my software environment:
JDK 1.4.1_02
Jetty 4.2.9
Cocoon 2.0.4

I've supplied an error trace from my error.log at the end of this
message. If you've seen this before, please let me know how


you fixed it.


Thanks.

Gabriel Egolf
Developer
Bob Jones University
[EMAIL PROTECTED]



...



11587 java.lang.ArrayIndexOutOfBoundsException: -3
11588     at org.apache.xml.utils.IntStack.pop(IntStack.java:127)
11589     at
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.endElement(SAX2DTM.java:1889)
11590     at



org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.endElement(Incr
ementalSAXSource_Filter.java:287)


11591 at



org.apache.xalan.transformer.TransformerHandlerImpl.endElement(Tra
nsformerHandlerImpl.java:552)


11592 at



org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)


11593 at



org.apache.cocoon.sitemap.ContentAggregator.endElem(ContentAggrega
tor.java:329)


11594 at



org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggreg
ator.java:156)


11595 at



org.apache.cocoon.components.pipeline.CachingEventPipeline.process
(CachingEventPipeline.java:250)


11596 at



org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSou
rce.java:381)


11597 at



org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.
java:143)


11598 at



org.apache.cocoon.components.pipeline.CachingEventPipeline.process
(CachingEventPipeline.java:250)


11599 at



org.apache.cocoon.components.pipeline.CachingStreamPipeline.proces
s(CachingStreamPipeline.java:395)


11600 at



org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.i
nvoke(SerializeNode.java:154)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to