Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Inshaf Mahath
Hi Kalpa,

You can try on JavaScript to encode and decode base64 string. You can have
a look on [1].

[1]
http://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript


Thanks with best regards,
Inshaf

On Wed, Nov 11, 2015 at 3:24 PM, Nipuna Chandradasa <nipu...@wso2.com>
wrote:

> Hi,
>
> Sorry for the typing mistake ...
>
> you can import the java method for Base64 encoding inside the jaggery and
> use it ...
>
> Regards,
>
> On Wed, Nov 11, 2015 at 3:23 PM, Nipuna Chandradasa <nipu...@wso2.com>
> wrote:
>
>> Hi,
>>
>> As far as i know there is no inbuilt method for jaggery   but u
>> import the java method for Base64 encoding inside the jaggery and use it
>>
>> Regards,
>>
>> On Wed, Nov 11, 2015 at 3:08 PM, Kalpa Welivitigoda <kal...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> Is the $subject possible?
>>>
>>> My requirement is to encode username/password in Base64 to be used to
>>> call a REST API.
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: kal...@wso2.com
>>> Mobile: +94776509215
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nipuna Marcus
>> *Software Engineer*
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> Mobile : +94 (0) 713 667906
>> nipu...@wso2.com
>>
>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inshaf Mahath
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Download files from URL

2015-07-09 Thread Inshaf Mahath
Hi Vinod,

Since you are using Jaggery, you can use JavaScript to create and download
a file. You can have a look on [1], but not sure whether it aligns with
your requirement.

[1] -
http://blog.eliacontini.info/post/79860720828/export-to-csv-using-javascript-and-the-download

Thanks,
Inshaf



On Thu, Jul 9, 2015 at 1:49 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi all,

 I'm trying to download a file from a given URL (File get downloaded if we
 directly go to the link via browser), in a jaggery app.

 I need to get the file to the Jaggery backend and send it to the browser
 so that file should get downloaded. I tried this by sending a get request
 to the relevant URL, setting all the headers received from get response to
 the jaggery response and printing the payload as shown below.

 var httpClient = new XMLHttpRequest();
 httpClient.open('GET', url, true);
 httpClient.setRequestHeader('COOKIE', session.get('MGT_SESSION'));

  //copy header details
 var contentType =
 httpClient.getResponseHeader(Content-Type);
 var transferEncoding =
 httpClient.getResponseHeader(Transfer-Encoding);
 var vary = httpClient.getResponseHeader(Vary);
 var date = httpClient.getResponseHeader(Date);
 var server = httpClient.getResponseHeader(Server);
 var contentDisposition =
 httpClient.getResponseHeader(Content-Disposition);

 response.addHeader('Content-Type', contentType);
 response.addHeader('Transfer-Encoding', transferEncoding);
 response.addHeader('Vary', vary);
 response.addHeader('Date', date);
 response.addHeader('Server', server);
 response.addHeader('Content-Disposition', contentDisposition);

 print(httpClient.responseText);

 A file get downloaded as expected. But is is a corrupted file with less
 size than actual size of the file.

 I think the reason for this is the data is coming as chunked data packets.
 The 'Transfer-Encoding' header value is 'chunked'.

 Any hint on resolving this is much appreciated.

 Thank You,
 Vinod


 --
 Vinod Kavinda
 Software Engineer
 *WSO2 Inc. - lean . enterprise . middleware http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 Blog : http://soatechflicks.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Saneth Dharmakeerthi

2015-06-09 Thread Inshaf Mahath
Congrats Saneth!!

On Tue, Jun 9, 2015 at 2:00 PM, Elilmatha Sivanesan elilma...@wso2.com
wrote:

 Congratulations Saneth

 On Tue, Jun 9, 2015 at 1:57 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations Saneth! :)

 --
 *Jerad Rutnam*
 *Software Engineer*

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *S.Elilmatha*
 Associate  Software Engineer,

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile 0779842221.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dinithi De Silva

2015-05-28 Thread Inshaf Mahath
Congrats Dinithi

On Thu, May 28, 2015 at 12:02 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Congratulations ...!!

 On Thu, May 28, 2015 at 12:00 PM, Pubudu Gunatilaka pubu...@wso2.com
 wrote:

 Congratulations Dinithi !!!

 On Thu, May 28, 2015 at 11:58 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Congratulations Dinithi

 On Thu, May 28, 2015 at 11:54 AM, Tharik Kanaka tha...@wso2.com wrote:

 Congratulations Dinithi

 On Thu, May 28, 2015 at 11:51 AM, Indunil Upeksha Rathnayake 
 indu...@wso2.com wrote:

 Hi Dinithi,

 Congratzzz.. :D
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Tharik Kanaka*

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Pubudu Gunatilaka*
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 77 4078049

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vishanth Balasubramaniam

2015-05-18 Thread Inshaf Mahath
/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 *Thilini Cooray*
 Software Engineer
 Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194
 E-mail : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Jerad Rutnam*
 *Software Engineer*

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kasun Bandara
 *Software Engineer*
 Mobile : +94 (0) 718 338 360
 %2B94%20%280%29%20773%20451194
 kas...@wso2.com thili...@wso2.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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dilan Ariyaratne

2015-04-16 Thread Inshaf Mahath
Congrats Dilan..!!!

On Thu, Apr 16, 2015 at 3:22 PM, Damith Wickramasinghe dami...@wso2.com
wrote:

 Congrats Dilan 

 On Thu, Apr 16, 2015 at 3:18 PM, Darshana Gunawardana darsh...@wso2.com
 wrote:

 Congratulations Dilan..!!

 On Thu, Apr 16, 2015 at 2:21 PM, Inosh Perera ino...@wso2.com wrote:

 Congrats Dilan!!

 On Thu, Apr 16, 2015 at 2:06 PM, Sandamal Weerasinghe sanda...@wso2.com
  wrote:

 Congratulations Dilan!

 Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd

 Mobile - +94-77-144-9640

 On Thu, Apr 16, 2015 at 2:05 PM, Shiva Balachandran sh...@wso2.com
 wrote:

 Congrats Dilan :)

 On Fri, Apr 10, 2015 at 3:44 PM, Prabath Abeysekera praba...@wso2.com
  wrote:

 Hi Everyone,

 It's my pleasure to welcome Dilan Ariyaratne as a WSO2 Committer.
 Dilan has been part of some key development efforts of MDM as well as EMM
 over the last couple of months. In recognition of all his contributions,
 he's been voted as a WSO2 comitter.

 Dilan, Welcome aboard and keep up the good work!


 Cheers,
 Prabath


 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.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




 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Regards,


 *Darshana Gunawardana*Software Engineer
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859*Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting all reources from a specified registry path

2015-04-16 Thread Inshaf Mahath
Hi Tharik,

You can check on [1] to load governance artifacts.

[1]
https://docs.wso2.com/display/Governance460/Governance+Artifact+Search+Sample

Thanks With Best Regards,
Inshaf

On Fri, Apr 17, 2015 at 10:37 AM, Tharik Kanaka tha...@wso2.com wrote:

 Hi All,

 In WSO2 core Registry we can get any Resource by specifying file path of
 resource as following code line.

 Resource configFile = registry.get(path);

 Is there any method available in registry to get all the resources (into a
 Resource array or any collection) from a specified registry directory path?
 I could not find a method.

 Thanks,
 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-08 Thread Inshaf Mahath
Congrats Prasanna!!!

On Thu, Apr 9, 2015 at 10:12 AM, Chalitha Kulathunga chalit...@wso2.com
wrote:

 Congrats Prasanna !!

 On Thu, Apr 9, 2015 at 10:01 AM, Vinuri Perera vinu...@wso2.com wrote:

 congrats Prasanna !!

 On Thu, Apr 9, 2015 at 9:57 AM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratz, Prasanna !!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Thu, Apr 9, 2015 at 9:54 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Prasanna!
 On Apr 9, 2015 8:08 AM, Tharindu Edirisinghe tharin...@wso2.com
 wrote:

 Congratulations Prasanna !!!

 On Thu, Apr 9, 2015 at 8:06 AM, Sagara Gunathunga sag...@wso2.com
 wrote:

 It's my pleasure to welcome Prasanna Dangalla as a WSO2 committer.
 Prasanna, welcome aboard and keep up the good work.


 Thanks !
 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

 ___
 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



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Vinuri Perera
 Software Engineer | WSO2 Inc

 M : 0711518805


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Chalitha Sanyuja Kulathunga*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: chalit...@wso2.com cell: +94 77 5927581 %2B94%2077%207779495

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User Manager MySQL Exception

2015-04-06 Thread Inshaf Mahath
Hi Kasun,

Did you try on mysql-connector-java-5.1.30.jar? I faced some issues because
of different version of jars. But 5.1.30 worked for me.

On Tue, Apr 7, 2015 at 1:26 AM, Kasun Dananjaya Delgolla kas...@wso2.com
wrote:

 Hi All,

 I'm getting a MySQL Error
 (com.mysql.jdbc.exceptions.MySQLSyntaxErrorException) when I'm trying to
 manager users via Carbon console. MySQL version in the server is 5.5.41 and
 the connectorJ version is 5.1.35. I have tried the solution suggested by
 Darshana in [1] and it did not work for me.

 Any idea how to resolve this?

 [1] - https://wso2.org/jira/browse/IDENTITY-1641

 Thanks
 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 771 771 015
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 http://lk.linkedin.com/in/kasundananjaya*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-20 Thread Inshaf Mahath
Congrats Godwin!!!

On Fri, Mar 20, 2015 at 3:57 PM, Hemika Kodikara hem...@wso2.com wrote:

 Congratz Godwin!

 Hemika Kodikara
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middleware
 http://wso2.com

 Mobile : +9477762

 On Fri, Mar 20, 2015 at 3:54 PM, Thanuja Jayasinghe than...@wso2.com
 wrote:

 Congratz Godwin...

 On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Amila Godwin Shrimal as a WSO2 Committer.
 Godwin has been a valuable contributor for WSO2 Identity Server
 product, and in recognition of his contribution to WSO2, he has been voted
 as a WSO2 Committer.

 Godwin, congratulations and keep up the good work!

 Thanks  Regards.

 --

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891 +94758009992

 ___
 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




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-10 Thread Inshaf Mahath
Hi Abimaran,

I have tried a sample Boolean() function. It works for me too. You can try
something like following to evaluate strings.

var a = true;
var val = (a === 'true');
log.debug(Boolean(val));


On Tue, Mar 10, 2015 at 11:29 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Thanks Himasha,

 In Jaggery, follwing is possible to do and works fine.

 var isLogoutRequest = false;

 if(!Boolean(isLogoutRequest)) {
//
 }


 I was thinking, why can't we have this type of conversion for String value
 of true/false in Jagger?

 On Tue, Mar 10, 2015 at 11:19 AM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi Abimaran,

 You could check [1] for different options. Check the answer  where they
 are prioritized based on performance.

 [1]
 http://stackoverflow.com/questions/263965/how-can-i-convert-a-string-to-boolean-in-javascript/28588344#28588344

 Thanks,
 Himasha

 On Tue, Mar 10, 2015 at 11:03 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Hi,

 I have a query string parameter with value true or false. I need to
 convert this value to corresponding boolean value for some conditional
 checking.

 Currently, I'm using string comparision with == to evaluate.

 var isPassiveAuthRequired = request.getParameter(passiveAuthRequired);

 if('true' == isPassiveAuthRequired)   {
 //
 }

 This doesn't look a proper way. I tried Boolean(isPassiveAuthRequired),
 but it returns false even for value 'true'.

 Anybody knows a better way?

 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-06 Thread Inshaf Mahath
Congrats Ashan!!

On Fri, Mar 6, 2015 at 4:55 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Ashan!

 On Fri, Mar 6, 2015 at 4:53 PM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratz Ashan.

 On Fri, Mar 6, 2015 at 4:45 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 Hi All
 It's my pleasure to welcome Ashan as a WSO2 Committer.

 Ashan, welcome aboard and keep up the good work!

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks  Regards
 --
 Srisunmugaraja Paraparan
 Software Engineer,
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email : parapa...@wso2.com, mobile : +94 77 0362151

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Chamila de Alwis

2015-03-05 Thread Inshaf Mahath
Congrats Chamila.

On Fri, Mar 6, 2015 at 8:34 AM, Roshan Deniyage rosh...@wso2.com wrote:

 Congrats Chamila!!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Fri, Mar 6, 2015 at 8:33 AM, Thilini Cooray thili...@wso2.com wrote:

 Congratulations, Chamila

 On Fri, Mar 6, 2015 at 8:32 AM, Rasika Perera rasi...@wso2.com wrote:

 Congratz Chamila !!!

 On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne im...@wso2.com wrote:

 Hi Devs,

 It's my pleasure to welcome Chamila de Alwis as a WSO2 Committer.
 Chamila, welcome aboard and keep up the good work!

 Thanks

 --
 *Imesh Gunaratne*
 Technical Lead
 WSO2 Inc: http://wso2.com
 T: +94 11 214 5345 M: +94 77 374 2057
 W: http://imesh.gunaratne.org
 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 With Regards,

 *Rasika Perera*
 Software Engineer
 M: +94 71 680 9060 E: rasi...@wso2.com
 LinkedIn: http://lk.linkedin.com/in/rasika90

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Thilini Cooray
 Software Engineer
 Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194
 E-mail : thili...@wso2.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




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery server.address support in CEP 4.0.0

2015-02-26 Thread Inshaf Mahath
.call(/Test//index.jag)
 at org.jaggeryjs.rhino.Test.c0.exec(/Test//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 ... 36 more


 When I checked the server.js file in the carbon modules in both the CEP
 versions I noticed that the server.address function present in the
 server,js file in CEP 3.1.0 has been removed from the server.js file in CEP
 4.0.0.

 Is there any other way I could get the server address mentioned like in
 the example. server.tenantDomain(), server.tenantId(), and
 server.tenantUser('admin') works ok in CEP 4.0.0.

 Any clarification on this issue is appreciated.

 [1] http://jaggeryjs.org/documentation.jag?api=server2

 Thanks.
 --
 Sabra Ossen
 *Software Engineering Intern*
 Mobile : +94 (0) 785 227 769
 sa...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Aiyadurai Rajeevn

2015-02-25 Thread Inshaf Mahath
Congrats Rajeevan 

On Thu, Feb 26, 2015 at 10:08 AM, Rajeevan Vimalanathan rajeev...@wso2.com
wrote:

 Congrats Rajeevan...!!!

 On Thu, Feb 26, 2015 at 10:05 AM, Lahiru Cooray lahi...@wso2.com wrote:

 Congratz Rajeevan!!!

 On Thu, Feb 26, 2015 at 10:00 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:


 Hi all,

 It is with great pleasure that WSO2 welcomes Aiyadurai Rajeevn as
 WSO2 committer!

 Congratulations!

 thanks,
 Dimuthu
 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Lahiru Cooray*
 Software Engineer
 WSO2, Inc.;http://wso2.com/
 lean.enterprise.middleware

 Mobile: +94 715 654154

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding WSO2 license header to a .properties file

2015-02-13 Thread Inshaf Mahath
Hi Rajeevan,

You can refer  PRODUCT_HOME/repository/conf/log4j.properties file. It has
some license header information.

Regards,
Inshaf

On Fri, Feb 13, 2015 at 2:36 PM, Senduran Balasubramaniyam 
sendu...@wso2.com wrote:

 Hi Rajeevan,

 Since .properties files don't support multiline comments, you have to use
 single line comment(#) for each line of the licence header

 Regards
 Senduran

 On Fri, Feb 13, 2015 at 1:53 PM, Rajeevan Vimalanathan rajeev...@wso2.com
  wrote:

 Hi,

 What is the recommended way to add WSO2 license header to a .properties
 file?
 Does anyone have any idea?

 Thanks,
 Rajeevan


 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Use of || in jaggery

2015-02-12 Thread Inshaf Mahath
Hi,

I think [1] will give more information.

[1] -
http://stackoverflow.com/questions/10790876/multiple-assignments-var-a-b-b-in-javascript

On Fri, Feb 13, 2015 at 11:46 AM, Harshan Liyanage hars...@wso2.com wrote:

 Hi Dilhasha,

 AFAIK what you have understood is correct regarding $subject.

 Regards,

 Lakshitha Harshan
 Software Engineer
 Mobile: *+94724423048*
 Email: hars...@wso2.com
 Blog : http://harshanliyanage.blogspot.com/
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 On Fri, Feb 13, 2015 at 11:29 AM, Fathima Dilhasha dilha...@wso2.com
 wrote:

 *Initialize var jagg for the first time it is met**(when it is null**)
 and in all the other times, avoid initialization keep the same value.*
 Is that correct?

 *M.N.F. Dilhasha*
 Software Engineering Intern | *WSO2 Lanka*

 email   :
 *dilha...@wso2.com dilha...@wso2.com*mobile : +94 77 8449321

 On Fri, Feb 13, 2015 at 11:24 AM, Fathima Dilhasha dilha...@wso2.com
 wrote:

 Hi,

 I came across the following jaggery syntax,

 *var jagg = jagg || (function () {...}());*

 *var jagg = jagg || {...};*


 and I'm curious on what the use of it is.
 Can someone give an explanation on what context this is useful?

 Regards,
 Dilhasha

 *M.N.F. Dilhasha*
 Software Engineering Intern | *WSO2 Lanka*

 email   :
 *dilha...@wso2.com dilha...@wso2.com*mobile : +94 77 8449321



 ___
 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




-- 
Inshaf Mahath
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [G-Reg] NullPointerException thrown when updating tenant cache

2015-02-11 Thread Inshaf Mahath
)
at
org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)


Thanks and Best Regards,

-- 
Inshaf Mahath
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 AS failed to join cluster which is configured to a remote registry

2015-02-05 Thread Inshaf Mahath
Hi all,

Thanks for the responses. As Shiva's mentioned removing the
axis2.xml configuration worked for me.

Thanks again.

On Thu, Feb 5, 2015 at 5:26 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Inshaf,

 AFAIK you cannot test multicast scheme inside WSO2 network since multicast
 is blocked on the network. If there is no specific requirement to use
 multicast you can test using WKA scheme.

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Thu, Feb 5, 2015 at 4:36 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi,

 I am trying to share Config and Governance Partitions to a Remote
 Registry. I have followed [1] and configured WSO2 GREG as remote registry
 instance and AS as carbon server node. I was able to run GREG instance
 successfully  but failed to run AS as it's producing the following error.


 [2015-02-05 06:37:13,106]  INFO {org.wso2.carbon.core.
 clustering.hazelcast.HazelcastClusteringAgent} -  Using multicast based
 membership management scheme
 [2015-02-05 06:42:33,424] ERROR {com.hazelcast.instance.Node} -
 [127.0.0.1]:4001 [wso2.carbon.domain] Could not join cluster, shutting down!
 java.lang.IllegalStateException:
 ==
 Couldn't connect to discovered master! tryCount: 50
 address: Address[127.0.0.1]:4001
 masterAddress: Address[127.0.0.1]:0
 multicast: true
 connection: null
 ==

 at com.hazelcast.cluster.AbstractJoiner.failedJoiningToMaster(
 AbstractJoiner.java:139)
 at com.hazelcast.cluster.MulticastJoiner.doJoin(
 MulticastJoiner.java:69)
 at com.hazelcast.cluster.AbstractJoiner.join(AbstractJoiner.java:61)
 at com.hazelcast.instance.Node.join(Node.java:526)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.rejoin(Node.java:515)
 at com.hazelcast.instance.Node.join(Node.java:531)
 at com.hazelcast.instance.Node.start(Node.java:316)
 at com.hazelcast.instance.HazelcastInstanceImpl.init(
 HazelcastInstanceImpl.java:94)
 at com.hazelcast.instance.HazelcastInstanceFactory.
 newHazelcastInstance(HazelcastInstanceFactory.java:87)
 at com.hazelcast.instance.HazelcastInstanceFactory.
 newHazelcastInstance(HazelcastInstanceFactory.java:72)
 at com.hazelcast.core.Hazelcast.newHazelcastInstance(
 Hazelcast.java:58)
 at org.wso2.carbon.core.clustering.hazelcast.
 HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:178)
 at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(
 ClusteringUtil.java:38)
 at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
 nt.completeInitialization(StartupFinalizerServiceComponent.java:177)
 at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
 nt.serviceChanged(StartupFinalizerServiceComponent.java:284)
 at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.
 serviceChanged(FilteredServiceListener.java:107)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
 dispatchEvent(BundleContextImpl.java:861)
 at org.eclipse.osgi.framework.eventmgr.EventManager.
 dispatchEvent(EventManager.java:230)
 at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
 dispatchEventSynchronous(ListenerQueue.java:148)
 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
 publishServiceEventPrivileged(ServiceRegistry.java:819)
 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
 publishServiceEvent(ServiceRegistry.java:771)
 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.
 register(ServiceRegistrationImpl.java:130)
 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
 registerService

[Dev] WSO2 AS failed to join cluster which is configured to a remote registry

2015-02-05 Thread Inshaf Mahath
(
StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

I am not sure what went wrong. Does anyone know what causes this error?


[1] -
https://docs.wso2.com/display/Governance460/Config+and+Governance+Partitions+in+a+Remote+Registry

Thanks.

-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tomcat valve with IS

2015-01-19 Thread Inshaf Mahath
Hi Chamin,

You can try on Apache Log4j [1]. Sample implementation can be found on [2].
Hope this will work.

[1] http://logging.apache.org/log4j/2.x/
[2]
https://github.com/zamly/HiveAnalyzer-CEPNotifier/blob/master/src/main/java/org/wso2/bam/hive/CEPNotifier.java



Best Regards,

On Tue, Jan 20, 2015 at 10:42 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi all,

 I wrote a custom TomCat valve and now I need to integrate the valve with
 WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application
 server. In the case of my requirement, I host my app on Tomcat and I need
 to log the information on IS console.

 [1]
 http://dulanja.blogspot.com/2013/12/enabling-saml-sso-for-web-apps-hosted.html

 Regards !!!

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi

2015-01-05 Thread Inshaf Mahath
Congrats Akalanka.. 

On Mon, Jan 5, 2015 at 3:02 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Congrats Akalanka..!!!

 On Mon, Jan 5, 2015 at 2:58 PM, Hasitha Amal De Silva hasit...@wso2.com
 wrote:

 Congrats Akalanka ! :)

 On Mon, Jan 5, 2015 at 2:51 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Akalanka!

 On Mon, Jan 5, 2015 at 2:47 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:39 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Akalanka !

 On Mon, Jan 5, 2015 at 2:38 PM, Pranavan Theivendram 
 pranav...@wso2.com wrote:

 Congratz Akalanka :)

 On Mon, Jan 5, 2015 at 2:34 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Akalanka :)

 On Mon, Jan 5, 2015 at 2:32 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Akalanka,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 regards
 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Regards,*

 *T.Pranavan*

 *Software Engineering intern, WSO2*
 *Mobile - +94775136836 %2B94775136836*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Cheers,

 Hasitha Amal De Silva
  Software Engineer
 Mobile : 0772037426
 Blog: http://devnutshell.tumblr.com/
 WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Firzhan Naqash

2014-12-22 Thread Inshaf Mahath



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-30 Thread Inshaf Mahath
Hi,

Thanks for the response. I have already added the JAVA_HOME environment
variable which points to JDK 1.7. In my bash_profile I had the following
parameter.

export JAVA_HOME=$(/usr/libexec/java_home) - Points to
/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home

This seems to course the problem. Not sure the exact reason.

Then I installed JDK 1.6 and changed my bash_profile to following.

export
JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
- Points to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

Error got resolved after changing to 1.6. Thanks for the help.






Thanks and BR,



On Mon, Dec 1, 2014 at 10:03 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Inshaf,

 This happens when you have not set the JAVA_HOME environment variable and
 pointed to the installed JRE location. This needs to be explicitly set in
 your environment. Refer [1]

 [1] :
 https://docs.wso2.com/display/BAM241/FAQ#FAQ-Iseeanexceptionstating-java.io.IOException:Cannotrunprogram
 null/bin/javawhenrunningBAM?Whatisgoingwrong?

 On Fri, Nov 28, 2014 at 6:30 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Inshaf,

 Did you set the JAVA_HOME in your machine by adding following lines to
 .bashrc or .bash_profile?

 JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

 export JAVA_HOME

 Thanks

 On Fri, Nov 28, 2014 at 6:05 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi Lakshman,

 I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
 occasion.

 On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Inshaf,

 You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
 which is an old one. please try the right documentation[1].

 [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs

 On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi,

 I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
 After publishing the events to thrift port they were successfully stored 
 in
 Cassandra database which can be viewed using Cassandra Explorer. But
 I am getting following error once I installed the 'HTTPD Logs Analysis
 Toolbox' on BAM console.


 Hive history
 file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info
 from SCDynamicStore
 OK
 OK
 Total MapReduce jobs = 1
 Launching Job 1 out of 1
 Number of reduce tasks not specified. Estimated from input data size: 1
 In order to change the average load for a reducer (in bytes):
   set hive.exec.reducers.bytes.per.reducer=number
 In order to limit the maximum number of reducers:
   set hive.exec.reducers.max=number
 In order to set a constant number of reducers:
   set mapred.reduce.tasks=number
 java.io.IOException: Cannot run program null/bin/java (in directory
 /Users/inshaf/server/wso2bam-2.4.1): error=2, No such file or directory
 at
 java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
 at java.lang.Runtime.exec(Runtime.java:593)
 at java.lang.Runtime.exec(Runtime.java:431)
 at
 org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
 at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
 at
 org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
 at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
 at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
 at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
 at
 org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
 at
 org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
 at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:695)
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.init(UNIXProcess.java:53)
 at java.lang.ProcessImpl.start(ProcessImpl.java:91)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
 ... 18 more
 [2014-11-28 11:23:03,050

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Inshaf Mahath
Hi Lakshman,

I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
occasion.

On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Inshaf,

 You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
 which is an old one. please try the right documentation[1].

 [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs

 On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi,

 I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
 After publishing the events to thrift port they were successfully stored in
 Cassandra database which can be viewed using Cassandra Explorer. But I
 am getting following error once I installed the 'HTTPD Logs Analysis
 Toolbox' on BAM console.


 Hive history
 file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
 SCDynamicStore
 OK
 OK
 Total MapReduce jobs = 1
 Launching Job 1 out of 1
 Number of reduce tasks not specified. Estimated from input data size: 1
 In order to change the average load for a reducer (in bytes):
   set hive.exec.reducers.bytes.per.reducer=number
 In order to limit the maximum number of reducers:
   set hive.exec.reducers.max=number
 In order to set a constant number of reducers:
   set mapred.reduce.tasks=number
 java.io.IOException: Cannot run program null/bin/java (in directory
 /Users/inshaf/server/wso2bam-2.4.1): error=2, No such file or directory
 at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
 at java.lang.Runtime.exec(Runtime.java:593)
 at java.lang.Runtime.exec(Runtime.java:431)
 at
 org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
 at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
 at
 org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
 at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
 at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
 at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
 at
 org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
 at
 org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:695)
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.init(UNIXProcess.java:53)
 at java.lang.ProcessImpl.start(ProcessImpl.java:91)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
 ... 18 more
 [2014-11-28 11:23:03,050] ERROR
 {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run
 program null/bin/java (in directory /Users/inshaf/server/wso2bam-2.4.1):
 error=2, No such file or directory
 FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.MapRedTask
 [2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
 FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.MapRedTask
 [2014-11-28 11:23:03,057] ERROR
 {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
 while executing Hive script.
 Query returned non-zero code: 9, cause: FAILED: Execution Error, return
 code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
 java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
 Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.MapRedTask
 at
 org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138

Re: [Dev] WSO2 Committers += Asitha Nanayakkara

2014-11-23 Thread Inshaf Mahath
Congrats Asitha!!!

On Mon, Nov 24, 2014 at 10:16 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asitha!!!

 On Mon, Nov 24, 2014 at 10:14 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Asitha

 On Mon, Nov 24, 2014 at 10:09 AM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Asitha...!!!

 On Mon, Nov 24, 2014 at 10:07 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Nanayakkara!!! =)

 On Mon, Nov 24, 2014 at 10:01 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Mon, Nov 24, 2014 at 9:50 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asitha,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!

 thanks and best regards

 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 777542851


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Inshaf Mahath
 Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

 ___
 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



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Mahesh Chinthaka Vidanagama* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 63 63 083 | Work: +94 112 145 345
 Email: mahe...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 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




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

 ___
 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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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




-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] App cloud DSS service XML response contains addition namespaces

2014-10-10 Thread Inshaf Mahath
Hi all,

Currently we are developing a DSS service in the app cloud. After invoking
a rest operation the received XML response contains additional namespaces
in few child elements. This error occurs when there are multiple child
elements in the XML response.

Please refer the structure of the received XML from the app cloud.

devices
xmlns=http://ws.wso2.org/dataservice;
device
model_no
xmlns=http://ws.wso2.org/dataservice;rx32f
/model_no
serial_no
xmlns=http://ws.wso2.org/dataservice;214589afveqr8u9f-47
/serial_no
allocatedtrue/allocated
/device
.
device
model_norx32f/model_no
serial_no214589afveqr8u9f-48/serial_no
allocatedtrue/allocated
/device
device
model_norx32f/model_no
serial_no214589afveqr8u9f-49/serial_no
allocatedtrue/allocated
/device
device
model_norx32f/model_no
serial_no214589afveqr8u9f-50/serial_no
allocated/allocated
/device
/devices

Please refer the rest operation in the following link.

https://appserver.dev.cloud.wso2.com/services/t/alphawso2/devicereposervice-default-SNAPSHOT/getDevices

Please note that the same DSS implementation which is developed in local
DSS server, produces the correct XML response without any namespaces in
child elements.

Does anyone know what courses this output? Any solution would be
appreciated.


-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev