cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Haller" <reinhard.hal...@interactive-net.de>
Subject Re: [2.1.8] Jboss / Aggregation samples
Date Wed, 23 Nov 2005 14:48:20 GMT


>>> sylvain@apache.org 23.11.2005 14:25 >>>
>Reinhard Haller wrote:
>> I tried  to install Cocoon-2.1.8 on JBoss 4.0.3 by copying
>> the webapp as cocoon.war to the JBoss deploy directory.
>>
>> It worked at the first glance. By trying out the samples to
>> verify the installation I got errors from the aggregation
>> samples (Flexible Content, Parallel Content, Cinclude Content
>> Xinclude Content)
>>
>> all these samples terminated with a 500 Status (internal error)
>> with cause
>>
>> java.lang.IncompatibleClassChangeError
>>
>> What's missing?
>>   
>
>To know that, we need to have not only the exception, but also the
first 
>part of the stacktrace up to the Cocoon code.

I thought it's a simple known installation bug and omitted the trace.
Using
Jetty the examples work as expected. Here is the complete trace:

*************************************************
type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

root cause

java.lang.IncompatibleClassChangeError
	org.apache.xalan.xsltc.compiler.UnionPathExpr.setParser(UnionPathExpr.java:75)
	org.apache.xalan.xsltc.compiler.Parser.parseTopLevel(Parser.java:1095)
	org.apache.xalan.xsltc.compiler.Parser.parseExpression(Parser.java:1053)
	org.apache.xalan.xsltc.compiler.ApplyTemplates.parseContents(ApplyTemplates.java:71)
	org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:423)
	org.apache.xalan.xsltc.compiler.Copy.parseContents(Copy.java:58)
	org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:423)
	org.apache.xalan.xsltc.compiler.Template.parseContents(Template.java:247)
	org.apache.xalan.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:585)
	org.apache.xalan.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:557)
	org.apache.xalan.xsltc.compiler.Parser.createAST(Parser.java:381)
	org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.endDocument(TemplatesHandlerImpl.java:220)
	org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
	org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
	org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
	org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
	org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
Source)
	org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
	org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:128)
	org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:300)
	org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:238)
	org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:330)
	org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:397)
	org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:619)
	org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:500)
	org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:452)
	org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
	org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
	org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
	org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
	org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
	org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	org.apache.cocoon.Cocoon.process(Cocoon.java:679)
fon.TraxTransformer.setup(TraxTransfor	org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.
Apache Tomcat/5.5

********************************************************

My config:

JBoss 4.03 (not SP1)
Cocoon 2.1.8 out of the box (build without any parameter)
Jdk 1.5.2_02
Windows 2000 SP4

btw: Why there is no documentation for installing JBoss 4 instead of
JBoss 2?


Reinhard


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


Mime
View raw message