It's the endorsed libs problem:

http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem
http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError

Regards,

Joerg

Jasper Michalczik wrote:
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)


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



Reply via email to