You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by pa...@gmail.com on 2008/11/17 18:06:08 UTC

Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'

Hi,

I've setup forrest 0.8 and run the 'seed' and 'site' commands, but i keep  
getting this
error. I'm not sure which locationmap.xml file i should be editing. Can  
anybody suggest
a workaround?

Regards,

------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
------------------------------------------------------------------------
* [1/0] [0/0] 0.375s 0b linkmap.html
org.apache.cocoon.sitemap.PatternException: Cannot get  
variable 'plugin.xmap.out
put' in expression '{lm:plugin.xmap.output}'
at org.apache.cocoon.components.treeprocessor.variables.PreparedVariable
Resolver.processModule(PreparedVariableResolver.java:250)
at org.apache.cocoon.components.treeprocessor.variables.PreparedVariable
Resolver.resolve(PreparedVariableResolver.java:197)
at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(
SelectNode.java:77)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:77)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:155)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:77)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:95)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:292)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:223)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree
Processor.java:289)
at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:426)
at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:496)
at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:357)
at org.apache.cocoon.Main.main(Main.java:311)
Caused by:  
org.apache.avalon.framework.configuration.ConfigurationException: Una
ble to build LocationMap.
at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(Lo
cationMapModule.java:148)
at org.apache.forrest.locationmap.LocationMapModule.getLocationMap(Locat
ionMapModule.java:105)
at org.apache.forrest.locationmap.LocationMapModule.getAttribute(Locatio
nMapModule.java:203)
at org.apache.cocoon.components.treeprocessor.variables.PreparedVariable
Resolver.processModule(PreparedVariableResolver.java:246)
... 14 more
Caused by: org.apache.excalibur.source.SourceException: Cannot get input  
stream
for cocoon://locationmap.xml
at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream
(SitemapSource.java:184)
at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(Lo
cationMapModule.java:144)
... 17 more
Caused by: org.apache.cocoon.ResourceNotFoundException: Resource not found.
at <map:mount> - file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/.
/sitemap.xmap:402:72
at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSo
urce.java:313)
X [0] linkmap.html BROKEN: URI not found: C
annot get variable 'plugin.xmap.output' in  
expression '{lm:plugin.xmap.output}'
at org.apache.cocoon.components.source.impl.SitemapSource.<init>(Sitemap
Source.java:146)
at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSour
ce(SitemapSourceFactory.java:65)
at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(C
ocoonSourceResolver.java:159)
at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(C
ocoonSourceResolver.java:189)
at org.apache.forrest.locationmap.LocationMapModule.getLocationMap(Locat
ionMapModule.java:95)
... 16 more
Total time: 0 minutes 4 seconds, Site size: 0 Site pages: 1
Java Result: 1

Copying broken links file to site root.

Copying 1 file to C:\projects\Libs\apache-forrest-0.8\bin\build\site\en

BUILD FAILED
C:\projects\Libs\apache-forrest-0.8\main\targets\site.xml:180: Error  
building si
te.

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 C:\projects\Libs\apache-forrest-0.8\bin\build\site\en/broken-links.xml

Re: Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'

Posted by Ross Gardler <rg...@apache.org>.
On 17 Nov 2008, at 17:06, paul.t.oconnell@gmail.com wrote:

> Hi,
>
> I've setup forrest 0.8 and run the 'seed' and 'site' commands, but i  
> keep getting this
> error. I'm not sure which locationmap.xml file i should be editing.  
> Can anybody suggest
> a workaround?


Are you sure you are using 0.8? That version has been on release for a  
long time and this problem (to my recollection) has not been reported  
by any other users. However, SVN head currently displays this problem  
on Windows.

Ross