Hi,

while investigating the problems that I sent yesterday to this list
(thread 'Unable to run forrest')
and due to the long time I've been without using forrest I decided to
start with the simplest task
i.e. build a sample site using $ forrest seed. It works fine if I
don't use dispatcher, but when I
activated the dispatcher in the forrest.properties file I got an
Internal Server Error page in my browser:

Internal Server Error

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.apache.forrest.dispatcher.transformation.DispatcherTransformer

Request URI

request-uri

/

Apache Cocoon 2.1.12-dev

After that I pressed CTRL-C, and executed "$ forrest clean". Then I run the
"$ forrest" command. I got the following:

v...@rachael:/tmp/af_test$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /opt/forrest_trunk/main/forrest.build.xml

check-java-version:
This is apache-forrest-0.9-dev
Using Java 1.6 from /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Using Apache Ant version 1.7.1 compiled on September 26 2008 from
/opt/forrest_trunk/tools/ant

init-props:
Created dir: /tmp/af_test/build/tmp

echo-settings-condition:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

fetch-plugins-descriptors:
Copying 1 file to /tmp/af_test/build/tmp
Copying 1 file to /tmp/af_test/build/tmp
Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
To: /tmp/af_test/build/tmp/plugins-1.xml
local file date : Tue Aug 03 13:51:04 CEST 2010
Error getting http://forrest.apache.org/plugins/plugins.xml to
/tmp/af_test/build/tmp/plugins-1.xml
Fetching plugins descriptor:
http://forrest.apache.org/plugins/whiteboard-plugins.xml
Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
To: /tmp/af_test/build/tmp/plugins-2.xml
local file date : Tue Aug 03 13:55:01 CEST 2010
Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml
to /tmp/af_test/build/tmp/plugins-2.xml
Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml.
Plugin list loaded from
http://forrest.apache.org/plugins/whiteboard-plugins.xml.

init-plugins:
Created dir: /tmp/af_test/build/webapp/conf
Copying 1 file to /tmp/af_test/build/tmp
Copying 1 file to /tmp/af_test/build/tmp
Copying 1 file to /tmp/af_test/build/tmp
Copying 1 file to /tmp/af_test/build/tmp
Copying 1 file to /tmp/af_test/build/tmp

      --------------------------------------------------------------
      Installing plugin: org.apache.forrest.plugin.output.pdf
      --------------------------------------------------------------


check-plugin:
org.apache.forrest.plugin.output.pdf is available in the build dir.
Trying to update it...

init-props:

echo-settings-condition:

echo-settings:

init-proxy:

fetch-plugins-descriptors:

fetch-plugin:
Trying to find the description of org.apache.forrest.plugin.output.pdf
in the different descriptor files
Using the descriptor file /tmp/af_test/build/tmp/plugins-1.xml...
Processing /tmp/af_test/build/tmp/plugins-1.xml to
/tmp/af_test/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet /opt/forrest_trunk/main/var/pluginlist2fetch.xsl

fetch-local-unversioned-plugin:

get-local:
Trying to locally get org.apache.forrest.plugin.output.pdf
Looking in local /opt/forrest_trunk/plugins
Found !

init-build-compiler:

echo-init:

init:

compile:

jar:

local-deploy:
Locally deploying org.apache.forrest.plugin.output.pdf

build:
Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure

fetch-remote-unversioned-plugin-version-forrest:

fetch-remote-unversioned-plugin-unversion-forrest:

has-been-downloaded:

downloaded-message:

uptodate-message:

not-found-message:
Fetch-plugin Ok, installing !

unpack-plugin:

install-plugin:

configure-plugin:

configure-output-plugin:
Mounting output plugin: org.apache.forrest.plugin.output.pdf
Processing /tmp/af_test/build/tmp/output.xmap to
/tmp/af_test/build/tmp/output.xmap.new
Loading stylesheet /opt/forrest_trunk/main/var/pluginMountSnippet.xsl
Moving 1 file to /tmp/af_test/build/tmp

configure-plugin-locationmap:
Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf
Processing /tmp/af_test/build/tmp/locationmap.xml to
/tmp/af_test/build/tmp/locationmap.xml.new
Loading stylesheet /opt/forrest_trunk/main/var/pluginLmMountSnippet.xsl
Moving 1 file to /tmp/af_test/build/tmp

      --------------------------------------------------------------
      Installing plugin: org.apache.forrest.plugin.internal.dispatcher
      --------------------------------------------------------------


check-plugin:
org.apache.forrest.plugin.internal.dispatcher is available in the
build dir. Trying to update it...

init-props:

echo-settings-condition:

echo-settings:

init-proxy:

fetch-plugins-descriptors:

fetch-plugin:
Trying to find the description of
org.apache.forrest.plugin.internal.dispatcher in the different
descriptor files
Using the descriptor file /tmp/af_test/build/tmp/plugins-1.xml...
Processing /tmp/af_test/build/tmp/plugins-1.xml to
/tmp/af_test/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet /opt/forrest_trunk/main/var/pluginlist2fetch.xsl

findPlugin:
Using the descriptor file /tmp/af_test/build/tmp/plugins-2.xml...
Processing /tmp/af_test/build/tmp/plugins-2.xml to
/tmp/af_test/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet /opt/forrest_trunk/main/var/pluginlist2fetch.xsl

fetch-local-unversioned-plugin:

get-local:
Trying to locally get org.apache.forrest.plugin.internal.dispatcher
Looking in local /opt/forrest_trunk/plugins
Looking in local /opt/forrest_trunk/whiteboard/plugins
Found !

init-build-compiler:

echo-init:

init:

compile:

jar:

local-deploy:
Locally deploying org.apache.forrest.plugin.internal.dispatcher

build:
Plugin org.apache.forrest.plugin.internal.dispatcher deployed ! Ready
to configure

fetch-remote-unversioned-plugin-version-forrest:

fetch-remote-unversioned-plugin-unversion-forrest:

has-been-downloaded:

downloaded-message:

uptodate-message:

not-found-message:
Fetch-plugin Ok, installing !

unpack-plugin:

install-plugin:

configure-plugin:

configure-internal-plugin:
Mounting internal plugin: org.apache.forrest.plugin.internal.dispatcher
Processing /tmp/af_test/build/tmp/internal.xmap to
/tmp/af_test/build/tmp/internal.xmap.new
Loading stylesheet /opt/forrest_trunk/main/var/pluginMountSnippet.xsl
Moving 1 file to /tmp/af_test/build/tmp

configure-plugin-locationmap:
Mounting plugin locationmap for org.apache.forrest.plugin.internal.dispatcher
Processing /tmp/af_test/build/tmp/locationmap.xml to
/tmp/af_test/build/tmp/locationmap.xml.new
Loading stylesheet /opt/forrest_trunk/main/var/pluginLmMountSnippet.xsl
Moving 1 file to /tmp/af_test/build/tmp

init:

-prepare-classpath:

check-contentdir:

examine-proj:

validation-props:
Using these catalog descriptors:
/opt/forrest_trunk/main/webapp/resources/schema/catalog.xcat:/opt/forrest_trunk/build/plugins/catalog.xcat:/tmp/af_test/src/documentation/resources/schema/catalog.xcat

validate-xdocs:
35 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
...validated project sitemap

validate-skins-stylesheets:

validate-skins:

validate-skinchoice:
...validated existence of skin 'pelt'

validate-stylesheets:
...validated stylesheets

validate:

site:

Copying the various non-generated resources to site.
Warnings will be issued if the optional project resources are not found.
This is often the case, because they are optional and so may not be available.
Copying project resources and images to site ...
Warning: /tmp/af_test/build/webapp/resources not found.
Copying 2 files to /tmp/af_test/build/site
Copying main skin images to site ...
Created dir: /tmp/af_test/build/site/skin/images
Copying 18 files to /tmp/af_test/build/site/skin/images
Copying 14 files to /tmp/af_test/build/site/skin/images
Copying project skin images to site ...
Warning: /tmp/af_test/src/documentation/skins/common/images not found.
Warning: /tmp/af_test/src/documentation/skins/pelt/images not found.
Copying main skin css and js files to site ...
Copying 11 files to /tmp/af_test/build/site/skin
Copied 4 empty directories to 3 empty directories under
/tmp/af_test/build/site/skin
Copying 4 files to /tmp/af_test/build/site/skin
Copying project skin css and js files to site ...
Warning: /tmp/af_test/src/documentation/skins/common not found.
Warning: /tmp/af_test/src/documentation/skins/pelt not found.

Finished copying the non-generated resources.
Now Cocoon will generate the rest.


Static site will be generated at:
/tmp/af_test/build/site

Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).

------------------------------------------------------------------------
cocoon 2.1.12-dev
Copyright (c) 1999-2007 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------


X [0]                                     linkmap.html  BROKEN:
org.apache.forrest.dispatcher.transformation.DispatcherTransformer
Total time: 0 minutes 1 seconds,  Site size: 0 Site pages: 0
Java Result: 1

  Copying broken links file to site root.

Copying 1 file to /tmp/af_test/build/site

BUILD FAILED
/opt/forrest_trunk/main/targets/site.xml:223: Error building site.

There appears to be a problem with your site build.

Read the output above:
* Cocoon will report the status of each document:
    - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
  - See /tmp/af_test/build/site/broken-links.xml

Total time: 7 seconds

So a couple of errors getting http://forrest.apache.org/plugins/plugins.xml
and a BROKEN: org.apache.forrest.dispatcher.transformation.DispatcherTransformer
(basically the same problems that I get when trying to build my real site).
As I said I haven't worked with forrest for a long time so maybe the problem is
between the chair and the keyboard, but anyway I would really thank any help.

Vicent

PS: If it helps I'm on a Debian testing box and when I updated my local copy
of the forrest repository I got:

rachael:/opt/forrest_trunk/main# ./build.sh
Using classpath:
../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta-regexp-1.5.jar:../lib/endorsed/xalan-2.7.1.jar:../lib/endorsed/xercesImpl-2.9.1.jar:../lib/endorsed/xml-apis-1.3.04.jar
Buildfile: build.xml
init:
Created dir: /opt/forrest_trunk/build
     --------------------------------------------------------------
     Using Apache Ant version 1.7.1 compiled on September 26 2008
     Build file /opt/forrest_trunk/main/build.xml
     Use 'build.[sh|bat] -projecthelp' to see other options.
     Build system home /opt/forrest_trunk/tools/ant
     Build number 0
     Project Name Forrest build file
     Java Version 1.6
     Timestamp 201008031357
     This is: apache-forrest 0.9-dev
     --------------------------------------------------------------
compile:
Created dir: /opt/forrest_trunk/build/classes
Compiling 33 source files to /opt/forrest_trunk/build/classes
/opt/forrest_trunk/main/java/org/apache/forrest/log/ForrestLogTargetFactory.java:22:
warning: [deprecation] org.apache.cocoon.util.log.CocoonTargetFactory
in org.apache.cocoon.util.log has been deprecated
import org.apache.cocoon.util.log.CocoonTargetFactory;
                                ^
/opt/forrest_trunk/main/java/org/apache/forrest/log/ForrestLogTargetFactory.java:30:
warning: [deprecation] org.apache.cocoon.util.log.CocoonTargetFactory
in org.apache.cocoon.util.log has been deprecated
   extends CocoonTargetFactory {
           ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 warnings
jar:
Building jar: /opt/forrest_trunk/build/xml-forrest.jar
 *-----------------------------------------------------------------
 | Installation notice
 *-----------------------------------------------------------------
 | You have now built the 0.9-dev version of Forrest.
 | Please set the environment variable FORREST_HOME to point to
 |  /opt/forrest_trunk
 | It is recommended to add
 |    unix: $FORREST_HOME/bin: to your $PATH
 |    win: %FORREST_HOME%\bin; to your %PATH%
 | Then do 'forrest -projecthelp' to list options for the 'forrest' command
 | More help at http://forrest.apache.org/
 *-----------------------------------------------------------------
BUILD SUCCESSFUL
Total time: 4 seconds

-- 
Share what you know, learn what you don't.