Agreed with Miyuru. however this is experienced ONLY on WSO2 environment.
but not in our local environments.  that's why no idea what is the cause.
however i have noted this only cause when we use java script mediator.
appriciate any idea to solve this as few integration testing onhold due to
this un identified issue :)


On Wed, Apr 23, 2014 at 7:19 AM, Miyuru Wanninayaka <miy...@wso2.com> wrote:

> I can't imagine a way which fixed done in [1],[2] cause JSON issues in
> script mediator, it's a only minor change to http request factory and
> nothing to do with script mediator.  It should be a some other fix done
> early causing this issue.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-3051
> [2] https://wso2.org/jira/browse/ESBJAVA-3061
>
>
> On Tue, Apr 22, 2014 at 1:14 PM, Krishantha Dinesh 
> <kr...@krishantha.com>wrote:
>
>> this is already experienced issue with above patch. hope malaka can help
>> you on solve this as he is already solve this on other connector
>>
>> Malaka can you share the solution please
>>
>>
>> On Tue, Apr 22, 2014 at 5:09 PM, Madhawa Bandara <madh...@wso2.com>wrote:
>>
>>> Hi,
>>> I applied the above patches and the requests with HTTP PATCH method work
>>> well now.
>>> But now I get a new exception for the requests in which a JSON payload
>>> is used (inside the script mediator with language="js"):
>>>
>>> com.sun.phobos.script.util.ExtendedScriptException:
>>> org.mozilla.javascript.EcmaError: ReferenceError: "JSON" is not defined.
>>>
>>> Note that these methods worked fine *before *applying the patch. Any
>>> suggestions?
>>>
>>>
>>> On Mon, Apr 21, 2014 at 10:38 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Kasun,
>>>>
>>>> It's already done.
>>>>
>>>> https://wso2.org/jira/browse/ESBJAVA-3051
>>>> https://wso2.org/jira/browse/ESBJAVA-3061
>>>>
>>>> Best Regards,
>>>> Malaka
>>>>
>>>>
>>>> On Mon, Apr 21, 2014 at 10:23 AM, Kasun Indrasiri <ka...@wso2.com>wrote:
>>>>
>>>>> Have we committed this in to trunk? If not please do so.
>>>>>
>>>>>
>>>>> On Mon, Apr 21, 2014 at 10:21 AM, Malaka Silva <mal...@wso2.com>wrote:
>>>>>
>>>>>> Hi Mahawa,
>>>>>>
>>>>>> Currently it's not supported. It'll be available with the next
>>>>>> release. ESB 4.9.0
>>>>>>
>>>>>> But there is a patch for this.
>>>>>>
>>>>>> Best Regards,
>>>>>> Malaka
>>>>>>
>>>>>>
>>>>>> On Mon, Apr 21, 2014 at 10:13 AM, Madhawa Bandara 
>>>>>> <madh...@wso2.com>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> Does the ESB 4.8.1 support the HTTP patch method?
>>>>>>> When I make a http patch request, it is shown as an HTTP POST on the
>>>>>>> wire.
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>>
>>>>>>> *Madhawa Bandara*
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc.
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> Mobile - *+94777487726 <%2B94777487726>*
>>>>>>> Blog* - *classdeffound.blogspot.com
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Malaka Silva
>>>>>> Senior Tech Lead
>>>>>> M: +94 777 219 791
>>>>>> Tel : 94 11 214 5345
>>>>>> Fax :94 11 2145300
>>>>>> Skype : malaka.sampath.silva
>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>>
>>>>>> WSO2, Inc.
>>>>>> lean . enterprise . middleware
>>>>>> http://www.wso2.com/
>>>>>> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>>>>>>
>>>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>>>> this email only if it is absolutely necessary.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kasun Indrasiri
>>>>> Software Architect
>>>>> WSO2, Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> cell: +94 77 556 5206
>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Malaka Silva
>>>> Senior Tech Lead
>>>> M: +94 777 219 791
>>>> Tel : 94 11 214 5345
>>>> Fax :94 11 2145300
>>>> Skype : malaka.sampath.silva
>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>> http://www.wso2.com/
>>>> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>>>>
>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>> this email only if it is absolutely necessary.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> *Madhawa Bandara*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+94777487726 <%2B94777487726>*
>>> Blog* - *classdeffound.blogspot.com
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Miyuru Wanninayaka
> Senior Technical Lead
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 77 209 9788
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to