Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 37437 invoked from network); 4 Nov 2004 14:46:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 14:46:33 -0000 Received: (qmail 86623 invoked by uid 500); 4 Nov 2004 14:46:33 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 86521 invoked by uid 500); 4 Nov 2004 14:46:32 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 86510 invoked by uid 99); 4 Nov 2004 14:46:32 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_10_20,HTML_MESSAGE,NO_REAL_NAME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of peter.dykstra@donovandata.com designates 168.238.130.5 as permitted sender) Received: from [168.238.130.5] (HELO dns2.donovandata.com) (168.238.130.5) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 06:46:30 -0800 Received: from mail.donovandata.com (f5-dmz.wan.donovandata.com [168.238.130.220]) by dns2.donovandata.com (8.12.11/8.12.11) with ESMTP id iA4EkPYd012049 for ; Thu, 4 Nov 2004 09:46:25 -0500 In-Reply-To: <4189698E.8030003@brondsema.net> To: user@forrest.apache.org Cc: user@forrest.apache.org Subject: Re: two general questions MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: peter.dykstra@donovandata.com Date: Thu, 4 Nov 2004 09:46:25 -0500 X-MIMETrack: Serialize by Router on SMTP_NY01/USA/DDS(Release 6.5.1|January 21, 2004) at 11/04/2004 09:38:47 AM, Serialize complete at 11/04/2004 09:38:47 AM Content-Type: multipart/alternative; boundary="=_alternative 0051276E85256F42_=" X-Scanned-By: MIMEDefang 2.45 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 0051276E85256F42_= Content-Type: text/plain; charset="US-ASCII" Thanks Dave, notes below. Dave Brondsema wrote on 11/03/2004 06:28:14 PM: > peter.dykstra@donovandata.com wrote: > > > > 1) I just mean there's a mapped drive from the Tomcat server (a mount > > point actually) which I can specify so that so apps running under Tomcat > > can read files from the other server. > > Ok, so you just want to pull content from a different location, not a > different format. IIUC, IMSManifest is about having your sources in a > different format, not a different location. OK, thanks. IMSManifest looks interesting, but I hadn't gotten very far with it, but that puts it in context. > > > 2) yes, forrest.properties lets me change directories, but only (as far > > as I can tell) within the current Forrest project. If I put an absolute > > path to an xdocs directory on another server, Forrest appends it to the > > current context path and I get an error. > > I think it is a required part of webapps that they cannot access things > outside their context path. You can try using ../../../path/to/files > though. > If this is a restriction, it is a Forrest restriction, not a general Webapps restriction. To test this, I went into the underlying cocoon.xconf file (within the deployed webapp on Tomcat) and hard coded the xdocs directory to point to a separate server. This worked fine. The problem is that since this bypasses the Forrest variables, any other Forrest functions that depend on these to determine the xdocs location (like search and sitemap linking) are probably broken. (The ../../../ format doesn't work.) It looks like if I want to do this while waiting for 0.8 to arrive, I'll just have to attempt to trace the variable settings back within Forrest to reset the pointers and then test all the functions. In the process I may discover that there are inherent webapp restrictions, but that would surprise me. > > -- > Dave Brondsema : dave@brondsema.net > http://www.splike.com : programming > http://csx.calvin.edu : student org > http://www.brondsema.net : personal > [attachment "signature.asc" deleted by Peter Dykstra/USA/DDS] --=_alternative 0051276E85256F42_= Content-Type: text/html; charset="US-ASCII"
Thanks Dave, notes below.

Dave Brondsema <dave@brondsema.net> wrote on 11/03/2004 06:28:14 PM:

> peter.dykstra@donovandata.com wrote:
> >
> > 1) I just mean there's a mapped drive from the Tomcat server (a mount
> > point actually) which I can specify so that so apps running under Tomcat
> > can read files from the other server.
>
> Ok, so you just want to pull content from a different location, not a
> different format.  IIUC, IMSManifest is about having your sources in a
> different format, not a different location.


OK, thanks. IMSManifest looks interesting, but I hadn't gotten very far with it, but that puts it in context.

>
> > 2) yes, forrest.properties lets me change directories, but only (as far
> > as I can tell) within the current Forrest project.  If I put an absolute
> > path to an xdocs directory on another server, Forrest appends it to the
> > current context path and I get an error.
>
> I think it is a required part of webapps that they cannot access things
> outside their context path.  You can try using ../../../path/to/files
> though.
>

If this is a restriction, it is a Forrest restriction, not a general Webapps restriction. To test this, I went into the underlying cocoon.xconf file (within the deployed webapp on Tomcat) and hard coded the xdocs directory to point to a separate server. This worked fine. The problem is that since this bypasses the Forrest variables, any other Forrest functions that depend on these to determine the xdocs location (like search and sitemap linking) are probably broken. (The ../../../ format doesn't work.)  It looks like if I want to do this while waiting for 0.8 to arrive, I'll just have to attempt to trace the variable settings back within Forrest to reset the pointers and then test all the functions. In the process I may discover that there are inherent webapp restrictions, but that would surprise me.
>
> --
> Dave Brondsema : dave@brondsema.net
> http://www.splike.com : programming
> http://csx.calvin.edu : student org
> http://www.brondsema.net : personal
> [attachment "signature.asc" deleted by Peter Dykstra/USA/DDS]
--=_alternative 0051276E85256F42_=--