forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject dispatcher and linkmap.html
Date Tue, 11 Apr 2006 04:33:55 GMT
Once again I have time use forrest.  I would like to
create sites that don't look like they've been built
from forrest.

The next generation of skinning (ie., dispatcher)
looks perfect for that.

My goals are to work through a completely custom
layout, and then write up how I approached the design
and construction of that layout.

Unfortunately, I can't seem to get a dispatcher site
to work.

I've read the following thread in the mailing list:

http://marc.theaimsgroup.com/?l=forrest-dev&m=114394781324160&w=2

I actually did the following in an attempt to get the
dispatcher to work.

1) Checked out revision 390377 in a separate directory
2) Changed %FORREST_HOME% to that directory
3) cd to %FORREST_HOME\main
4) build
5) cd to
..\plugins\org.apache.forrest.plugin.output.pdf
6) %FORREST_HOME\tools\ant\bin\ant local-deploy
7) cd
%FORREST_HOME%\whiteboard\plugins\org.apache.forrest.themes.core
8) %FORREST_HOME\tools\ant\bin\ant local-deploy
9) cd ..\org.apache.forrest.plugin.internal.dispatcher
10) %FORREST_HOME\tools\ant\bin\ant local-deploy

I made a new directory, did a forrest seed, and then
added the appropriate plugins to the
project.required.plugins line.

I got the same error as in the thread:

X [0] linkmap.html BROKEN: Could not resolve
locationmap location.

I tried the same steps with revision 393034 and ran
into the same error.

I tried a forrest run (revision 393034) and received
an internal server error.

I looked at the logs, and here are some of the lines:

locationmap.log
WARN    [core.modules.mapper.lm] 
        (/index.html;jsessionid=2bah361m8prkx): 
        Locationmap did not return a location for hint

       
dispatcher.structurer.resourceType.document-v20
WARN    [core.modules.mapper.lm] 
        (/index.html;jsessionid=2bah361m8prkx):
        Error reading from source 
'lm://dispatcher.structurer.resourceType.document-v20':
        Could not resolve locationmap location.
WARN    [core.modules.mapper.lm] 
        (/index.html;jsessionid=2bah361m8prkx): 
        Locationmap did not return a location for hint

        resolve.structurer.index

error.log
org.apache.cocoon.ProcessingException: Failed to 
        process pipeline
	at <map:serialize type="xhtml"> - 
file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:159:39
	at <map:transform> - 
file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:158:13
	at <map:transform type="dispatcher"> - 
file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:150:42
	at <map:generate type="jx"> -
file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:145:70
	at <map:mount> -
file:/C:/src/sites-src/dispatcher/build/tmp/internal.xmap:33:150
	at <map:mount> -
file:/C:/src/forrest-cur/main/webapp/sitemap.xmap:388:117

I probably don't understand the cocoon xmaps in enough
detail to help decipher the problem.  I'll continue to
study it however.

Thoughts on the problem?

I am running this on Windows/2000 Professional and jdk
1.5.0_04

Thanks,
Mark



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message