cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: Trouble w/ trunk / samples
Date Tue, 02 Jan 2007 18:31:16 GMT
You get the wrong version of DOM, see 
http://osdir.com/ml/dev@cocoon.apache.org/msg48088.html, for some hints.

/Daniel

Mark Lundquist skrev:
> Hi, I'm trying to test samples against my source build.  This is from a 
> "mvn clean install" on a freshly-updated trunk as of last night.
> 
> First, I tried "mvn jetty:run" from cocoon-dist-samples.  Jetty falls 
> over with these messages:
> 
> =============================================================================== 
> 
> 4212 [main] INFO / - Loading Spring root WebApplicationContext
> 7314 [main] WARN org.mortbay.log - failed 
> ContextHandler@8ba7d9{/,file:/Volumes/codeshack-data1/ml/software/Cocoon/cocoon/dev/trunk/dists/cocoon-dist-samples/target/cocoon-samples/}

> 
> 7470 [main] WARN org.mortbay.log - failed ContextHandlerCollection@b8ce34
> 7471 [main] WARN org.mortbay.log - failed HandlerCollection@e9f4d0
> 7507 [main] INFO org.mortbay.log - Started SelectChannelConnector @ 
> 0.0.0.0:8888
> 7508 [main] WARN org.mortbay.log - failed Server@f939d2
> [INFO] Jetty server exiting.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failure
> 
> Embedded error: Cannot invoke listener 
> org.springframework.web.context.ContextLoaderListener@ac0d08
> Class 
> [org.apache.cocoon.spring.configurator.impl.ConfiguratorNamespaceHandler] 
> does not implement the NamespaceHandler interface
> =============================================================================== 
> 
> 
> 
> Then, remembering http://svn.apache.org/viewvc?view=rev&rev=491696, I 
> tried jetty:run from cocoon-webapp.  Cocoon starts OK, but then when I 
> hit the "block samples" link on the welcome page, I get the error shown 
> below.  Any clues?  Am I doing something wrong?
> 
> thx,
> —ml—
> 
> =============================================================================== 
> 
> HTTP ERROR: 500
> 
> javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
> RequestURI=/blocks/
> 
> Caused by:
> 
> java.lang.NoSuchMethodError: 
> javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
>         at 
> org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:199)

> 
>         at 
> org.apache.xalan.transformer.TransformerIdentityImpl.setDocumentLocator(TransformerIdentityImpl.java:880)

> 
>         at 
> org.apache.cocoon.xml.AbstractXMLPipe.setDocumentLocator(AbstractXMLPipe.java:39) 
> 
>         at 
> org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source)
>         at 
> org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
>         at 
> org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
>         at 
> org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown 
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>         at 
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>         at 
> org.apache.cocoon.core.xml.impl.JaxpSAXParser.parse(JaxpSAXParser.java:196)
>         at 
> org.apache.cocoon.core.xml.avalon.DefaultSAXParser.parse(DefaultSAXParser.java:47) 
> 
>         at 
> org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:128)
>         at 
> org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:180) 
> 
>         at 
> org.apache.cocoon.components.source.util.SourceUtil.toDOM(SourceUtil.java:285) 
> 
>         at 
> org.apache.cocoon.generation.XPathTraversableGenerator.performXPathQuery(XPathTraversableGenerator.java:220)

> 
>         at 
> org.apache.cocoon.generation.XPathTraversableGenerator.addContent(XPathTraversableGenerator.java:196)

> 
>         at 
> org.apache.cocoon.generation.TraversableGenerator.addPath(TraversableGenerator.java:482)

> 
>         at 
> org.apache.cocoon.generation.TraversableGenerator.addPath(TraversableGenerator.java:464)

> 
>         at 
> org.apache.cocoon.generation.TraversableGenerator.addPath(TraversableGenerator.java:464)

> 
>         at 
> org.apache.cocoon.generation.TraversableGenerator.addAncestorPath(TraversableGenerator.java:383)

> 
>         at 
> org.apache.cocoon.generation.TraversableGenerator.generate(TraversableGenerator.java:321)

> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:61)

> 
>         at $Proxy2.generate(Unknown Source)
>         at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:358)

> 
>         at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)

> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:61)

> 
>         at $Proxy1.process(Unknown Source)
>         at 
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:134)

> 


Mime
View raw message