forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <>
Subject [jira] Commented: (FOR-955) notes for experiment using Cocoon 2.1 branch in Forrest
Date Thu, 21 Aug 2008 11:22:44 GMT


Thorsten Scherler commented on FOR-955:

forrest site is failing:
* [1/0]     [0/0]     1.203s 0b      linkmap.html
org.apache.cocoon.sitemap.PatternException: Cannot get variable
'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'

in forrest run that is no problem.

When debugging the problem it results that in line 161 
parser.parse(new InputSource(source.getInputStream()),handler);
the source.getInputStream() is throwing the exception.

source	SitemapSource  (id=89)	
	environment	MutableEnvironmentFacade  (id=127)	
	exception	null	
	m_logger	LogKitLogger  (id=132)	
	manager	CocoonComponentManager  (id=35)	
	mimeType	null	
	needsRefresh	true	
	pipelineProcessor	ConcreteTreeProcessor  (id=67)	
	processingPipeline	CachingProcessingPipeline  (id=134)	
	processKey	EnvironmentDescription  (id=136)	
	processor	TreeProcessor  (id=68)	
	protocol	"cocoon" (id=138)	
	redirectSource	null	
	sourceResolver	null	
	systemId	"cocoon://locationmap.xml" (id=139)	
	systemIdForCaching	"cocoon://locationmap.xml?pipelinehash=8131474959764425468" (id=140)	
	validity	SitemapSource$SitemapSourceValidity  (id=141)	

> notes for experiment using Cocoon 2.1 branch in Forrest
> -------------------------------------------------------
>                 Key: FOR-955
>                 URL:
>             Project: Forrest
>          Issue Type: Task
>          Components: Core operations
>            Reporter: David Crossley
>         Attachments: 955.diff
> These are the steps to get Forrest running with Cocoon-2.1 rather than the current situation
which uses an old Cocoon trunk. Not everything yet works, but enough to give hope. See discussion
>  Re: upgrade strategies for our packaged Cocoon
> --------------------------
> Steps:
> Revert main/java/org/apache/forrest/util/ r111200
> Revert main/java/org/apache/forrest/util/ r111200
> Edit main/webapp/WEB-INF/cocoon.xconf
> to change version attribute to ... cocoon version="2.1"
> Move content of WEB-INF/xconf/forrest-core.xconf into WEB-INF/cocoon.xconf
> Remove the <components> wrapper.
> Build cocoon-branch-2_1_X for the blocks that we use (see our etc/cocoon_upgrade) and
replace the jars in lib/core
> --------------------------
> Some results:
> localhost:8888/samples/sample.html ... missing decoration
> localhost:8888/samples/sample.xml ... seems okay
> localhost:8888/samples/sample.pdf ... seems okay
> localhost:8888/index.html ... The requested resource "/index.html" could not be found
> localhost:8888/index.xml ... seems okay
> localhost:8888/index.pdf ... complains about linkmap-index.xml
> localhost:8888/linkmap.html ... The requested resource "/linkmap.html" could not be found

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message