From osmith@example.org Mon Feb 08 20:45:14 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 24755 invoked from network); 8 Feb 2010 20:45:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Feb 2010 20:45:14 -0000 Received: (qmail 87269 invoked by uid 500); 8 Feb 2010 20:45:14 -0000 Delivered-To: osmith@example.org Received: (qmail 87187 invoked by uid 500); 8 Feb 2010 20:45:13 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 87179 invoked by uid 99); 8 Feb 2010 20:45:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 20:45:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f214.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 20:45:05 +0000 Received: by ewy6 with SMTP id 6so359535ewy.17 for <osmith@example.org>; Mon, 08 Feb 2010 12:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=j2kve9kJDnGBj6GzBw1+eMNyZs8SsXsMavRQWkYHPvU=; b=OJtlBui5qicbtVtVBshvgnt7+uAkmxleZPmTCX4r9Dr+zi8+1K4DS6wmjuTRZVjTEe e5rRzdpnR1+rlOncwIvcYJ1dZciOJGpdY0nVjchIDpqsnQm+MXyzkVNq9xgxNnS5EzHN CAt8G7dsgg3/GVRlzxSD8gIv1ToDehBdqqbdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=EA/dJ8aYQO6cTA9TIFzW/n49mxltR1aMsJLi57JIDWs/FrQy214AT+YgWQwuZM94zA EfiEMjmRCg9Nl95jeDQbVfxi3F01MPtaiCs/7JwR/At+O4Fcl1TdQxETNuBGabtec4IO f/pmDuSsRDCiRRfWab0xaKAf7pedYQ4Bmu4to= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id t53mr1842384wel.56.1265661885150; Mon, 08 Feb 2010 12:44:45 -0800 (PST) Reply-To: osmith@example.org Date: Mon, 8 Feb 2010 22:44:45 +0200 Message-ID: <osmith@example.org> Subject: Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 83.161.120.155 on Ubuntu 9.10) From: Petteri Sulonen <osmith@example.org> To: osmith@example.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Lenya newbie here. Trying to build Lenya, but failing: ... custombuild-module-org.apache.lenya.modules.kupu: Invoking custom build process for module 'org.apache.lenya.modules.kupu' BUILD FAILED /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174: The following error occurred while executing this line: /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74: The following error occurred while executing this line: /home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125: The following error occurred while executing this line: /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21: java.io.IOException: Cannot run program "patch" (in directory "/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"): java.io.IOException: error=2, No such file or directory I checked kupu/build.xml, and it references a patch file that also appears to exist. I verified the MD5 checksum for the archive. Environment as in title. Using the default build properties. Help? Thanks a bundle in advance, /Petteri --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Mon Feb 08 21:36:47 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 49260 invoked from network); 8 Feb 2010 21:36:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Feb 2010 21:36:47 -0000 Received: (qmail 55366 invoked by uid 500); 8 Feb 2010 21:36:47 -0000 Delivered-To: osmith@example.org Received: (qmail 55296 invoked by uid 500); 8 Feb 2010 21:36:47 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 55288 invoked by uid 99); 8 Feb 2010 21:36:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 21:36:47 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp1.NoDak.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2010 21:36:38 +0000 Received: from [83.161.120.155] (wings.cc.ndsu.NoDak.edu [83.161.120.155]) (authenticated bits=0) by smtp1.NoDak.edu (8.13.1/8.13.1) with ESMTP id o18LaF9h015765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <osmith@example.org>; Mon, 8 Feb 2010 15:36:16 -0600 Message-ID: <osmith@example.org> Date: Mon, 08 Feb 2010 15:36:15 -0600 From: Richard Frovarp <osmith@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: osmith@example.org Subject: Re: Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 83.161.120.155 on Ubuntu 9.10) References: <osmith@example.org> In-Reply-To: <osmith@example.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Petteri Sulonen wrote: > Lenya newbie here. Trying to build Lenya, but failing: > > ... > custombuild-module-org.apache.lenya.modules.kupu: > Invoking custom build process for module 'org.apache.lenya.modules.kupu' > > BUILD FAILED > /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174: > The following error occurred while executing this line: > /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74: > The following error occurred while executing this line: > /home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125: > The following error occurred while executing this line: > /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21: > java.io.IOException: Cannot run program "patch" (in directory > "/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"): > java.io.IOException: error=2, No such file or directory > > I checked kupu/build.xml, and it references a patch file that also > appears to exist. I verified the MD5 checksum for the archive. > Environment as in title. Using the default build properties. > > Help? > > Thanks a bundle in advance, > > /Petteri > You don't have the patch command installed. I don't remember which package that is in. From the command line just try running patch. You'll most likely get an error back and be given the command / package required to install it. Richard --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Thu Feb 11 08:02:31 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 50403 invoked from network); 11 Feb 2010 08:02:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Feb 2010 08:02:31 -0000 Received: (qmail 21036 invoked by uid 500); 11 Feb 2010 08:02:31 -0000 Delivered-To: osmith@example.org Received: (qmail 20944 invoked by uid 500); 11 Feb 2010 08:02:30 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 20935 invoked by uid 99); 11 Feb 2010 08:02:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 08:02:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f214.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 08:02:22 +0000 Received: by ewy6 with SMTP id 6so476888ewy.17 for <osmith@example.org>; Thu, 11 Feb 2010 00:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=RgPxahKYRxpQ2IvySBzJvReDUwDpvFyLCgLNdX4WbPU=; b=FjyRo1Wc8n7i8riO9nr4hBw7rWMgjc6UTFv6jevtHfOEq+eBxwp87r4YwpokZIKsXn /ZwGkmp6swS2iFTc7VYOdAHrEoRa3QEafEOb5cTnpBremo1FG7b89KmnBy6Ux0rUeNm0 yQBUXBYJneBJwnYJNeTvZnF68lmtnz8TF3LiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=QKaFPB4jvly1tUiR1TgNAPBAMaUpvxSr+a71NA95GkIoXYS35kraKd58hodDsoHBGb MqQCD55qcQFbOYBhXuZHYG7+vhRD+QX+ot1YdiY62G5S3VbhYWmTQ8u/msnewF7caedb htCMdAOh+lQ35TrEkWYPdH9FsPPLYEYXNrM4s= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e51mr823683wef.59.1265875321202; Thu, 11 Feb 2010 00:02:01 -0800 (PST) Reply-To: osmith@example.org In-Reply-To: <osmith@example.org> References: <osmith@example.org> <osmith@example.org> Date: Thu, 11 Feb 2010 10:02:01 +0200 Message-ID: <osmith@example.org> Subject: Re: Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 83.161.120.155 on Ubuntu 9.10) From: Petteri Sulonen <osmith@example.org> To: osmith@example.org Content-Type: text/plain; charset=UTF-8 Thanks a bundle, that helped -- I'm well on my way to building the site. I'm struggling with something else now, though: the news module. As in, I'm attempting to include a newsfeed (in the "include" format) on a page, more or less the same way as it's done on the homepage module, only it's a different newsfeed and it's specific to that particular page. Ideally, I'd like the webmasters to be able to simply include a newsfeed on any page they create via the GUI, e.g. by adding a special <div> in it; e.g. <div id="_NEWS/news/introCourses"/>, which would then get transformed into <ci:include "cocoon:/{area}/news/introCourses.include"/>, and included on the page at the stated location. The closest I've gotten is to cinclude cocoon:/authoring/news/introCourses.include, but that fails with "Streaming of an internal pipeline is not possible with a reader." I'm obviously doing something horribly wrong, and would appreciate any help I can get. What's the recommended way to do this, anyway? Best, Petteri On Mon, Feb 8, 2010 at 11:36 PM, Richard Frovarp <osmith@example.org> wrote: > Petteri Sulonen wrote: >> >> Lenya newbie here. Trying to build Lenya, but failing: >> >> ... >> custombuild-module-org.apache.lenya.modules.kupu: >> Invoking custom build process for module 'org.apache.lenya.modules.kupu' >> >> BUILD FAILED >> >> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174: >> The following error occurred while executing this line: >> >> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74: >> The following error occurred while executing this line: >> >> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125: >> The following error occurred while executing this line: >> >> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21: >> java.io.IOException: Cannot run program "patch" (in directory >> "/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"): >> java.io.IOException: error=2, No such file or directory >> >> I checked kupu/build.xml, and it references a patch file that also >> appears to exist. I verified the MD5 checksum for the archive. >> Environment as in title. Using the default build properties. >> >> Help? >> >> Thanks a bundle in advance, >> >> /Petteri >> > > You don't have the patch command installed. I don't remember which package > that is in. From the command line just try running patch. You'll most likely > get an error back and be given the command / package required to install it. > > Richard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: osmith@example.org > For additional commands, e-mail: osmith@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 09:36:56 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 79934 invoked from network); 17 Feb 2010 09:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 09:36:55 -0000 Received: (qmail 43213 invoked by uid 500); 17 Feb 2010 09:36:55 -0000 Delivered-To: osmith@example.org Received: (qmail 42871 invoked by uid 500); 17 Feb 2010 09:36:54 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 42855 invoked by uid 99); 17 Feb 2010 09:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:36:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO solo.techblue.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:36:42 +0000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by solo.techblue.co.uk with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NhgKE-0001Qa-5Z; Wed, 17 Feb 2010 09:36:22 +0000 Message-ID: <osmith@example.org> Date: Wed, 17 Feb 2010 15:06:02 +0530 From: Anish Sneh <osmith@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: osmith@example.org, osmith@example.org Subject: Server side functionality - based upon the URL (Domain/Virtual Host) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Spam-Report: solo.techblue.co.uk has scanned this email for spam. Results:- AWL=-1.470, BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905, RDNS_NONE=0.1 (total 0.1, current threshold 4.0) X-Virus-Checked: Checked by ClamAV on apache.org Hi All I need to apply a server side functionality which will be based upon the URL (Domain/Virtual Host) for which the request is coming. e.g. if the request is coming for www.abc.com server should treat it differently, else if it is coming for www.xyz.com or www.abc.ca it should be treated differently. I wanted to achieve this using XSLT (if possible), please suggest how can I achieve this. TIA -- Anish Sneh Software Engineer Techblue Softwares Pvt. Ltd. www.technologyblueprint.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 10:19:50 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 3849 invoked from network); 17 Feb 2010 10:19:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 10:19:50 -0000 Received: (qmail 98329 invoked by uid 500); 17 Feb 2010 10:19:50 -0000 Delivered-To: osmith@example.org Received: (qmail 98270 invoked by uid 500); 17 Feb 2010 10:19:49 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 98262 invoked by uid 99); 17 Feb 2010 10:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:19:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:19:41 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1Nhh05-0005q4-5p for osmith@example.org; Wed, 17 Feb 2010 02:19:21 -0800 Message-ID: <osmith@example.org> Date: Wed, 17 Feb 2010 02:19:21 -0800 (PST) From: Martin Dominguez <osmith@example.org> To: osmith@example.org Subject: ERROR sitemap - An exception occured while handling errors MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: osmith@example.org Hi all, This is the first time I write here. I have a few years working with Lenya 1.2 and now I'm starting to work with Lenya 2 and I had certain doubts. I hope you can help me. I have a problem with error handling pipeline. It happens when I run an abstract usecase developed by me. The usecase is executed well, but in Cocoon's log appears this error: 2010-02-17 10:41:30,545 [SocketListener0-5] ERROR sitemap.handled-errors - Error during resolving of the input stream at <map:read> - file:///var/www/lenya2/build/lenya/webapp/lenya/lenya.xmap:93:74 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/global-sitemap.xmap:118:128 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:680:106 2010-02-17 10:41:30,785 [SocketListener0-5] ERROR sitemap - An exception occured while handling errors at <map:handle-errors> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:688:24 org.apache.cocoon.ProcessingException: Failed to process pipeline Do not put the entire trace because I think that is a common mistake, although I have not found information about it. Thanks in advance. -- View this message in context: http://old.nabble.com/ERROR-sitemap---An-exception-occured-while-handling-errors-tp27621643p27621643.html Sent from the Lenya - Users mailing list osmith@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 12:03:37 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 42409 invoked from network); 17 Feb 2010 12:03:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 12:03:37 -0000 Received: (qmail 49391 invoked by uid 500); 17 Feb 2010 12:03:37 -0000 Delivered-To: osmith@example.org Received: (qmail 49313 invoked by uid 500); 17 Feb 2010 12:03:36 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 49304 invoked by uid 99); 17 Feb 2010 12:03:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 12:03:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 12:03:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <osmith@example.org>) id 1NhicP-0003HH-09 for osmith@example.org; Wed, 17 Feb 2010 13:03:01 +0100 Received: from cust.static.84-253-63-109.cybernet.ch ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <osmith@example.org>; Wed, 17 Feb 2010 13:03:00 +0100 Received: from andreas by cust.static.84-253-63-109.cybernet.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <osmith@example.org>; Wed, 17 Feb 2010 13:03:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: osmith@example.org From: Andreas Hartmann <osmith@example.org> Subject: Re: Server side functionality - based upon the URL (Domain/Virtual Host) Date: Wed, 17 Feb 2010 13:02:34 +0100 Lines: 28 Message-ID: <osmith@example.org> References: <osmith@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: osmith@example.org X-Gmane-NNTP-Posting-Host: cust.static.84-253-63-109.cybernet.ch User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <osmith@example.org> Sender: news <osmith@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Anish, Am 17.02.10 10:36, schrieb Anish Sneh: > I need to apply a server side functionality which will be based upon the > URL (Domain/Virtual Host) for which the request is coming. e.g. if the > request is coming for www.abc.com server should treat it differently, > else if it is coming for www.xyz.com or www.abc.ca it should be treated > differently. > > I wanted to achieve this using XSLT (if possible), please suggest how > can I achieve this. maybe this helps: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RequestModule.html If you're using a proxy, this might be more complicated since you probably have to evaluate the x-forwarded-for header (it contains the remote IP address, though, not the domain name). -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: 913.285.0001 --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 12:05:36 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 45450 invoked from network); 17 Feb 2010 12:05:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 12:05:35 -0000 Received: (qmail 50739 invoked by uid 500); 17 Feb 2010 12:05:35 -0000 Delivered-To: osmith@example.org Received: (qmail 50668 invoked by uid 500); 17 Feb 2010 12:05:35 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 50660 invoked by uid 99); 17 Feb 2010 12:05:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 12:05:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 12:05:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <osmith@example.org>) id 1NhieO-0004xz-Jt for osmith@example.org; Wed, 17 Feb 2010 13:05:04 +0100 Received: from cust.static.84-253-63-109.cybernet.ch ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <osmith@example.org>; Wed, 17 Feb 2010 13:05:04 +0100 Received: from andreas by cust.static.84-253-63-109.cybernet.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <osmith@example.org>; Wed, 17 Feb 2010 13:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: osmith@example.org From: Andreas Hartmann <osmith@example.org> Subject: Re: ERROR sitemap - An exception occured while handling errors Date: Wed, 17 Feb 2010 13:04:13 +0100 Lines: 39 Message-ID: <osmith@example.org> References: <osmith@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: osmith@example.org X-Gmane-NNTP-Posting-Host: cust.static.84-253-63-109.cybernet.ch User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <osmith@example.org> Sender: news <osmith@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Martin, Am 17.02.10 11:19, schrieb Martin Dominguez: > This is the first time I write here. I have a few years working with Lenya > 1.2 and now I'm starting to work with Lenya 2 and I had certain doubts. I > hope you can help me. > > I have a problem with error handling pipeline. It happens when I run an > abstract usecase developed by me. The usecase is executed well, but in > Cocoon's log appears this error: > > 2010-02-17 10:41:30,545 [SocketListener0-5] ERROR sitemap.handled-errors - > Error during resolving of the input stream > at<map:read> - > file:///var/www/lenya2/build/lenya/webapp/lenya/lenya.xmap:93:74 > at<map:mount> - > file:///var/www/lenya2/build/lenya/webapp/global-sitemap.xmap:118:128 > at<map:mount> - > file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:680:106 > 2010-02-17 10:41:30,785 [SocketListener0-5] ERROR sitemap - An exception > occured while handling errors at<map:handle-errors> - > file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:688:24 > org.apache.cocoon.ProcessingException: Failed to process pipeline > > Do not put the entire trace because I think that is a common mistake, > although I have not found information about it. it's hard to derive any information from this brief stack. Maybe the complete stack trace would really help. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: 913.285.0001 --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 15:07:11 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 38751 invoked from network); 17 Feb 2010 15:07:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 15:07:11 -0000 Received: (qmail 39799 invoked by uid 500); 17 Feb 2010 15:07:10 -0000 Delivered-To: osmith@example.org Received: (qmail 39737 invoked by uid 500); 17 Feb 2010 15:07:10 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 39729 invoked by uid 99); 17 Feb 2010 15:07:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 15:07:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 15:07:01 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NhlU8-0005iU-O3 for osmith@example.org; Wed, 17 Feb 2010 07:06:40 -0800 Message-ID: <osmith@example.org> Date: Wed, 17 Feb 2010 07:06:40 -0800 (PST) From: Martin Dominguez <osmith@example.org> To: osmith@example.org Subject: Re: ERROR sitemap - An exception occured while handling errors In-Reply-To: <osmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: osmith@example.org References: <osmith@example.org> <osmith@example.org> Hi Andreas, thanks for your answer. This is the full stack trace of the error: ***************************************************************** 2010-02-17 16:02:37,855 [SocketListener0-5] ERROR sitemap.handled-errors - Failed to process pipeline at <map:serialize type="xml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:162:36 at <map:serialize type="xml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:241:36 at <map:transform type="uuid2url"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:240:41 at <map:transform type="metaData"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:236:40 at <map:transform type="i18n"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:218:36 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:204:57 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:203:79 at <map:generate> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:202:130 at <map:serialize type="xhtml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:418:56 at <map:transform type="proxy"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:417:38 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:416:79 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:413:132 at <map:generate> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:408:164 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/global-sitemap.xmap:343:116 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:680:106 org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:162:36 at <map:serialize type="xml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:241:36 at <map:transform type="uuid2url"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:240:41 at <map:transform type="metaData"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:236:40 at <map:transform type="i18n"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:218:36 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:204:57 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:203:79 at <map:generate> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:202:130 at <map:serialize type="xhtml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:418:56 at <map:transform type="proxy"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:417:38 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:416:79 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:413:132 at <map:generate> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/mypub/sitemap.xmap:408:164 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/global-sitemap.xmap:343:116 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:680:osmith@example.org(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:585) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:103) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:139) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: java.net.SocketException: Broken osmith@example.org(ToStream.java:268) at org.apache.xml.serializer.ToXMLStream.endDocument(ToXMLStream.java:199) at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:963) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:381) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.components.EnvironmentChanger.endDocument(EnvironmentStack.java:119) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:381) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:381) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.components.EnvironmentChanger.endDocument(EnvironmentStack.java:119) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:133) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) ... 66 more Caused by: java.net.SocketException: Broken osmith@example.org(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.mortbay.http.ChunkingOutputStream.bypassWrite(ChunkingOutputStream.java:150) at org.mortbay.http.BufferedOutputStream.write(BufferedOutputStream.java:139) at org.mortbay.http.HttpOutputStream.write(HttpOutputStream.java:423) at org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:54) at org.apache.cocoon.util.BufferedOutputStream.flush(BufferedOutputStream.java:169) at org.apache.xml.serializer.WriterToUTF8Buffered.flush(WriterToUTF8Buffered.java:467) at org.apache.xml.serializer.ToStream.flushWriter(ToStream.java:249) ... 104 more 2010-02-17 16:02:37,909 [SocketListener0-5] ERROR sitemap - An exception occured while handling errors at <map:handle-errors> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:688:24 org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xhtml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:33:57 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:32:79 at <map:transform type="proxy"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:31:38 at <map:transform type="i18n"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:28:36 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:25:74 at <map:generate type="notifying"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:24:41 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:689:osmith@example.org(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:585) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:90) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:182) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:135) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler(ErrorHandlerHelper.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:100) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: java.net.SocketException: Broken osmith@example.org(ToStream.java:268) at org.apache.xml.serializer.ToXMLStream.endDocument(ToXMLStream.java:199) at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:963) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:381) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.components.notification.Notifier.notify(Notifier.java:158) at org.apache.cocoon.sitemap.NotifyingGenerator.generate(NotifyingGenerator.java:65) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) ... 39 more Caused by: java.net.SocketException: Broken osmith@example.org(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.mortbay.http.ChunkingOutputStream.bypassWrite(ChunkingOutputStream.java:150) at org.mortbay.http.BufferedOutputStream.write(BufferedOutputStream.java:139) at org.mortbay.http.HttpOutputStream.write(HttpOutputStream.java:423) at org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:54) at org.apache.cocoon.util.BufferedOutputStream.flush(BufferedOutputStream.java:169) at org.apache.xml.serializer.WriterToUTF8Buffered.flush(WriterToUTF8Buffered.java:467) at org.apache.xml.serializer.ToStream.flushWriter(ToStream.java:249) ... 60 more 2010-02-17 16:02:37,911 [SocketListener0-5] ERROR access - Internal Cocoon Problem org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xhtml"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:33:57 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:32:79 at <map:transform type="proxy"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:31:38 at <map:transform type="i18n"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:28:36 at <map:transform> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:25:74 at <map:generate type="notifying"> - file:///var/www/lenya2/build/lenya/webapp/lenya/pubs/default/error.xmap:24:41 at <map:mount> - file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:689:osmith@example.org(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:585) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:90) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:182) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:135) at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler(ErrorHandlerHelper.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:100) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: java.net.SocketException: Broken osmith@example.org(ToStream.java:268) at org.apache.xml.serializer.ToXMLStream.endDocument(ToXMLStream.java:199) at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:963) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:381) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3447) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:408) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.apache.cocoon.components.notification.Notifier.notify(Notifier.java:158) at org.apache.cocoon.sitemap.NotifyingGenerator.generate(NotifyingGenerator.java:65) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) ... 39 more Caused by: java.net.SocketException: Broken osmith@example.org(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.mortbay.http.ChunkingOutputStream.bypassWrite(ChunkingOutputStream.java:150) at org.mortbay.http.BufferedOutputStream.write(BufferedOutputStream.java:139) at org.mortbay.http.HttpOutputStream.write(HttpOutputStream.java:423) at org.mortbay.jetty.servlet.ServletOut.write(ServletOut.java:54) at org.apache.cocoon.util.BufferedOutputStream.flush(BufferedOutputStream.java:169) at org.apache.xml.serializer.WriterToUTF8Buffered.flush(WriterToUTF8Buffered.java:467) at org.apache.xml.serializer.ToStream.flushWriter(ToStream.java:249) ... 60 more ********************************************************************** As you can see, publication name is "mypub" and $LENYA_HOME is "/var/www/lenya2" Thanks. Martin.- Andreas Hartmann wrote: > > Hi Martin, > > Am 17.02.10 11:19, schrieb Martin Dominguez: >> This is the first time I write here. I have a few years working with >> Lenya >> 1.2 and now I'm starting to work with Lenya 2 and I had certain doubts. I >> hope you can help me. >> >> I have a problem with error handling pipeline. It happens when I run an >> abstract usecase developed by me. The usecase is executed well, but in >> Cocoon's log appears this error: >> >> 2010-02-17 10:41:30,545 [SocketListener0-5] ERROR sitemap.handled-errors >> - >> Error during resolving of the input stream >> at<map:read> - >> file:///var/www/lenya2/build/lenya/webapp/lenya/lenya.xmap:93:74 >> at<map:mount> - >> file:///var/www/lenya2/build/lenya/webapp/global-sitemap.xmap:118:128 >> at<map:mount> - >> file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:680:106 >> 2010-02-17 10:41:30,785 [SocketListener0-5] ERROR sitemap - An exception >> occured while handling errors at<map:handle-errors> - >> file:///var/www/lenya2/build/lenya/webapp/sitemap.xmap:688:24 >> org.apache.cocoon.ProcessingException: Failed to process pipeline >> >> Do not put the entire trace because I think that is a common mistake, >> although I have not found information about it. > > it's hard to derive any information from this brief stack. Maybe the > complete stack trace would really help. > > -- Andreas > > > > -- > Andreas Hartmann, CTO > BeCompany GmbH > http://www.becompany.ch > Tel.: 913.285.0001 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: osmith@example.org > For additional commands, e-mail: osmith@example.org > > > -- View this message in context: http://old.nabble.com/ERROR-sitemap---An-exception-occured-while-handling-errors-tp27621643p27625096.html Sent from the Lenya - Users mailing list osmith@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Wed Feb 17 15:42:24 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 55391 invoked from network); 17 Feb 2010 15:42:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Feb 2010 15:42:24 -0000 Received: (qmail 9011 invoked by uid 500); 17 Feb 2010 15:42:24 -0000 Delivered-To: osmith@example.org Received: (qmail 8929 invoked by uid 500); 17 Feb 2010 15:42:24 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 8920 invoked by uid 99); 17 Feb 2010 15:42:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 15:42:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO solo.techblue.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 15:42:12 +0000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by solo.techblue.co.uk with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1Nhm23-0008PS-PN for osmith@example.org; Wed, 17 Feb 2010 15:41:52 +0000 Message-ID: <osmith@example.org> Date: Wed, 17 Feb 2010 21:11:41 +0530 From: Anish Sneh <osmith@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: osmith@example.org Subject: Re: Server side functionality - based upon the URL (Domain/Virtual Host) References: <osmith@example.org> <osmith@example.org> In-Reply-To: <osmith@example.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Spam-Report: solo.techblue.co.uk has scanned this email for spam. Results:- AWL=-1.639, BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905, RDNS_NONE=0.1 (total -0.0, current threshold 4.0) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Andreas Input module (RequestModule) worked :) Andreas Hartmann wrote: > Hi Anish, > > Am 17.02.10 10:36, schrieb Anish Sneh: >> I need to apply a server side functionality which will be based upon the >> URL (Domain/Virtual Host) for which the request is coming. e.g. if the >> request is coming for www.abc.com server should treat it differently, >> else if it is coming for www.xyz.com or www.abc.ca it should be treated >> differently. >> >> I wanted to achieve this using XSLT (if possible), please suggest how >> can I achieve this. > > maybe this helps: > > http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RequestModule.html > > > If you're using a proxy, this might be more complicated since you > probably have to evaluate the x-forwarded-for header (it contains the > remote IP address, though, not the domain name). > > -- Andreas > > -- Anish Sneh Software Engineer Techblue Softwares Pvt. Ltd. www.technologyblueprint.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Thu Feb 18 22:18:46 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 65930 invoked from network); 18 Feb 2010 22:18:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 18 Feb 2010 22:18:46 -0000 Received: (qmail 72848 invoked by uid 500); 18 Feb 2010 22:18:46 -0000 Delivered-To: osmith@example.org Received: (qmail 72752 invoked by uid 500); 18 Feb 2010 22:18:45 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 72743 invoked by uid 99); 18 Feb 2010 22:18:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 22:18:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 22:18:35 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NiEhK-0001i3-KB for osmith@example.org; Thu, 18 Feb 2010 14:18:14 -0800 Message-ID: <osmith@example.org> Date: Thu, 18 Feb 2010 14:18:14 -0800 (PST) From: Martin Dominguez <osmith@example.org> To: osmith@example.org Subject: Problem with authentication. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: osmith@example.org X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a new question about Lenya 2. The case is as follows: I have a development server and a production server exactly alike. I develop my publication and modules in the development server, then I copy them to the production server and compile again lenya. But (and this is my problemn) in authoring area, each time I click anywhere, Lenya asks me to enter password and user again. Any hints about the problem? Can be a problem with the session? Can be a problem with permissions? Thank you very much in advance. Martin .- -- View this message in context: http://old.nabble.com/Problem-with-authentication.-tp27646651p27646651.html Sent from the Lenya - Users mailing list osmith@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Fri Feb 19 08:16:47 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 78676 invoked from network); 19 Feb 2010 08:16:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Feb 2010 08:16:47 -0000 Received: (qmail 25140 invoked by uid 500); 19 Feb 2010 08:16:47 -0000 Delivered-To: osmith@example.org Received: (qmail 25050 invoked by uid 500); 19 Feb 2010 08:16:46 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 25032 invoked by uid 99); 19 Feb 2010 08:16:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 08:16:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO solo.techblue.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 08:16:36 +0000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by solo.techblue.co.uk with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NiO1t-0001xu-Vw for osmith@example.org; Fri, 19 Feb 2010 08:16:14 +0000 Message-ID: <osmith@example.org> Date: Fri, 19 Feb 2010 13:46:03 +0530 From: Anish Sneh <osmith@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: osmith@example.org Subject: Re: Problem with authentication. References: <osmith@example.org> In-Reply-To: <osmith@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Spam-Report: solo.techblue.co.uk has scanned this email for spam. Results:- AWL=-1.690, BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905, RDNS_NONE=0.1 (total -0.1, current threshold 4.0) > > But (and this is my problemn) in authoring area, each time I click anywhere, > Lenya asks me to enter password and user again. Hi Martin Have you checked the cookies, there could be a problem with the cookies. Do you get some error message on the login page after login fails? Martin Dominguez wrote: > Hi all, > I have a new question about Lenya 2. > > The case is as follows: > I have a development server and a production server exactly alike. I develop > my publication and modules in the development server, then I copy them to > the production server and compile again lenya. > But (and this is my problemn) in authoring area, each time I click anywhere, > Lenya asks me to enter password and user again. > Any hints about the problem? Can be a problem with the session? Can be a > problem with permissions? > > Thank you very much in advance. > > Martin .- > -- Anish Sneh Software Engineer Techblue Softwares Pvt. Ltd. www.technologyblueprint.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Fri Feb 19 14:31:27 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 26637 invoked from network); 19 Feb 2010 14:31:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Feb 2010 14:31:27 -0000 Received: (qmail 63575 invoked by uid 500); 19 Feb 2010 14:31:26 -0000 Delivered-To: osmith@example.org Received: (qmail 63495 invoked by uid 500); 19 Feb 2010 14:31:26 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 63487 invoked by uid 99); 19 Feb 2010 14:31:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:31:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO serveur.maven-5.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:31:15 +0000 Received: from localhost ([83.161.120.155] helo=4sengines.com) by serveur.maven-5.com with esmtpa (Exim 4.69) (envelope-from <osmith@example.org>) id 1NiTsc-0000Ji-GG for osmith@example.org; Fri, 19 Feb 2010 15:30:54 +0100 MIME-Version: 1.0 Date: Fri, 19 Feb 2010 15:30:54 +0100 From: =?UTF-8?Q?Florent_Andr=C3=A9?= <osmith@example.org> To: User <osmith@example.org> Subject: Fwd: [iks-community] IKS Grant for 40 CMS Willing to Adapt Semantic Technology Message-ID: <osmith@example.org> X-Sender: osmith@example.org User-Agent: RoundCube Webmail/0.2 Content-Type: multipart/mixed; boundary="=_6715e4f02fff49083f1c7455d465f825" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serveur.maven-5.com X-AntiAbuse: Original Domain - lenya.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - 4sengines.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org --=_6715e4f02fff49083f1c7455d465f825 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Hi all, As sometimes, foward of an interresting information about the IKS project. IMHO I find damageable that Lenya is not representing in this project, hope this grant could help... Have a good day -------- Original Message -------- Subject: [iks-community] IKS Grant for 40 CMS Willing to Adapt Semantic Technology Date: Wed, 17 Feb 2010 11:37:23 +0100 From: John Pereira <osmith@example.org> To: IKS Community Mailing List <osmith@example.org> Call for CMS firms to become IKS Early-adopters This year, IKS will go from requirements specification to design and prototypes of the interactive knowledge stack. There will be an "Alpha" version (available July - September 2010) which will mainly be validated by the industrial partners of the core consortium. (So the price for being a core industrial partner in IKS is that they will be the "guinea pigs" for our first attempts at enhancing CMS with semantic features!). Then there will be a "Beta" Version (available April-June 2011) and that version is intended for our early adopters grant scheme. The grants will be in the region of 5000 to 7000 Euro. We are looking for 40 CMS to get involved as early adopters. There will be workshop second half of June 2010 in Salzburg, Austria to bring the first group of early-adopters together. Go online for more details: http://www.iks-project.eu/iks-grant-40-cms-willing-adapt-semantic-technology Please forward this message to relevant contacts. Best Regards -- John Pereira Salzburg Research Forschungsgesellschaft Information Society Research Jakob-Haringer Strasse 5/II 5020 Salzburg Austria email osmith@example.org phone 913.285.0001 skype j_g_pereira mobile 913.285.0001 fax 913.285.0001 Interactive Knowledge Stack (IKS) A semantics-based open source platform for small to medium CMS providers Follow Us and Get Involved! URL: http://www.iks-project.eu Videos: http://vimeo.com/iks Twitter: iks_project / http://twitter.com/iks_project Mailinglist: http://lists.iks-project.eu/pipermail/iks-community/ Wiki: http://wiki.iks-project.eu/index.php/Main_Page --=_6715e4f02fff49083f1c7455d465f825 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="UTF-8"; name="rcmAttmntOSYM5L"; Content-Disposition: attachment; filename="rcmAttmntOSYM5L"; X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaWtzLWNvbW11 bml0eSBtYWlsaW5nIGxpc3QKaWtzLWNvbW11bml0eUBpa3MtcHJvamVjdC5ldQpodHRwOi8vbGlz dHMuaWtzLXByb2plY3QuZXUvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL2lrcy1jb21tdW5pdHk= --=_6715e4f02fff49083f1c7455d465f825 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org --=_6715e4f02fff49083f1c7455d465f825-- From osmith@example.org Fri Feb 19 16:13:16 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 68401 invoked from network); 19 Feb 2010 16:13:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Feb 2010 16:13:16 -0000 Received: (qmail 40014 invoked by uid 500); 19 Feb 2010 16:13:16 -0000 Delivered-To: osmith@example.org Received: (qmail 39930 invoked by uid 500); 19 Feb 2010 16:13:16 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 39922 invoked by uid 99); 19 Feb 2010 16:13:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 16:13:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO serveur.maven-5.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 16:13:09 +0000 Received: from localhost ([83.161.120.155] helo=4sengines.com) by serveur.maven-5.com with esmtpa (Exim 4.69) (envelope-from <osmith@example.org>) id 1NiVTE-0002BT-0s for osmith@example.org; Fri, 19 Feb 2010 17:12:48 +0100 MIME-Version: 1.0 Date: Fri, 19 Feb 2010 17:12:47 +0100 From: =?UTF-8?Q?Florent_Andr=C3=A9?= <osmith@example.org> To: osmith@example.org Subject: Re: Problem with authentication. In-Reply-To: <osmith@example.org> References: <osmith@example.org> <osmith@example.org> Message-ID: <osmith@example.org> X-Sender: osmith@example.org User-Agent: RoundCube Webmail/0.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serveur.maven-5.com X-AntiAbuse: Original Domain - lenya.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - 4sengines.com X-Source: X-Source-Args: X-Source-Dir: Another idea : Have you check that you not override your production $pub/config/publication.xml with you development file version ? If some configurations (ex : Docbase, proxy,...) are different, you can have some problems. Cheers On Fri, 19 Feb 2010 13:46:03 +0530, Anish Sneh <osmith@example.org> wrote: >> >> But (and this is my problemn) in authoring area, each time I click >> anywhere, >> Lenya asks me to enter password and user again. > > Hi Martin > > Have you checked the cookies, there could be a problem with the cookies. > Do you get some error message on the login page after login fails? > > > > Martin Dominguez wrote: >> Hi all, >> I have a new question about Lenya 2. >> >> The case is as follows: >> I have a development server and a production server exactly alike. I >> develop >> my publication and modules in the development server, then I copy them to >> the production server and compile again lenya. >> But (and this is my problemn) in authoring area, each time I click >> anywhere, >> Lenya asks me to enter password and user again. >> Any hints about the problem? Can be a problem with the session? Can be a >> problem with permissions? >> >> Thank you very much in advance. >> >> Martin .- >> --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Sat Feb 20 10:02:40 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 73569 invoked from network); 20 Feb 2010 10:02:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Feb 2010 10:02:40 -0000 Received: (qmail 75820 invoked by uid 500); 20 Feb 2010 10:02:39 -0000 Delivered-To: osmith@example.org Received: (qmail 75744 invoked by uid 500); 20 Feb 2010 10:02:39 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 75736 invoked by uid 99); 20 Feb 2010 10:02:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:02:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:02:32 +0000 Received: by wyj26 with SMTP id 26so115743wyj.23 for <osmith@example.org>; Sat, 20 Feb 2010 02:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=Yax+ozCkQkmVQc8p0rHWYGbiZeGH8TEj755No/P4Nbk=; b=WkVYCCxBXyPYiC/N9wJL7XwbdPrk7Mio40JeLiUB8GBr3PetdC94mFdaxUxOoA6B8q A8IfjLdHl8L6sKS9+TqZvH5Zp6mzwHCW90dsdMB84/sxfnCBVW+lFwUwbE+ukxoMkeNg c5q2Acn2Pey8K+Cf5CZ47W4wxhcdBKUng+4cA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=rOP4NmMKZF4B1CkuqiFBsl5NCHe76y4XeO44TG7aepNlBf77yJBMkk5IS1kLJg2dbq FbeFAzqVC7iNl63T223GeZmNfbCHPFJo9Psm3etR4ildYaqTqTj0+ZhdnG/Rfhk15YbB dWwgnZZ3M+GtfenOeCVltKOQzhYC4x4DAebZY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id y44mr1439131wee.157.1266660131384; Sat, 20 Feb 2010 02:02:11 -0800 (PST) Reply-To: osmith@example.org Date: Sat, 20 Feb 2010 12:02:11 +0200 Message-ID: <osmith@example.org> Subject: Running Lenya 2 as daemon From: Petteri Sulonen <osmith@example.org> To: osmith@example.org Content-Type: text/plain; charset=UTF-8 Hi, folks -- Is there an init script available somewhere to run Lenya 2 (standalone) as a Unix daemon? I found one for Lenya 1.2.5, but not 2.0.3, but it appears that ./lenya.sh for 2.0.3 doesn't accept 'stop' as a parameter, so it's not easily portable. If not, what's the recommended way of accomplishing this? TIA, /Petteri --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Sat Feb 20 10:21:09 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 82441 invoked from network); 20 Feb 2010 10:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Feb 2010 10:21:08 -0000 Received: (qmail 81149 invoked by uid 500); 20 Feb 2010 10:21:08 -0000 Delivered-To: osmith@example.org Received: (qmail 81055 invoked by uid 500); 20 Feb 2010 10:21:08 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 81047 invoked by uid 99); 20 Feb 2010 10:21:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:21:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:20:58 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NimRx-0000KC-Uz for osmith@example.org; Sat, 20 Feb 2010 02:20:37 -0800 Message-ID: <osmith@example.org> Date: Sat, 20 Feb 2010 02:20:37 -0800 (PST) From: Martin Dominguez <osmith@example.org> To: osmith@example.org Subject: Re: Problem with authentication. In-Reply-To: <osmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: osmith@example.org References: <osmith@example.org> <osmith@example.org> <osmith@example.org> X-Virus-Checked: Checked by ClamAV on apache.org firstly, thanks for your answers. The log has no errors and login screen doesn't show any error. I have to check the cookie to see if the problem can be there. With regard to overwrite the publication.xml ... I overwrite the entire publication ... the problem might be there. However, the file is the same i= n the two publications, they are an exact copy. I'll continue investigating to find the problem, if I find something I'll tell you, meanwhile, if you have more ideas will be grateful. Thanks a lot and best regards. Florent Andr=C3=A9-2 wrote: >=20 > Another idea :=20 >=20 > Have you check that you not override your production > $pub/config/publication.xml with you development file version ?=20 >=20 > If some configurations (ex : Docbase, proxy,...) are different, you can > have some problems. >=20 > Cheers >=20 > On Fri, 19 Feb 2010 13:46:03 +0530, Anish Sneh <osmith@example.org= > > wrote: >>> >>> But (and this is my problemn) in authoring area, each time I click >>> anywhere, >>> Lenya asks me to enter password and user again. >>=20 >> Hi Martin >>=20 >> Have you checked the cookies, there could be a problem with the cookies. >> Do you get some error message on the login page after login fails? >>=20 >>=20 >>=20 >> Martin Dominguez wrote: >>> Hi all, >>> I have a new question about Lenya 2. >>> >>> The case is as follows: >>> I have a development server and a production server exactly alike. I >>> develop >>> my publication and modules in the development server, then I copy them > to >>> the production server and compile again lenya. >>> But (and this is my problemn) in authoring area, each time I click >>> anywhere, >>> Lenya asks me to enter password and user again. >>> Any hints about the problem? Can be a problem with the session? Can be = a >>> problem with permissions? >>> >>> Thank you very much in advance. >>> >>> Martin .- >>> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: osmith@example.org > For additional commands, e-mail: osmith@example.org >=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/Problem-with-authentica= tion.-tp27646651p27665003.html Sent from the Lenya - Users mailing list osmith@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Sat Feb 20 10:51:22 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 91593 invoked from network); 20 Feb 2010 10:51:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Feb 2010 10:51:22 -0000 Received: (qmail 88973 invoked by uid 500); 20 Feb 2010 10:51:21 -0000 Delivered-To: osmith@example.org Received: (qmail 88897 invoked by uid 500); 20 Feb 2010 10:51:21 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 88889 invoked by uid 99); 20 Feb 2010 10:51:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:51:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of osmith@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 10:51:12 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <osmith@example.org>) id 1NimvD-0002j9-KB for osmith@example.org; Sat, 20 Feb 2010 02:50:51 -0800 Message-ID: <osmith@example.org> Date: Sat, 20 Feb 2010 02:50:51 -0800 (PST) From: Martin Dominguez <osmith@example.org> To: osmith@example.org Subject: Re: Running Lenya 2 as daemon In-Reply-To: <osmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: osmith@example.org References: <osmith@example.org> X-Virus-Checked: Checked by ClamAV on apache.org I made an script to run Lenya 2, and to stop it, I kill the process. It's a simple solution that works fine. A code example: ************************************************ pid=`ps -ef | grep Djava | grep -v grep | cut -c 10-15` if [ $pid ]; then echo "Stoping Lenya ...." kill -9 $pid > /dev/null 2>&1 echo "Lenya Stoped!" ************************************************ Regards. Martin.- Petteri Sulonen-2 wrote: > > Hi, folks -- > > Is there an init script available somewhere to run Lenya 2 > (standalone) as a Unix daemon? I found one for Lenya 1.2.5, but not > 2.0.3, but it appears that ./lenya.sh for 2.0.3 doesn't accept 'stop' > as a parameter, so it's not easily portable. > > If not, what's the recommended way of accomplishing this? > > TIA, > > /Petteri > > --------------------------------------------------------------------- > To unsubscribe, e-mail: osmith@example.org > For additional commands, e-mail: osmith@example.org > > > -- View this message in context: http://old.nabble.com/Running-Lenya-2-as-daemon-tp27664915p27665185.html Sent from the Lenya - Users mailing list osmith@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: osmith@example.org For additional commands, e-mail: osmith@example.org From osmith@example.org Sat Feb 20 12:04:31 2010 Return-Path: <osmith@example.org> Delivered-To: osmith@example.org Received: (qmail 7224 invoked from network); 20 Feb 2010 12:04:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Feb 2010 12:04:31 -0000 Received: (qmail 17432 invoked by uid 500); 20 Feb 2010 12:04:31 -0000 Delivered-To: osmith@example.org Received: (qmail 17347 invoked by uid 500); 20 Feb 2010 12:04:30 -0000 Mailing-List: contact osmith@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:osmith@example.org> List-Unsubscribe: <mailto:osmith@example.org> List-Post: <mailto:osmith@example.org> List-Id: <user.lenya.apache.org> Reply-To: osmith@example.org Delivered-To: mailing list osmith@example.org Received: (qmail 17339 invoked by uid 99); 20 Feb 2010 12:04:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 12:04:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO ds12.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 12:04:20 +0000 Received: from [83.161.120.155] (HSI-KBW-091-089-202-065.hsi2.kabel-badenwuerttemberg.de [83.161.120.155]) by ds12.de (ds12.ds12.de) with ESMTPSA id 44120205410D for <osmith@example.org>; Sat, 20 Feb 2010 13:04:00 +0100 (CET) Message-Id: <osmith@example.org> From: Rudolf Korhummel <osmith@example.org> To: osmith@example.org In-Reply-To: <osmith@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Problem with authentication. Date: Sat, 20 Feb 2010 13:03:59 +0100 References: <osmith@example.org> <osmith@example.org> <osmith@example.org> <osmith@example.org> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hi Martin, does your publication use resources from other publications e.g. links to css files or images ? In that case the session will be destroyed and the user/password =20 information will be lost. HTH Rudolf Am 20.02.2010 um 11:20 schrieb Martin Dominguez: > > firstly, thanks for your answers. > > The log has no errors and login screen doesn't show any error. I =20 > have to > check the cookie to see if the problem can be there. > > With regard to overwrite the publication.xml ... I overwrite the =20 > entire > publication ... the problem might be there. However, the file is the =20= > same in > the two publications, they are an exact copy. > > I'll continue investigating to find the problem, if I find something =20= > I'll > tell you, meanwhile, if you have more ideas will be grateful.
{'source': 'Apache Software Foundation Public Mail Archives'}