1. I installed 0.8-dev from SVN.
2. seeded new forrest
3. copied DocBook4.4 XSL files to {project:resources.stylesheets}\docbook
4. created attached sitemap.xmap
5. created attached file docbook_k2doc.xml and placed it into xdocs (I
tested it before with other DocBook2HTML generator)

Forrest is reporting error:
Internal Server Error

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

docbook_k2doc.html

cause

null

request-uri

/docbook_k2doc.html

Apache Cocoon 2.2.0-dev


I have no idea what is wrong.

Pls. advice me what to do.


-----Original Message-----
From: David Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 4:08 AM
To: user@forrest.apache.org
Subject: Re: Follow/debug Forrest's work

Martin Minka wrote:
> I am using apache-forrest-0.7 on Windows. I tired what is described in 
> http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> 1. to enable profiler, I got "Could not find component for role:
> [org.apache.cocoon.components.profiler.Profiler]
> (Key='org.apache.cocoon.components.profiler.Profiler')"
> 2. enable Cocoon sitemap execution logger, I am not able to find 
> "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf

Those are available in forrest-0.8-dev

Regarding item 2, you can probably find the relevant changes in
forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
and apply them to your forrest-0.7 version.

Here is how (a verbose description for the benefit of others) ...

For those that already have a Subversion checkout of the forrest trunk
0.8-dev:
 svn log main/webapp/WEB-INF/xconf/forrest-core.xconf

Otherwise use the web interface:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/forrest
-core.xconf

Now look for the relevant change, i.e. "sitemap execution".

It is Revision 365510. Follow that link to see the associated changes. As
you can see the logkit.xconf changes can be ignored. Apply the changes to
your forrest-core.xconf

That should work in this case. With backporting other changes, YMMV.

If you are just exploring Forrest then perhaps better to dive in and use the
current trunk development via Subversion.

-David

Attachment: sitemap.xmap
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN"
"http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd";>
<article>
  <title>Simplified DocBook example</title>

  <subtitle>Sample Page subtitle</subtitle>

  <titleabbrev>Title abbrev</titleabbrev>

	<section id="1">
		<title>Section 1</title>
		<para>Article paragraph</para>
	</section>

</article>