Re: [Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-11 Thread Ruwan Yatawara
Hi All, After much research, we rounded up the problem, this is caused by the API Manager host object using both synapse and jaggery. As I explained in my previous email, when we use two different bundles that use different versions of the same package, inside the same class space, package use

Re: [Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-11 Thread Sumedha Rubasinghe
On Sun, May 11, 2014 at 11:32 AM, Ruwan Yatawara ruw...@wso2.com wrote: Hi All, After much research, we rounded up the problem, this is caused by the API Manager host object using both synapse and jaggery. As I explained in my previous email, when we use two different bundles that use

Re: [Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-11 Thread Ruchira Wageesha
Hi Sumedha, IMO, this is the first time, that one of our component used both Mozilla Rhino(Jaggery) and Synapse core directly, which indirectly links BSF embedded Rhino version too. Anyway, we will take this into consideration when Rhino version of Jaggery is updated again. /Ruchira On Mon,

[Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-08 Thread Ruwan Yatawara
Hi All, We ran in to $subject when trying to use the script mediator in API Manager. When trying to use script mediator in AM APIs the following error is thrown. *Caused by: java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory* * at

Re: [Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-08 Thread Ruchira Wageesha
Please meet me in the office. Will be able to help you. /Ruchira On Fri, May 9, 2014 at 12:02 AM, Ruwan Yatawara ruw...@wso2.com wrote: Hi All, We ran in to $subject when trying to use the script mediator in API Manager. When trying to use script mediator in AM APIs the following error

Re: [Dev] OSGI Issue when trying to use Script Mediator in APIM

2014-05-08 Thread madhuka udantha
Hi, This[1] can be helpful for such scenario, And you issue encounter is correct, *You can check some AS releases, where it also occurred and fixed as we added jaggery and mashup to AS.* [1] http://madhukaudantha.blogspot.com/2014/02/writing-hostobject-for-jaggery.html On Fri, May 9, 2014 at