Return-Path: X-Original-To: apmail-jakarta-dev-archive@minotaur.apache.org Delivered-To: apmail-jakarta-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6E3920E2 for ; Wed, 27 Apr 2011 12:15:40 +0000 (UTC) Received: (qmail 66128 invoked by uid 500); 27 Apr 2011 12:15:40 -0000 Delivered-To: apmail-jakarta-dev-archive@jakarta.apache.org Received: (qmail 66068 invoked by uid 500); 27 Apr 2011 12:15:40 -0000 Mailing-List: contact dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jakarta.apache.org Delivered-To: mailing list dev@jakarta.apache.org Received: (qmail 66060 invoked by uid 99); 27 Apr 2011 12:15:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 12:15:40 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.146.183.245] (HELO nm11-vm1.bullet.mail.ukl.yahoo.com) (217.146.183.245) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Apr 2011 12:15:32 +0000 Received: from [217.146.183.213] by nm11.bullet.mail.ukl.yahoo.com with NNFMP; 27 Apr 2011 12:15:09 -0000 Received: from [217.146.183.161] by tm6.bullet.mail.ukl.yahoo.com with NNFMP; 27 Apr 2011 12:15:09 -0000 Received: from [127.0.0.1] by omp1002.mail.ukl.yahoo.com with NNFMP; 27 Apr 2011 12:15:09 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 600750.52373.bm@omp1002.mail.ukl.yahoo.com Received: (qmail 56011 invoked by uid 60001); 27 Apr 2011 12:15:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1303906509; bh=X/IxsfrZLyGSBa4XmLNzr5dzjW3L5Vl5YveLDbj31Ts=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=mF6bGg7FatJ/Z42FNrZQkRrSZmovQZOcijlRe2G2dhvb30MEgNib8IEUKbZQjYc6TvrltmyFevApNnfzFls4Jf6+nt7A1TWswgCBGqamObUSZOK+AyHv+VP9VvXf+KvfvOBPrD5XQWjn44aXedOhjGb2o3a0wdk9tWxVIMzaFH8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=4agXqbKJGDrotImKR89krVGjskbffnRaCaKmnJCMjK6uz0uobVEFFqek2wyLpDSg8x8DJ67Y/6vXeLCxKdNCAFaLNdFxBm9YjFXXfRc+M/5IE5vdE2xjXzfXS77rYbfliIrQyoh+KA55GtGfO26QZeig4r/Pu3HmSKT1e8WZmhs=; Message-ID: <418509.49700.qm@web25607.mail.ukl.yahoo.com> X-YMail-OSG: 3GYzM0UVM1kobkU7EmTPeJJVrFINcxFo48TRWyj4xB.5nfM ot_xAzIrm Received: from [203.143.22.210] by web25607.mail.ukl.yahoo.com via HTTP; Wed, 27 Apr 2011 13:15:08 BST X-Mailer: YahooMailRC/559 YahooMailWebService/0.8.110.299900 References: <457974.66158.qm@web25602.mail.ukl.yahoo.com> <940161.17952.qm@web25608.mail.ukl.yahoo.com> <961848.86411.qm@web25602.mail.ukl.yahoo.com> <878285.49203.qm@web25606.mail.ukl.yahoo.com> Date: Wed, 27 Apr 2011 13:15:08 +0100 (BST) From: vijayaratha vijayasingam Subject: Re: [BSF] Couldn't build bsf project from source To: dev@jakarta.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1352359252-1303906508=:49700" --0-1352359252-1303906508=:49700 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=0AThanks a lot for the information...=0AWhat i actually try to do is,In= my project(wso2 ESB, which uses apache synapse =0Aas a base mediation engi= ne, )i try to test a script mediator(groovy script =0Amediator)=0ASynapse u= ses bsf 3.0 version and groovy-all-1.1-rc-1 .jar as groovy =0Aengine..Anywa= y this works fine in synapse..but not in WSO2 ESB. Error i get is " =0Ascri= pt engine not found for groovy...:( anyway groovy-all-1.1-rc-1.jar is =0A= available in classpath....Thatsy wanted to look into BSF source(3.0 version= ) =0Acode..=0A=0Ap.s: Same BSF version(3.0) we use in wso2ESB also..(Becaus= e synapse is our base =0Amediation engine)=0A=0AThanks=0A-Ratha.=0A=0A=0A= =0A=0A________________________________=0AFrom: sebb =0ATo= : dev@jakarta.apache.org=0ASent: Wed, 27 April, 2011 17:34:28=0ASubject: Re= : [BSF] Couldn't build bsf project from source=0A=0AOn 27 April 2011 12:57,= vijayaratha vijayasingam=0A wrote:=0A>=0A>=0A>=0A= >=0A>=0A> ________________________________=0A> From: sebb =0A> To: dev@jakarta.apache.org=0A> Sent: Wed, 27 April, 2011 17:19:20=0A>= Subject: Re: [BSF] Couldn't build bsf project from source=0A>=0A> On 27 Ap= ril 2011 12:43, vijayaratha vijayasingam=0A> wrot= e:=0A>> Hi,=0A>> After commenting commented out testing/bsf-engines and com= mented out=0A>>bsf-engines=0A>> @ the build.xml of distribution module i wa= s able to build project=0A>> successfully... Anyway i couldnt start my appl= ication because im getting =0Aclass=0A>> not found exception[1]=0A>=0A> Thi= s error is nothing to do with BSF; you need to download the=0A> appropriate= scripting engine.=0A> BSF 3.1 does not include any scripting engines.=0A>= =0A>> Partial build is not working for my case to debug...=0A>> Without a f= ull success build i can not debug...:(=0A>=0A> What Java version are you us= ing?=0A>=0A> JDK1.6.0_20=0A=0AIn which case (as I already wrote) you don't = need BSF 3.1.=0A=0A> I tried to find a location to down that particular jsr= 223-engines.zip in =0Agoogle=0A> and all point to this location "https://sc= ripting.dev.java.net"..=0A> BTW if there is no any other solution from ASF = side..I try to debug with BSF =0A>3.1=0A> and see..=0A=0AI repeat: you don'= t need BSF 3.1 with Java 1.6+.=0AIn fact adding bsf-api-3.1 to the classpat= h may cause problems.=0A=0AYou do need to ensure that you have the appropri= ate scripting engine=0Aon the classpath.=0A=0A> Thanks a lot for your help.= ..=0A>=0A> Regards,=0A> -Ratha.=0A>=0A>> Regards,=0A>> -Ratha.=0A>>=0A>> [1= ]=0A>> java.lang.NoClassDefFoundError:=0A>> com/sun/phobos/script/javascrip= t/RhinoScriptEngineFactory=0A>> at=0A>>org.apache.synapse.mediators.= bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:402)=0A>>=0A>>)=0A>= >=0A>>=0A>> at=0A>>org.apache.synapse.mediators.bsf.ScriptMediator.i= nitInlineScript(ScriptMediator.java:268)=0A>>=0A>>)=0A>>=0A>>=0A>>=0A>>=0A>= >=0A>>=0A>> ________________________________=0A>> From: sebb =0A>> To: dev@jakarta.apache.org=0A>> Sent: Wed, 27 April, 2011 16:51:4= 8=0A>> Subject: Re: [BSF] Couldn't build bsf project from source=0A>>=0A>> = On 27 April 2011 12:00, vijayaratha vijayasingam=0A>> wrote:=0A>>>=0A>>>=0A>>>=0A>>>=0A>>>=0A>>> ___________________________= _____=0A>>> From: sebb =0A>>> To: dev@jakarta.apache.org= =0A>>> Sent: Wed, 27 April, 2011 16:21:18=0A>>> Subject: Re: [BSF] Couldn't= build bsf project from source=0A>>>=0A>>> On 27 April 2011 11:22, vijayara= tha vijayasingam=0A>>> wrote:=0A>>>> Hi all,=0A>>= >> I'm trying to build the bsf project from source (version 3.0.0) .I=0A>>= downloaded=0A>>>> the source distribution and tried to build it.. but an= yway i'm failing=0A>>> with=0A>>>> the following issue [1], since 'jsr' s= ite is unavailable..=0A>>>=0A>>> Not a lot we can do to fix that; it's not= an ASF resource.=0A>>>=0A>>>> Would be great if someone look into this iss= ue ASAP.. i'm trying to debug =0Amy=0A>>>> project, for that i need the bs= f source..=0A>>>=0A>>> Which is available from the download location as usu= al.=0A>>>=0A>>> The engines are only needed to test some parts of BSF; just= comment=0A>>> out the following lines in the top level pom:=0A>>>=0A>>> = bsf-engines=0A>>> and=0A>>> testing=0A>>>=0A>>> Hi,=0A>>> Thanks for the response ,=0A>>> i tried to av= oid testing/bsf-engines modules..but distribution needs=0A>>> bsf-engines j= ar..so couldn't build the project...:(=0A>>=0A>> bsf-engines.jar is NOT nee= ded for the distribution.=0A>>=0A>> However, bsf-utils has a dependency on = bsf-engines which needs to be=0A>> commented out as well.=0A>> Not sure why= it is a compile-time depend (that may be incorrect)=0A>>=0A>> You will the= n need to run Maven with -DskipTests otherwise the=0A>> bsf-utils module wi= ll fail.=0A>>=0A>> --------------------------------------------------------= -------------=0A>> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.o= rg=0A>> For additional commands, e-mail: dev-help@jakarta.apache.org=0A>=0A= > ---------------------------------------------------------------------=0A>= To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org=0A> For additio= nal commands, e-mail: dev-help@jakarta.apache.org=0A=0A--------------------= -------------------------------------------------=0ATo unsubscribe, e-mail:= dev-unsubscribe@jakarta.apache.org=0AFor additional commands, e-mail: dev-= help@jakarta.apache.org --0-1352359252-1303906508=:49700--