Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 74442 invoked from network); 21 Aug 2008 11:51:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 11:51:17 -0000 Received: (qmail 85811 invoked by uid 500); 21 Aug 2008 11:51:15 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 85755 invoked by uid 500); 21 Aug 2008 11:51:15 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 85744 invoked by uid 99); 21 Aug 2008 11:51:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 04:51:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 11:50:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A629234C1C5 for ; Thu, 21 Aug 2008 04:50:46 -0700 (PDT) Message-ID: <237702767.1219319446238.JavaMail.jira@brutus> Date: Thu, 21 Aug 2008 04:50:46 -0700 (PDT) From: "Thorsten Scherler (JIRA)" To: dev@forrest.apache.org Subject: [jira] Commented: (FOR-955) notes for experiment using Cocoon 2.1 branch in Forrest In-Reply-To: <11839291.1169698969237.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FOR-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624343#action_12624343 ] Thorsten Scherler commented on FOR-955: --------------------------------------- "env.getObjectModel()"= HashMap (id=271) DEFAULT_INITIAL_CAPACITY= 16 DEFAULT_LOAD_FACTOR= 0.75 MAXIMUM_CAPACITY= 1073741824 NULL_KEY= Object (id=301) serialVersionUID= 362498820763181265 useNewHash= false entrySet= HashMap$EntrySet (id=295) keySet= null HashMap values: [null, response=org.apache.cocoon.environment.wrapper.ResponseWrapper@fd4662, link-collection=[], request=org.apache.cocoon.environment.wrapper.RequestWrapper@6dddcf, null, null, null, null, context=org.apache.cocoon.environment.commandline.CommandLineContext@14ba9a2, null, null, source-resolver=org.apache.cocoon.environment.commandline.FileSavingEnvironment@725967, org.apache.cocoon.components.CocoonComponentManager=org.apache.cocoon.components.EnvironmentDescription@d2efa1, null, null, null] httprequest is not in this map that causes that the lock is null. The question is now why the httprequest is not in the objctModel > notes for experiment using Cocoon 2.1 branch in Forrest > ------------------------------------------------------- > > Key: FOR-955 > URL: https://issues.apache.org/jira/browse/FOR-955 > 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 at: > Re: upgrade strategies for our packaged Cocoon > http://marc.theaimsgroup.com/?l=forrest-dev&m=116969420304386 > -------------------------- > Steps: > Revert main/java/org/apache/forrest/util/XPathTransformer.java r111200 > Revert main/java/org/apache/forrest/util/IdGeneratorTransformer.java 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 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.