cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Massimiliano Savoldelli" <massimiliano.savolde...@inmedia.ws>
Subject error when I try to access to the Cocoon welcome page
Date Wed, 25 Aug 2004 09:56:51 GMT
Hi,
I have a problem when I call the Cocoon welcome page on my localhost after I
have installed it.
I get this error:


org.apache.cocoon.ProcessingException: Failed to generate program code (this
may happen if you use Xalan in incremental processing mode). Please check
log file and/or console for errors.
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:395)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:353)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
 at java.lang.Thread.run(Thread.java:534)



I tried to change the xslt-processor parameter "incremental-processing" to
"false"
but I get this error:


java.lang.RuntimeException: Errors in XSLT transformation:
Fatal: File
file:/C:/Programmi/Tomcat%205.0/work/Catalina/localhost/cocoon/loader/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line 154; Column 32; org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

 at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
 at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerH
andlerImpl.java:433)
 at org.xml.sax.helpers.XMLFilterImpl.endDocument(Unknown Source)
 at org.xml.sax.helpers.XMLFilterImpl.endDocument(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
 at org.apache.xerces.impl.XMLNamespaceBinder.endDocument(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
 at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
 at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
 at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
 at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
 at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat
eCode(LogicsheetCodeGenerator.java:173)
 at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Code(AbstractMarkupLanguage.java:390)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:390)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:353)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
 at java.lang.Thread.run(Thread.java:534)


My system configuration is:

o.s. Windows XP Home Ed. 5.1
web server: Apache Tomcat/5.0.19
JVM version: 1.4.2_01-b06
cocoon release: cocoon-2.0.4-vm14-bin.zip


Anyone can help me ?
Thanks

Massimiliano



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


Mime
View raw message