forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Dispatcher and i18n (Was: ForrestBot build for forrest-sample-2 FAILED)
Date Sun, 28 May 2006 19:04:58 GMT
El mar, 23-05-2006 a las 11:35 +1000, David Crossley escribió:
> It seems that the Dispatcher doesn't handle the recent i18n changes.
> Or perhaps the switching of the default to true.

Thanks for this pointer. Excellent. :)

> 
> I recall seeing similar error messages being discussed
> and solved recently. Can somebody recall what is required?

I did the following to resolve the problem:

1) On fresh site: http://localhost:8888/index.html
dispatcherError: 500 - Internal server error
The contract "nav-main" has thrown thrown an exception by resolving raw data from "cocoon://index.navigation.xml".

dispatcherErrorStack:
 org.apache.excalibur.source.SourceException: Exception during processing of cocoon://index.navigation.xml

2) request http://localhost:8888/index.navigation.xml
cause
/home/thorsten/src/apache/forrest-trunk/main/webapp/resources/stylesheets/i18n.xsl (No such
file or directory)

3) internal.dispatcher/dataModel.xmap you can find the corresponding match for *.navigation.xml


I then compared the changes done in
http://svn.apache.org/viewvc?rev=408690&view=rev with the dataModel.xmap matches and adopted
bdelacretaz work.
Thanks Bertrand for your excellent contribution. :)

I updated the dispatcher with r409977.

salu2

> 
> ----------
> copied from below ...
> >      [java] The contract "nav-main" has thrown thrown an exception by resolving
raw data from "cocoon://linkmap.navigation.xml".
> >      [java] 
> >      [java] dispatcherErrorStack:
> >      [java]  org.apache.excalibur.source.SourceException: Exception during processing
of cocoon://linkmap.navigation.xml
> ----------
> 
> > Automated build for forrest-sample-2 FAILED
> > Log attached.
> > 
> > ----------
> > Forrestbot run ended at 22 May 05:56 PM
> > Using Forrest 0.8-dev
> > Forrestbot administrator: Forrest developers
> > ----------
> > 
> >      [echo] 
> >           ....... Forrest render START 2006-05-22 05:56:10
> >           ... Rendering docs in /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2
> >         
> > 
> > check-java-version:
> >      [echo] This is apache-forrest-0.8-dev
> >      [echo] Using Java 1.4 from /usr/j2se/jre
> > 
> > init-props:
> >     [mkdir] Created dir: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> > 
> > echo-settings:
> > 
> > check-skin:
> > 
> > init-proxy:
> > 
> > fetch-skins-descriptors:
> > 
> > fetch-skin:
> > 
> > unpack-skins:
> > 
> > init-skins:
> > 
> > fetch-plugins-descriptors:
> >      [echo] Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
> >       [get] Getting: http://forrest.apache.org/plugins/plugins.xml
> >       [get] To: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml
> >       [get] ...
> >       [get] last modified = Fri Feb 24 09:07:16 GMT+00:00 2006
> >      [echo] Fetching plugins descriptor: http://forrest.apache.org/plugins/whiteboard-plugins.xml
> >       [get] Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
> >       [get] To: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-2.xml
> >       [get] ..
> >       [get] last modified = Thu Apr 06 07:54:56 GMT+00:00 2006
> >      [echo] Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml.
> >      [echo] Plugin list loaded from http://forrest.apache.org/plugins/whiteboard-plugins.xml.
> > 
> > init-plugins:
> >     [mkdir] Created dir: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/webapp/conf
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] 
> >       --------------------------------------------------------------
> >       Installing plugin: org.apache.forrest.plugin.output.pdf
> >       --------------------------------------------------------------
> >        
> > 
> > check-plugin:
> >      [echo] org.apache.forrest.plugin.output.pdf is available in the build dir.
Trying to update it...
> > 
> > init-props:
> > 
> > echo-settings:
> > 
> > init-proxy:
> > 
> > fetch-plugins-descriptors:
> > 
> > fetch-plugin:
> >      [echo] Trying to find the description of org.apache.forrest.plugin.output.pdf
in the different descriptor files
> >      [echo] Using the descriptor file /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml...
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/pluginlist2fetchbuild.xml
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginlist2fetch.xsl
> > 
> > fetch-local-unversioned-plugin:
> > 
> > get-local:
> >      [echo] Trying to locally get org.apache.forrest.plugin.output.pdf
> >      [echo] Looking in local /export/opt/forrest-trunk/plugins
> >      [echo] Found !
> > 
> > init-build-compiler:
> > 
> > echo-init:
> > 
> > init:
> > 
> > compile:
> > 
> > jar:
> > 
> > local-deploy:
> >      [echo] Locally deploying org.apache.forrest.plugin.output.pdf
> > 
> > build:
> >      [echo] 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:
> >      [echo] Fetch-plugin Ok, installing !
> > 
> > unpack-plugin:
> > 
> > install-plugin:
> > 
> > configure-plugin:
> > 
> > configure-output-plugin:
> >      [echo] Mounting output plugin: org.apache.forrest.plugin.output.pdf
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginMountSnippet.xsl
> >      [move] Moving 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> > 
> > configure-plugin-locationmap:
> >      [echo] Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginLmMountSnippet.xsl
> >      [move] Moving 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] 
> >       --------------------------------------------------------------
> >       Installing plugin: org.apache.forrest.plugin.internal.dispatcher
> >       --------------------------------------------------------------
> >        
> > 
> > check-plugin:
> >      [echo] org.apache.forrest.plugin.internal.dispatcher is not available in the
build dir. Trying to fetch it...
> > 
> > init-props:
> > 
> > echo-settings:
> > 
> > init-proxy:
> > 
> > fetch-plugins-descriptors:
> > 
> > fetch-plugin:
> >      [echo] Trying to find the description of org.apache.forrest.plugin.internal.dispatcher
in the different descriptor files
> >      [echo] Using the descriptor file /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml...
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/pluginlist2fetchbuild.xml
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginlist2fetch.xsl
> > 
> > findPlugin:
> >      [echo] Using the descriptor file /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-2.xml...
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-2.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/pluginlist2fetchbuild.xml
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginlist2fetch.xsl
> > 
> > fetch-local-unversioned-plugin:
> > 
> > get-local:
> >      [echo] Trying to locally get org.apache.forrest.plugin.internal.dispatcher
> >      [echo] Looking in local /export/opt/forrest-trunk/plugins
> >      [echo] Looking in local /export/opt/forrest-trunk/whiteboard/plugins
> >      [echo] Found !
> > 
> > init-build-compiler:
> > 
> > echo-init:
> > 
> > init:
> > 
> > compile:
> > 
> > jar:
> > 
> > local-deploy:
> >      [echo] Locally deploying org.apache.forrest.plugin.internal.dispatcher
> >      [copy] Copying 102 files to /export/opt/forrest-trunk/build/plugins/org.apache.forrest.plugin.internal.dispatcher
> >      [copy] Copied 34 empty directories to 1 empty directory under /export/opt/forrest-trunk/build/plugins/org.apache.forrest.plugin.internal.dispatcher
> >      [copy] Copying 1 file to /export/opt/forrest-trunk/build/plugins/lib
> >      [copy] Copying 1 file to /export/opt/forrest-trunk/build/plugins/lib
> > 
> > build:
> >      [echo] 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:
> >      [echo] Fetch-plugin Ok, installing !
> > 
> > unpack-plugin:
> > 
> > install-plugin:
> > 
> > configure-plugin:
> > 
> > configure-internal-plugin:
> >      [echo] Mounting internal plugin: org.apache.forrest.plugin.internal.dispatcher
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/internal.xmap
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/internal.xmap.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginMountSnippet.xsl
> >      [move] Moving 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> > 
> > configure-plugin-locationmap:
> >      [echo] Mounting plugin locationmap for org.apache.forrest.plugin.internal.dispatcher
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginLmMountSnippet.xsl
> >      [move] Moving 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] 
> >       --------------------------------------------------------------
> >       Installing plugin: org.apache.forrest.themes.core
> >       --------------------------------------------------------------
> >        
> > 
> > check-plugin:
> >      [echo] org.apache.forrest.themes.core is available in the build dir. Trying
to update it...
> > 
> > init-props:
> > 
> > echo-settings:
> > 
> > init-proxy:
> > 
> > fetch-plugins-descriptors:
> > 
> > fetch-plugin:
> >      [echo] Trying to find the description of org.apache.forrest.themes.core in
the different descriptor files
> >      [echo] Using the descriptor file /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml...
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-1.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/pluginlist2fetchbuild.xml
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginlist2fetch.xsl
> > 
> > findPlugin:
> >      [echo] Using the descriptor file /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-2.xml...
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/plugins-2.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/pluginlist2fetchbuild.xml
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginlist2fetch.xsl
> > 
> > findPlugin:
> > 
> > unpack-plugin:
> > 
> > install-plugin:
> > 
> > configure-plugin:
> >      [echo] No locationmap provided for plugin org.apache.forrest.themes.core
> > 
> > init:
> > 
> > -prepare-classpath:
> > 
> > check-contentdir:
> > 
> > examine-proj:
> > 
> > validation-props:
> > 
> > validate-xdocs:
> > [xmlvalidate] 21 file(s) have been successfully validated.
> >      [echo] ...validated xdocs
> > 
> > validate-skinconf:
> > [xmlvalidate] 1 file(s) have been successfully validated.
> >      [echo] ...validated skinconf
> > 
> > validate-sitemap:
> >      [echo] ...validated project sitemap
> > 
> > validate-skins-stylesheets:
> > 
> > validate-skins:
> > 
> > validate-skinchoice:
> >      [echo] ...validated existence of skin 'pelt'
> > 
> > validate-stylesheets:
> > 
> > validate:
> > 
> > site:
> >      [echo] 
> >   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.
> >      [echo] Copying project resources and images to site ...
> >      [copy] Warning: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/webapp/resources
not found.
> >      [copy] Copying 2 files to /var/apache2/htdocs/ft/build/forrest-sample-2
> >      [echo] Copying main skin images to site ...
> >      [copy] Copying 23 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin/images
> >      [copy] Copying 14 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin/images
> >      [echo] Copying project skin images to site ...
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/common/images
not found.
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/pelt/images
not found.
> >      [echo] Copying main skin css and js files to site ...
> >      [copy] Copying 13 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin
> >      [copy] Copying 6 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin
> >      [echo] Copying project skin css and js files to site ...
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/common not found.
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/pelt not found.
> >      [echo] 
> > Finished copying the non-generated resources.
> > Now Cocoon will generate the rest.
> > 
> > Static site will be generated at:
> > /var/apache2/htdocs/ft/build/forrest-sample-2
> > 
> > Cocoon will report the status of each document:
> >   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
> >   
> >      [java] ------------------------------------------------------------------------

> >      [java] cocoon 2.2.0-dev
> >      [java] Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
> >      [java] Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
> >      [java] ------------------------------------------------------------------------

> >      [java] 
> >      [java] 
> >      [java] X [0]                                     linkmap.html	BROKEN: dispatcherError:
500 - Internal server error
> >      [java] The contract "nav-main" has thrown thrown an exception by resolving
raw data from "cocoon://linkmap.navigation.xml".
> >      [java] 
> >      [java] dispatcherErrorStack:
> >      [java]  org.apache.excalibur.source.SourceException: Exception during processing
of cocoon://linkmap.navigation.xml
> >      [java] Total time: 0 minutes 7 seconds,  Site size: 0 Site pages: 0
> >      [java] Java Result: 1
> >      [echo] 
> >   Copying broken links file to site root.
> >       
> >      [copy] Copying 1 file to /var/apache2/htdocs/ft/build/forrest-sample-2
> >      [echo] Oops, something broke
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message