Hi Shashika, I am also coming across this issue. When I change the message formatter I can execute the PUT operation successfully. It seems this is an issue related to the Gson message builder.
Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Dec 16, 2014 at 11:16 AM, Chamila De Alwis <[email protected]> wrote: > > Hi Shashika, > > What are the message formatter and builder libraries that you've enabled > for application/json type? > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > > On Tue, Dec 16, 2014 at 9:15 AM, Shashika Karunatilaka <[email protected] > > wrote: >> >> Hi Udara, >> No when sending from the try it tool it works fine >> >> Thank you >> >> On Tue, Dec 16, 2014 at 7:28 AM, Udara Liyanage <[email protected]> wrote: >>> >>> Hi, >>> >>> Do you get the same behavior when you so the same put method using tryit >>> >>> >>> >>> Touched, not typed. Erroneous words are a feature, not a typo. >>> On Dec 16, 2014 5:54 AM, "Danushka Fernando" <[email protected]> wrote: >>> >>>> I think best way to identify the root cause is to have a heap dump and >>>> analyze it. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 >>>> >>>> On Mon, Dec 15, 2014 at 11:14 PM, Chamila De Alwis <[email protected]> >>>> wrote: >>>>> >>>>> Hi Shashika, >>>>> >>>>> Before the OutOfMemoryError, do you get any errors in the carbon log? >>>>> Can you enable DEBUG level and find out? >>>>> >>>>> >>>>> Regards, >>>>> Chamila de Alwis >>>>> Software Engineer | WSO2 | +94772207163 >>>>> Blog: code.chamiladealwis.com >>>>> >>>>> >>>>> >>>>> On Mon, Dec 15, 2014 at 10:29 PM, Shashika Karunatilaka < >>>>> [email protected]> wrote: >>>>> >>>>>> HI, >>>>>> I was trying to send some JSON data to my data base through DSS. i >>>>>> tried this [1] curl command to send the data, but it doesnt update my >>>>>> database and gave a java.lang.OutOfMemoryError on DSS server after some >>>>>> time. >>>>>> Here with i have attached my .dbs file as well. >>>>>> I tried this on DSS 3.2.2 and the same command works fine in the DSS >>>>>> 3.2.1 >>>>>> >>>>>> [1] curl -X PUT >>>>>> -d'{"_putaddbird":{"name":"ffff","color":"green","weight":14}}' -H >>>>>> 'Content-Type:application/json' >>>>>> http://10.100.5.188:9763/services/uactivitydb/addbird >>>>>> <http://www.google.com/url?q=http%3A%2F%2F10.100.5.188%3A9763%2Fservices%2Fuactivitydb%2Faddbird&sa=D&sntz=1&usg=AFQjCNEiQ8_5pUiZLSdPIT0B7Yh3i1z8RQ> >>>>>> >>>>>> -- >>>>>> Shashika Prabath Karunatilaka, >>>>>> Software Engineer, >>>>>> WSO2, Inc: http://wso2.com/ >>>>>> mobile : +94 77 7487792 >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >> >> -- >> Shashika Prabath Karunatilaka, >> Software Engineer, >> WSO2, Inc: http://wso2.com/ >> mobile : +94 77 7487792 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
