Title: Message
Jasper,
 
from the stack trace you've provided, it would appear that your XSL transformation is the cause of your problems:

> java.lang.RuntimeException: Errors in XSLT transformation:

> Fatal: File jar:file:/C:/Programme/Apache Group/Tomcat 4.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0.4.jar!/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!

 

Look into C:/Programme/Apache Group/Tomcat 4.1/webapps/cocoon/WEB-INF/logs/core.log for more details on what the error is.

 

Hope that helps,

Cedric

-----Original Message-----
From: Jasper Michalczik [mailto:[EMAIL PROTECTED]
Sent: 07 August 2003 23:57
To: [EMAIL PROTECTED]
Subject: Getting Error when trying to use JSDK1.42 + Tomcat 4.1.27 + Cocoon 2.02 or 2.04

Hello,

 

I’m getting the following Error when trying to use Cocoon 2.02 or 2.04 on JSDK1.42 + Tomcat 4.1.27:

 

I got this Error in two different Computers, both running with Win XP pro.

 

 

Cocoon 2 - Internal server error

 

--------------------------------------------------------------------------------

 

type fatal

 

message 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.

 

description 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.

 

sender org.apache.cocoon.servlet.CocoonServlet

 

source Cocoon servlet

 

stack-trace

 

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.generateResource(ProgramGeneratorImpl.java:395)

            at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:353)

            at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)

            at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)

            at java.lang.Thread.run(Unknown Source)

 

 

----------

----------

The Console displays:

 

08.08.2003 00:50:30 org.apache.commons.modeler.Registry loadRegistry

INFO: Loading registry information

08.08.2003 00:50:31 org.apache.commons.modeler.Registry getRegistry

INFO: Creating new Registry instance

08.08.2003 00:50:31 org.apache.commons.modeler.Registry getServer

INFO: Creating MBeanServer

08.08.2003 00:50:33 org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on port 80

Starting service Tomcat-Standalone

Apache Tomcat/4.1.27-LE-jdk14

08.08.2003 00:50:35 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

08.08.2003 00:50:35 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true

08.08.2003 00:50:36 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true

server.properties not found, using command line or default properties

Opening database: C:\Programme\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondb

HSQLDB server 1.7.1 is running

Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly

Fri Aug 08 00:50:44 CEST 2003 Listening for connections ...

08.08.2003 00:50:45 org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on port 80

08.08.2003 00:50:45 org.apache.jk.common.ChannelSocket init

INFO: JK2: ajp13 listening on /0.0.0.0:8009

08.08.2003 00:50:45 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/160  config=C:\Programme\Apache Group\Tomcat 4.1\conf\jk2.properties

java.lang.RuntimeException: Errors in XSLT transformation:

Fatal: File jar:file:/C:/Programme/Apache Group/Tomcat 4.1/webapps/cocoon/WEB-IN

F/lib/cocoon-2.0.4.jar!/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 java.lang.Thread.run(Thread.java:534)

--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit, the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

Reply via email to