Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 92942 invoked from network); 16 Sep 2004 12:43:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Sep 2004 12:43:21 -0000 Received: (qmail 72855 invoked by uid 500); 16 Sep 2004 12:42:50 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72731 invoked by uid 500); 16 Sep 2004 12:42:49 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72663 invoked by uid 99); 16 Sep 2004 12:42:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.111.4.30] (HELO frontend1.messagingengine.com) (66.111.4.30) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Sep 2004 05:42:45 -0700 X-Sasl-enc: aCNp1dnHTPkNXWPe96Hw+g 1095338561 Received: from [192.168.1.74] (unknown [213.48.13.39]) by www.fastmail.fm (Postfix) with ESMTP id 5429FC152F9 for ; Thu, 16 Sep 2004 08:42:41 -0400 (EDT) Message-ID: <41498A1D.6070705@upaya.co.uk> Date: Thu, 16 Sep 2004 13:42:05 +0100 From: Upayavira User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: ScriptGenerator how to setup for Perl References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am unaware of a Java perl implementation. Your best bet if you must use Perl is to use proxying. Set up Apache httpd to run your perl. Even configure Apache to only accept requests from localhost. Then simply use the file generator: Regards, Upayavira Willy Reinhardt wrote: >Hi, > >My application should execute a Perl script. I consider to use >ScriptGenerator. I add in my sitemap: > >logger="antilopeFST.generator.scriptgenerator" >src="org.apache.cocoon.generation.ScriptGenerator"/> > >Note I didn't add Perl language because BSF use extension to determine >language > >then > > > > > > >When I call the script I got an exception >org.apache.cocoon.ProcessingException: BSFException in >ScriptGenerator.generate(): org.apache.bsf.BSFException: unable to load >language: perl > >In the stacktrace I see: >org.apache.bsf.BSFManager.loadScriptingEngine(Unknown Source) > >My question is how to setup and configure ScriptingEngine for perl in >cocoon ? > >Thanks for your help. > >Willy > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org