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

2015-03-04 Thread Dilan Udara Ariyaratne
Congratulations Chamila !!!


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

On Thu, Mar 5, 2015 at 12:50 PM, Tharindu Edirisinghe 
wrote:

> Congratulations Chamila !!!
>
> On Thu, Mar 5, 2015 at 12:48 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Congratulations Chamila !
>>
>> On Thu, Mar 5, 2015 at 12:14 PM, Harsha Kumara  wrote:
>>
>>> Congratulations Chamila!
>>>
>>> On Thu, Mar 5, 2015 at 11:22 AM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 Congrats Chamila

 On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
 wrote:

> Congratulations Chamila !!!
>
> On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan <
> rajeev...@wso2.com> wrote:
>
>> Congrats Chamila :)
>>
>> Thanks & Regards,
>> S.A.Rajeevan
>> Software Engineer WSO2 Inc
>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>
>> On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:
>>
>>> Congratulations Chamila! :)
>>>
>>> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka <
>>> daksh...@wso2.com> wrote:
>>>
 Congratz Chamilad...!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran >>> > wrote:

> Congrats Chamila. :)
>
> Good job! ^_^
>
> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
> wrote:
>
>> Congratz Chamila !!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla <
>> prasa...@wso2.com> wrote:
>>
>>> Congratulations Chamilad
>>>
>>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne >> > 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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>> ___
>> 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


>>>
>>>
>>> --
>>> *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
>>>
>>>
>>
>> ___
>> 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

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

2015-03-04 Thread Tharindu Edirisinghe
Congratulations Chamila !!!

On Thu, Mar 5, 2015 at 12:48 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Congratulations Chamila !
>
> On Thu, Mar 5, 2015 at 12:14 PM, Harsha Kumara  wrote:
>
>> Congratulations Chamila!
>>
>> On Thu, Mar 5, 2015 at 11:22 AM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> Congrats Chamila
>>>
>>> On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
>>> wrote:
>>>
 Congratulations Chamila !!!

 On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan >>> > wrote:

> Congrats Chamila :)
>
> Thanks & Regards,
> S.A.Rajeevan
> Software Engineer WSO2 Inc
> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>
> On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:
>
>> Congratulations Chamila! :)
>>
>> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Congratz Chamilad...!
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
>>> wrote:
>>>
 Congrats Chamila. :)

 Good job! ^_^

 On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
 wrote:

> Congratz Chamila !!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations Chamilad
>>
>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
>> 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
> ___
> 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
>>>
>>>
>>
>>
>> --
>> *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
>>
>>
>
> ___
> 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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +947

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

2015-03-04 Thread Malith Munasinghe
Congratulations Chamila!!!

On Thu, Mar 5, 2015 at 12:14 PM, Harsha Kumara  wrote:

> Congratulations Chamila!
>
> On Thu, Mar 5, 2015 at 11:22 AM, Shashika Karunatilaka  > wrote:
>
>> Congrats Chamila
>>
>> On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
>> wrote:
>>
>>> Congratulations Chamila !!!
>>>
>>> On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan 
>>> wrote:
>>>
 Congrats Chamila :)

 Thanks & Regards,
 S.A.Rajeevan
 Software Engineer WSO2 Inc
 E-Mail: rajeev...@wso2.com | Mobile : +94776411636

 On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:

> Congratulations Chamila! :)
>
> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Congratz Chamilad...!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
>> wrote:
>>
>>> Congrats Chamila. :)
>>>
>>> Good job! ^_^
>>>
>>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
>>> wrote:
>>>
 Congratz Chamila !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Congratulations Chamilad
>
> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
> 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
>>
>>
>
>
> --
> 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
>
>

 ___
 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
>>
>>
>
>
> --
> *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
>
>

 ___
 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> 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
>
>


-- 
Malith Munasinghe | Software Engineer
M: +94 (071) 9401122
E: mali...@wso2.com
W: http://wso2.com
___
Dev mailing li

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

2015-03-04 Thread Thusitha Thilina Dayaratne
Congratulations Chamila !

On Thu, Mar 5, 2015 at 12:14 PM, Harsha Kumara  wrote:

> Congratulations Chamila!
>
> On Thu, Mar 5, 2015 at 11:22 AM, Shashika Karunatilaka  > wrote:
>
>> Congrats Chamila
>>
>> On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
>> wrote:
>>
>>> Congratulations Chamila !!!
>>>
>>> On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan 
>>> wrote:
>>>
 Congrats Chamila :)

 Thanks & Regards,
 S.A.Rajeevan
 Software Engineer WSO2 Inc
 E-Mail: rajeev...@wso2.com | Mobile : +94776411636

 On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:

> Congratulations Chamila! :)
>
> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Congratz Chamilad...!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
>> wrote:
>>
>>> Congrats Chamila. :)
>>>
>>> Good job! ^_^
>>>
>>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
>>> wrote:
>>>
 Congratz Chamila !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Congratulations Chamilad
>
> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
> 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
>>
>>
>
>
> --
> 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
>
>

 ___
 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
>>
>>
>
>
> --
> *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
>
>

 ___
 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> 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
>
>


-- 
Thusitha Dayaratne
Software Engineer | WSO2 Inc

Emailthusit...@wso2.com
Mobile  +94712756809
Blog  alokayasoya.blogspot.com

Re: [Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Sithumini Senevirathne
Hi Krishantha,

noted. I will change it accordingly.

Thanks,
Sithumini

On Wed, Mar 4, 2015 at 5:37 PM, Krishantha Samaraweera 
wrote:

>
>
> On Wed, Mar 4, 2015 at 5:27 PM, Sithumini Senevirathne <
> sithumi...@wso2.com> wrote:
>
>> Hi Krishantha,
>>
>> Thanks for the respond.
>>
>>
>>> You have two options to assert the error condition.
>>>
>>> 1. Flush the log before creating governance endpoint and assert for "*Error
>>> during rendering" *after endpoint creation.
>>> 2. Read the carbon.home property and process the carbon log file to find
>>> specific error detail.
>>>
>>>
>> I have already done this way to assert the error condition. Just wanted
>> to know whether I have missed anything in LogViewerClient.
>>
>
> Please use @SetEnviroment custom annotation to execute the test only on
> integration environment.  We need to exclude the test from platform
> execution since it has dependency to carbon.home
>
> Thanks,
> Krishantha.
>
>>
>> Thanks,
>> Sithumini
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> Thanks,
>>> Krishantha.
>>>
>>> On Wed, Mar 4, 2015 at 4:41 PM, Sithumini Senevirathne <
>>> sithumi...@wso2.com> wrote:
>>>
 Hi,

 Currently I am working on writing a test case which required to read
 the carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
 use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
 the log content.

 My intention is to track the StackOverflowError in the log file. Below
 [1] shows the sample error log message that can be find in the carbon.log.
 Problem is none of the above mentioned methods were able to track the
 error.

 Here getMessage() method output the only the below part from the error
 log.

 Error during rendering

 Couldn't get the java.lang.StackOverflowError part in the log file.
 Is this a known issue or am I missing anything?

 [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
 {org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during
 rendering *{org.apache.tiles.jsp.taglib.RenderTagSupport}
 java.lang.StackOverflowError
 at
 org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)


 Thanks,
 Sithumini

 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

>>>
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> --
>> Sithumini Senevirathne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Review and merge the PR for WSAS-1907

2015-03-04 Thread Shashika Karunatilaka
Hi Supun

Updated the PR[1] accordingly

[1] https://github.com/wso2/product-as/pull/49

On Wed, Mar 4, 2015 at 8:02 PM, Supun Malinga  wrote:

> Hi Shashika,
>
> Let's add the features into default and worker profile as well..
>
> thanks,
>
> On Wed, Mar 4, 2015 at 5:03 PM, Shashika Karunatilaka 
> wrote:
>
>> Hi,
>>
>> Please review and merge the PR [1] for [2].
>>
>> [1] https://github.com/wso2/product-as/pull/49
>> [2] https://wso2.org/jira/browse/WSAS-1907
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
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


Re: [Dev] Clustering with a 3rd party LB/adding the LB to members

2015-03-04 Thread Manoj Kumara
Hi Sandamal,

When clustering with 3rd party LB that node will not be a part of the
cluster member list. So you do not need to add LB as well known member.
AFAIK group management aspect is internal to our ELB. Refer [1],

[1]
https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB

Regards,
Manoj


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

On Thu, Mar 5, 2015 at 7:45 AM, Sandamal Weerasinghe 
wrote:

> Hi all,
>
> If clustering is done according to pattern 3
> 
>  with
> 1 manager being passive, how would we add the LB to the members section. Do
> we need to have 2 ports opened in the LB? i.e. one for requests and one for
> cluster messages?
>
> 
> 
> xxx.xxx.xxx.xx1
> 4500
> 
> 
> xxx.xxx.xxx.xx2
> 4600
> 
> 
>
> Thanks.
>
> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>
> Mobile - +94-77-144-9640
>
> ___
> 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


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

2015-03-04 Thread Harsha Kumara
Congratulations Chamila!

On Thu, Mar 5, 2015 at 11:22 AM, Shashika Karunatilaka 
wrote:

> Congrats Chamila
>
> On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
> wrote:
>
>> Congratulations Chamila !!!
>>
>> On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan 
>> wrote:
>>
>>> Congrats Chamila :)
>>>
>>> Thanks & Regards,
>>> S.A.Rajeevan
>>> Software Engineer WSO2 Inc
>>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>>
>>> On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:
>>>
 Congratulations Chamila! :)

 On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Congratz Chamilad...!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
> wrote:
>
>> Congrats Chamila. :)
>>
>> Good job! ^_^
>>
>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
>> wrote:
>>
>>> Congratz Chamila !!!
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla <
>>> prasa...@wso2.com> wrote:
>>>
 Congratulations Chamilad

 On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
 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
>
>


 --
 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


>>>
>>> ___
>>> 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
>
>


 --
 *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


>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> 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
>
>


-- 
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


Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Sithumini Senevirathne
Hi Chandana,

Can you please share the test case, you have written?
>
>>
>>
Please find the test case at [1].

[1]
https://github.com/Sithumini/Registry1103TestCase/blob/master/Registry1103TestCase.java

Hi Sanath,


> As we discussed yesterday, did you check with GReg team about why the
>> option to set the  endpoint name and version is not available in the method
>> you are using ? Can that have a impact to this behavior?
>>
>

Yes, I discussed that problem with chandana. His suggestion was to create
the endpoint using GenericArtifactManager not using the EndpointManager.
And now this problem is solved.  As instructed endpoint is created
using GenericArtifactManager and endpoint name and the version is set. I
think that doesn't have an impact on this behaviour.

Thanks,
Sithumini








Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile: +94772325511
>>
>> On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne <
>> sithumi...@wso2.com> wrote:
>>
>>> Hi Sagara,
>>>
>>> Yes, I have already talked to them.
>>>
>>> Thanks,
>>> Sithumini
>>>
>>> On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga 
>>> wrote:
>>>

 Did you talk to Krishantha or someone from automation team about the
 issue ?

 Thanks !

 On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne <
 sithumi...@wso2.com> wrote:

> Hi,
>
> Currently I am working on writing a test case.
> The problem context is when login to the registry through a tenant
> user and when we create an endpoint then SOF errors are thrown. Errors can
> be found in carbon.log file.
>
> So in test case I followed below steps.
>
>- Created an tenant.
>- Logged in to the registry through the tenant.
>- Added an endpoint using registry GenericArtifactManager.
>- Read the log file to find the error.
>
> But here SOF error is not thrown. Then I manually add an endpoint and
> found the SOF error was thrown. Even the endpoint added through the code
> was not listed in the registry management console metadata list. But both
> endpoints have been created at the correct path.
>
> location of endpoint add in test case code level :
>
> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint
>
> location of manually added endpoint :
>
> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint
>
> This behaviour has become a blocker for this test.
> Can someone explain me the reason for this behaviour? Is there other
> way to overcome this?
>
>
> Thank you,
> Sithumini
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



 --
 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


>>>
>>>
>>> --
>>> --
>>> Sithumini Senevirathne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com *
>
>


-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Adding Custom attributes on RXT based form generation ES

2015-03-04 Thread Dakshika Jayathilaka
Thank you Shiva,

I'll try that, But as i believe this is fundamental requirement if we
generate forms from RXT.  Governance Artifacts Configuration Model
Elements[1] does not contain any additional attribute option.

Thank you,

[1]
https://docs.wso2.com/display/Governance450/Governance+Artifacts+Configuration+Model+Elements

Regards,
*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Mar 5, 2015 at 11:29 AM, Shiva Balachandran  wrote:

> Hi Dakshika,
>
> I came across this issue while doing development for BPS work, what i did
> to overcome this was to add all the attributes that i needed to the RXT and
> then let it generate the form, if you understand the extension model that
> ES is on, you can override the default files using your own files. So, what
> you can do is let it generate the form and then, copy the div containing
> the form attributes and recreate your own hbs file and override the
> generated one. This way you will be able to manipulate and do all your
> client side generic data validation logic. Here is an article[1] i wrote on
> what i learnt from the ES Extension Model. Hope it is clear.
>
> [1] -
> https://shivabalachandran.wordpress.com/2015/01/08/wso2-enterprise-store-extension-model/
>
> Thank you.
>
> Regards,
> Shiva Balachandran
>
> On Thu, Mar 5, 2015 at 7:57 AM, Dakshika Jayathilaka 
> wrote:
>
>> Hi,
>>
>> I need to add placeholder text to each input fields that generated based
>> on RXT[1].
>> Seems there is no window to add any custom attributes or data
>> attributes[2]. Also I need to implement client side generic data validation
>> logic. In order to implement that type of logic we need to add some custom
>> data attributes to each field as wel.
>>
>> Is there any way way of achieving this?
>>
>> [1]
>> https://docs.wso2.com/display/ES100/Adding+a+New+Asset+Type#AddingaNewAssetType-Step1-CreatinganRXTdefinitionforyourassettype
>>
>> [2] http://www.w3.org/TR/2011/WD-html5-20110525/elements.html
>>
>> Thank you,
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> ___
>> 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


Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Krishantha Samaraweera
Hi Sithumini,

You are invoking governance API though the tests cases, can you do the same
though external class (not going thought test test framework) and check the
behaviour.

Please check whether you are missing any steps while adding endpoint.

Thanks,
Krishantha.



On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne 
wrote:

> Hi,
>
> Currently I am working on writing a test case.
> The problem context is when login to the registry through a tenant user
> and when we create an endpoint then SOF errors are thrown. Errors can be
> found in carbon.log file.
>
> So in test case I followed below steps.
>
>- Created an tenant.
>- Logged in to the registry through the tenant.
>- Added an endpoint using registry GenericArtifactManager.
>- Read the log file to find the error.
>
> But here SOF error is not thrown. Then I manually add an endpoint and
> found the SOF error was thrown. Even the endpoint added through the code
> was not listed in the registry management console metadata list. But both
> endpoints have been created at the correct path.
>
> location of endpoint add in test case code level :
>
> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint
>
> location of manually added endpoint :
>
> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint
>
> This behaviour has become a blocker for this test.
> Can someone explain me the reason for this behaviour? Is there other way
> to overcome this?
>
>
> Thank you,
> Sithumini
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Adding Custom attributes on RXT based form generation ES

2015-03-04 Thread Shiva Balachandran
Hi Dakshika,

I came across this issue while doing development for BPS work, what i did
to overcome this was to add all the attributes that i needed to the RXT and
then let it generate the form, if you understand the extension model that
ES is on, you can override the default files using your own files. So, what
you can do is let it generate the form and then, copy the div containing
the form attributes and recreate your own hbs file and override the
generated one. This way you will be able to manipulate and do all your
client side generic data validation logic. Here is an article[1] i wrote on
what i learnt from the ES Extension Model. Hope it is clear.

[1] -
https://shivabalachandran.wordpress.com/2015/01/08/wso2-enterprise-store-extension-model/

Thank you.

Regards,
Shiva Balachandran

On Thu, Mar 5, 2015 at 7:57 AM, Dakshika Jayathilaka 
wrote:

> Hi,
>
> I need to add placeholder text to each input fields that generated based
> on RXT[1].
> Seems there is no window to add any custom attributes or data
> attributes[2]. Also I need to implement client side generic data validation
> logic. In order to implement that type of logic we need to add some custom
> data attributes to each field as wel.
>
> Is there any way way of achieving this?
>
> [1]
> https://docs.wso2.com/display/ES100/Adding+a+New+Asset+Type#AddingaNewAssetType-Step1-CreatinganRXTdefinitionforyourassettype
>
> [2] http://www.w3.org/TR/2011/WD-html5-20110525/elements.html
>
> Thank you,
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> ___
> 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


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

2015-03-04 Thread Shashika Karunatilaka
Congrats Chamila

On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake 
wrote:

> Congratulations Chamila !!!
>
> On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan 
> wrote:
>
>> Congrats Chamila :)
>>
>> Thanks & Regards,
>> S.A.Rajeevan
>> Software Engineer WSO2 Inc
>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>
>> On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:
>>
>>> Congratulations Chamila! :)
>>>
>>> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka >> > wrote:
>>>
 Congratz Chamilad...!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
 wrote:

> Congrats Chamila. :)
>
> Good job! ^_^
>
> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
> wrote:
>
>> Congratz Chamila !!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla > > wrote:
>>
>>> Congratulations Chamilad
>>>
>>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
>>> 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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>> ___
>> 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


>>>
>>>
>>> --
>>> *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
>>>
>>>
>>
>> ___
>> 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
>
>


-- 
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


Re: [Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-04 Thread Shiva Balachandran
Hi Malith,

I come across this issue [1] when i used the smooks configuration. Can you
explain to me where should i place the input.xml and the output.xml and
related files?



[1] - 2015-03-04 16:03:59,244] ERROR - SmooksMediator Failed to filter
source.
org.milyn.SmooksException: Failed to filter source.
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
86)
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
61)
at org.milyn.Smooks._filter(Smooks.java:516)
at org.milyn.Smooks.filterSource(Smooks.java:475)
at
org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
tor.java:123)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
diator.java:131)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
xyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
singRequest(ServerWorker.java:411)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
ava:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:172)
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)
Caused by: java.lang.IllegalArgumentException: prefix cannot be "null" when
crea
ting a QName
at javax.xml.namespace.QName.(QName.java:251)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XML
EventAllocatorImpl.java:254)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(
XMLEventAllocatorImpl.java:76)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XML
EventAllocatorImpl.java:53)
at
com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventRead
erImpl.java:84)
at
com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImp
l.java:248)
at
org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvent
s(IOElementPipe.java:90)
at
org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOEle
mentPipe.java:68)
at
org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(Ele
mentInputStream.java:61)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown
Source)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
 Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:70)
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
75)
... 15 more
[2015-03-04 16:03:59,259] ERROR - NativeWorkerPool Uncaught exception
org.wso2.carbon.mediator.service.MediatorException: Failed to filter
source. Cau
sed by Failed to filter source.
at
org.wso2.carbon.mediator.transform.SmooksMediator.handleException(Smo
oksMediator.java:242)
at
org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
tor.java:137)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
diator.java:131)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
xyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
singRequest(ServerWorker.java:411)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
ava:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
at
java.util.concurrent.ThreadPoolExe

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

2015-03-04 Thread Vijitha Ekanayake
Congratulations Chamila !!!

On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan 
wrote:

> Congrats Chamila :)
>
> Thanks & Regards,
> S.A.Rajeevan
> Software Engineer WSO2 Inc
> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>
> On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:
>
>> Congratulations Chamila! :)
>>
>> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka 
>> wrote:
>>
>>> Congratz Chamilad...!
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
>>> wrote:
>>>
 Congrats Chamila. :)

 Good job! ^_^

 On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva 
 wrote:

> Congratz Chamila !!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
> wrote:
>
>> Congratulations Chamilad
>>
>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
>> 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
> ___
> 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
>>>
>>>
>>
>>
>> --
>> *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
>>
>>
>
> ___
> 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


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

2015-03-04 Thread Aiyadurai Rajeevan
Congrats Chamila :)

Thanks & Regards,
S.A.Rajeevan
Software Engineer WSO2 Inc
E-Mail: rajeev...@wso2.com | Mobile : +94776411636

On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam  wrote:

> Congratulations Chamila! :)
>
> On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka 
> wrote:
>
>> Congratz Chamilad...!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
>> wrote:
>>
>>> Congrats Chamila. :)
>>>
>>> Good job! ^_^
>>>
>>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:
>>>
 Congratz Chamila !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
 wrote:

> Congratulations Chamilad
>
> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
> 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
>>
>>
>
>
> --
> 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
>
>

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


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

2015-03-04 Thread Jerad Rutnam
Congratulations Chamila! :)

On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka 
wrote:

> Congratz Chamilad...!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
> wrote:
>
>> Congrats Chamila. :)
>>
>> Good job! ^_^
>>
>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:
>>
>>> Congratz Chamila !!!
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
>>> wrote:
>>>
 Congratulations Chamilad

 On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
 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
>
>


 --
 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


>>>
>>> ___
>>> 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
>
>


-- 
*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


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

2015-03-04 Thread Shiroshica Kulatilake
Congrats Chamila !!



On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka 
wrote:

> Congratz Chamilad...!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran 
> wrote:
>
>> Congrats Chamila. :)
>>
>> Good job! ^_^
>>
>> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:
>>
>>> Congratz Chamila !!!
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
>>> wrote:
>>>
 Congratulations Chamilad

 On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne 
 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
>
>


 --
 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


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


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

2015-03-04 Thread Dakshika Jayathilaka
Congratz Chamilad...!

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran  wrote:

> Congrats Chamila. :)
>
> Good job! ^_^
>
> On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:
>
>> Congratz Chamila !!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
>> wrote:
>>
>>> Congratulations Chamilad
>>>
>>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne  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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>> ___
>> 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


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

2015-03-04 Thread Shiva Balachandran
Congrats Chamila. :)

Good job! ^_^

On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:

> Congratz Chamila !!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
> wrote:
>
>> Congratulations Chamilad
>>
>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne  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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
> ___
> 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


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

2015-03-04 Thread Kasun De Silva
Congratz Chamila !!!

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
wrote:

> Congratulations Chamilad
>
> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne  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
>>
>>
>
>
> --
> 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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2015-03-04 Thread Prasanna Dangalla
Congratulations Chamilad

On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne  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
>
>


-- 
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


[Dev] WSO2 Committers += Chamila de Alwis

2015-03-04 Thread Imesh Gunaratne
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


Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Chandana Napagoda
Hi Sithunimi,

Can you please share the test case, you have written?

Regards,
Chandana

On Thu, Mar 5, 2015 at 7:45 AM, Saneth Dharmakeerthi 
wrote:

> Hi Sithumini,
>
> As we discussed yesterday, did you check with GReg team about why the
> option to set the  endpoint name and version is not available in the method
> you are using ? Can that have a impact to this behavior?
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne <
> sithumi...@wso2.com> wrote:
>
>> Hi Sagara,
>>
>> Yes, I have already talked to them.
>>
>> Thanks,
>> Sithumini
>>
>> On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>> Did you talk to Krishantha or someone from automation team about the
>>> issue ?
>>>
>>> Thanks !
>>>
>>> On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne <
>>> sithumi...@wso2.com> wrote:
>>>
 Hi,

 Currently I am working on writing a test case.
 The problem context is when login to the registry through a tenant user
 and when we create an endpoint then SOF errors are thrown. Errors can be
 found in carbon.log file.

 So in test case I followed below steps.

- Created an tenant.
- Logged in to the registry through the tenant.
- Added an endpoint using registry GenericArtifactManager.
- Read the log file to find the error.

 But here SOF error is not thrown. Then I manually add an endpoint and
 found the SOF error was thrown. Even the endpoint added through the code
 was not listed in the registry management console metadata list. But both
 endpoints have been created at the correct path.

 location of endpoint add in test case code level :

 /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint

 location of manually added endpoint :

 /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint

 This behaviour has become a blocker for this test.
 Can someone explain me the reason for this behaviour? Is there other
 way to overcome this?


 Thank you,
 Sithumini
 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> --
>> Sithumini Senevirathne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>
>> ___
>> 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
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] C-App with BPMN artifacts not getting deployed

2015-03-04 Thread Himasha Guruge
 Error occurred while deploying Carbon Application

org.wso2.carbon.CarbonException: artifacts.xml is invalid. No Artifact
found with the type - carbon/application

at
org.wso2.carbon.application.deployer.config.ApplicationConfiguration.buildConfiguration(ApplicationConfiguration.java:150)

at
org.wso2.carbon.application.deployer.config.ApplicationConfiguration.(ApplicationConfiguration.java:69)

at
org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:213)

at
org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)

at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)

at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)

at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)

at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)

at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)

at
org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:559)

at
org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)

at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:232)

at
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:182)

at
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285)

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(ServiceRegistry.java:214)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)

at
org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)

at
org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)

at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)

at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)

at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)

at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)

at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)

at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)

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(ServiceRegistry.java:214)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)

at
o

Re: [Dev] [BPS] C-App with BPMN artifacts not getting deployed

2015-03-04 Thread Himasha Guruge
Following error log can be seen after a while.


On Thu, Mar 5, 2015 at 7:54 AM, Himasha Guruge  wrote:

> Hi,
>
> I need to create a .car file with bpmn artifacts. Though it is getting
> uploaded successfully through management console, it is not getting
> deployed. No errors are listed as well. What am I missing here?Attached is
> the sample[1] that I created.
>
> Thanks,
>
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> himas...@wso2.com
>



-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES] Adding Custom attributes on RXT based form generation ES

2015-03-04 Thread Dakshika Jayathilaka
Hi,

I need to add placeholder text to each input fields that generated based on
RXT[1].
Seems there is no window to add any custom attributes or data
attributes[2]. Also I need to implement client side generic data validation
logic. In order to implement that type of logic we need to add some custom
data attributes to each field as wel.

Is there any way way of achieving this?

[1]
https://docs.wso2.com/display/ES100/Adding+a+New+Asset+Type#AddingaNewAssetType-Step1-CreatinganRXTdefinitionforyourassettype

[2] http://www.w3.org/TR/2011/WD-html5-20110525/elements.html

Thank you,

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clustering with a 3rd party LB/adding the LB to members

2015-03-04 Thread Sandamal Weerasinghe
Hi all,

If clustering is done according to pattern 3

with
1 manager being passive, how would we add the LB to the members section. Do
we need to have 2 ports opened in the LB? i.e. one for requests and one for
cluster messages?



xxx.xxx.xxx.xx1
4500


xxx.xxx.xxx.xx2
4600



Thanks.

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

Mobile - +94-77-144-9640
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Saneth Dharmakeerthi
Hi Sithumini,

As we discussed yesterday, did you check with GReg team about why the
option to set the  endpoint name and version is not available in the method
you are using ? Can that have a impact to this behavior?

Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne  wrote:

> Hi Sagara,
>
> Yes, I have already talked to them.
>
> Thanks,
> Sithumini
>
> On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga  wrote:
>
>>
>> Did you talk to Krishantha or someone from automation team about the
>> issue ?
>>
>> Thanks !
>>
>> On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne <
>> sithumi...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Currently I am working on writing a test case.
>>> The problem context is when login to the registry through a tenant user
>>> and when we create an endpoint then SOF errors are thrown. Errors can be
>>> found in carbon.log file.
>>>
>>> So in test case I followed below steps.
>>>
>>>- Created an tenant.
>>>- Logged in to the registry through the tenant.
>>>- Added an endpoint using registry GenericArtifactManager.
>>>- Read the log file to find the error.
>>>
>>> But here SOF error is not thrown. Then I manually add an endpoint and
>>> found the SOF error was thrown. Even the endpoint added through the code
>>> was not listed in the registry management console metadata list. But both
>>> endpoints have been created at the correct path.
>>>
>>> location of endpoint add in test case code level :
>>>
>>> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint
>>>
>>> location of manually added endpoint :
>>>
>>> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint
>>>
>>> This behaviour has become a blocker for this test.
>>> Can someone explain me the reason for this behaviour? Is there other way
>>> to overcome this?
>>>
>>>
>>> Thank you,
>>> Sithumini
>>> --
>>> --
>>> Sithumini Senevirathne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>
> ___
> 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


Re: [Dev] Gsoc 2015 Idea < Google Wallet based Billing System for WSO2 Private PaaS >

2015-03-04 Thread Imesh Gunaratne
Hi Vamshi,

It's nice to see your interest on this project. The requirement of this
project is to build a Billing System for WSO2 Private PaaS (PPaaS) platform
which could integrate with Google Wallet for generating invoices and making
payments.

- The first step would be to do a literature review on existing billing
patterns which PaaS providers are currently using
- Then do an analysis on existing open source billing systems which we can
reuse or if not design & implement one from scratch
- Study Google Wallet API and see how we can utilize it
- Study WSO2 PPaaS RDBMS structure which contains usage data of the cloud
- Finally implement the complete billing system

It would be great if you could provide a project proposal for this (you
could share it on a Google Doc). There are few other students also who are
currently preparing project plans for this project. Once everyone submit
their proposals we will be reviewing them and selecting one to move forward.

Please use WSO2 Dev mailing list for this discussion, you could also find
the other project proposals being discussed on the same mailing list.

Thanks

On Wed, Mar 4, 2015 at 11:51 PM, Lakmal Warusawithana 
wrote:

> Looping Imesh, since I am traveling. Imesh will provide more details
>
> thanks
>
> On Wed, Mar 4, 2015 at 11:49 PM, Vamshi S 
> wrote:
>
>> Hi Lakmal,
>>
>> I am interested in working on this project. As per the description of the
>> project, I am supposed to build a web application that uses google checkout
>> for billing users of Paas based on the usage of resources.
>>
>> Please can you share me more information on this, So that i can start
>> working on this.
>>
>>
>>
>> Regards,
>> Vamshi.
>>
>
>
>
> --
> Lakmal Warusawithana
> Vice President, Apache Stratos
> Director - Cloud Architecture; WSO2 Inc.
> Mobile : +94714289692
> Blog : http://lakmalsview.blogspot.com/
>
>


-- 
*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


[Dev] [GSOC][SS] Proposal 9:Policy Driven Storage Provisioning for WSO2 SS

2015-03-04 Thread Prasad Fernando
Hi,

Can you explain bit more on what it expects to with the policy. Will this
policy structure be a configuration file which is dynamically edited and
read by the SS or will it be a set of rules imposed on SS that governs the
service provision?

Thanks

*Prasad Priyadarshana Fernando *
Mobile: +1 330 283 5827
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deploy Web App to Tomcat issue

2015-03-04 Thread Thanuja Jayasinghe
Hi All,

I'm also getting the same exception[1] when I try to deploy the
travelocity.war to the embedded tomcat with automation framework 4.3.x. But
same war works fine without any issues for automation framework 4.2.6 and
4.2.8. How can I resolve this?


[1] - java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1137)

Thanks,
Thanuja.

On Fri, Dec 12, 2014 at 10:57 AM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi,
>
> On Fri, Dec 12, 2014 at 9:50 AM, Vijitha Ekanayake 
> wrote:
>>
>> Hi,
>>
>> Is there a way to set a connector to a TomcatServerManager instance which
>> is provided by automation? since i need to enable ssl.
>>
>
> I'm afraid there is no way to set connector to TomcatServerManager.  Since
> the test framework is released already we can't do any modification. Please
> create a TA JIRA or RM to track this improvement.
>
> Thanks,
> Krishantha.
>
>
>>
>>
>>
>> On Thu, Dec 11, 2014 at 6:24 PM, Vijitha Ekanayake 
>> wrote:
>>>
>>> Hi,
>>>
>>> Thanks, I'll try this and get back to you.
>>>
>>> On Thu, Dec 11, 2014 at 6:17 PM, Nuwan Wimalasekara 
>>> wrote:
>>>
 Hi
 Please refer the documentation[1] for how to deploy a web application
 on the tomcat server which can be started with test framework. You can
 follow sample test case from[2]

 [1]
 https://docs.wso2.com/display/TA430/Using+Embedded+Tomcat+Server+as+a+JAX-RS+Backend+for+REST+Testing

 [2]
 https://github.com/wso2-dev/product-esb/blob/master/modules/integration/tests-integration/tests-service/src/test/java/org/wso2/carbon/esb/jaxrs/rest/test/SoapToRestPeopleSampleTestCase.java

 Thanks,
 Nuwanw

 On Thu, Dec 11, 2014 at 6:05 PM, Irham Iqbal  wrote:

> Yes we have,
>
> This[1] test case is for deploy a web application in AS.
>
> Using this code[2] you can see how we start,stop and restart carbon
> servers.
>
> [1]
> https://github.com/wso2-dev/product-as/blob/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/webapp/mgt/WebApplicationDeploymentTestCase.java
>
> [2]
> https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.extensions/src/main/java/org/wso2/carbon/automation/extensions/servers/carbonserver/CarbonServerManager.java
>
> Thanks,
>
>
> On Thu, Dec 11, 2014 at 5:29 PM, Kasun Indrasiri 
> wrote:
>
>> Do we have any test cases that we deploy web apps during integration
>> test. Can you shed some light please.
>>
>> On Thu, Dec 11, 2014 at 1:20 PM, Irham Iqbal  wrote:
>>
>>> Hi Vijitha,
>>>
>>> Did you try this manually ?
>>>
>>> I mean deploy your web application to a tomcat manually.
>>>
>>> Thanks,
>>> Iqbal
>>>
>>> On Thu, Dec 11, 2014 at 1:13 PM, Vijitha Ekanayake <
>>> vijit...@wso2.com> wrote:
>>>
 Hi Malithi,

 Thanks for the response.
 the servlet-api jar is already inside WEB-INF/lib. as you said i
 was packaging the war adding dependency in provided scope. i tried
 packaging the war removing dependency provided scope. but still having 
 the
 same issue.

 On Thu, Dec 11, 2014 at 10:37 AM, Malithi Edirisinghe <
 malit...@wso2.com> wrote:

> Hi Vijitha,
>
> Can you make sure whether you have the servlet-api jar inside
> WEB-INF/lib or may be you are packaging the war adding this 
> dependency in
> provided scope.
>
> Thanks,
> Malithi.
>
> On Thu, Dec 11, 2014 at 10:23 AM, Vijitha Ekanayake <
> vijit...@wso2.com> wrote:
>
>> Hi,
>>
>> I am working on writing integration testing for ESB. Here I need to 
>> start a tomcat instance and deploy web app to tomcat 
>> dynamically.When I start and deploy the web app it gives following 
>> warning and application failed to deploy. Same war file getting 
>> deployed successfully in external tomcat Web Server.
>>
>> codes which have used to create tomcat instance and deploy webapp
>>
>> private final Tomcat tomcat = new Tomcat();
>>
>> // Configure the standard host
>>>

Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Sithumini Senevirathne
Hi Sagara,

Yes, I have already talked to them.

Thanks,
Sithumini

On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga  wrote:

>
> Did you talk to Krishantha or someone from automation team about the issue
> ?
>
> Thanks !
>
> On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne <
> sithumi...@wso2.com> wrote:
>
>> Hi,
>>
>> Currently I am working on writing a test case.
>> The problem context is when login to the registry through a tenant user
>> and when we create an endpoint then SOF errors are thrown. Errors can be
>> found in carbon.log file.
>>
>> So in test case I followed below steps.
>>
>>- Created an tenant.
>>- Logged in to the registry through the tenant.
>>- Added an endpoint using registry GenericArtifactManager.
>>- Read the log file to find the error.
>>
>> But here SOF error is not thrown. Then I manually add an endpoint and
>> found the SOF error was thrown. Even the endpoint added through the code
>> was not listed in the registry management console metadata list. But both
>> endpoints have been created at the correct path.
>>
>> location of endpoint add in test case code level :
>>
>> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint
>>
>> location of manually added endpoint :
>>
>> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint
>>
>> This behaviour has become a blocker for this test.
>> Can someone explain me the reason for this behaviour? Is there other way
>> to overcome this?
>>
>>
>> Thank you,
>> Sithumini
>> --
>> --
>> Sithumini Senevirathne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>
>
>
>
> --
> 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
>
>


-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (REGISTRY-2431) Hard code URL

2015-03-04 Thread Ajith Vitharana
Hi Thushara,

Could you please explain the fix here ? what we need to do is construct the
solrServerUrl without hardcore. But I see you have completely removed
the getSolrUrl()
method.


solrServerUrl = "https://localhost:9443/registry/resourcesolr/solr";;

-Ajith

   Thushara Kasun Ranawaka

commented on [image: Bug] REGISTRY-2431

 *Hard code URL* 

Since these methods are deprecated and not in use, removed them after
checking integration tests
PR sent : https://github.com/wso2/carbon-registry/pull/35
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +1-812-360-5335
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Sagara Gunathunga
Did you talk to Krishantha or someone from automation team about the issue
?

Thanks !
On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne 
wrote:

> Hi,
>
> Currently I am working on writing a test case.
> The problem context is when login to the registry through a tenant user
> and when we create an endpoint then SOF errors are thrown. Errors can be
> found in carbon.log file.
>
> So in test case I followed below steps.
>
>- Created an tenant.
>- Logged in to the registry through the tenant.
>- Added an endpoint using registry GenericArtifactManager.
>- Read the log file to find the error.
>
> But here SOF error is not thrown. Then I manually add an endpoint and
> found the SOF error was thrown. Even the endpoint added through the code
> was not listed in the registry management console metadata list. But both
> endpoints have been created at the correct path.
>
> location of endpoint add in test case code level :
>
> /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint
>
> location of manually added endpoint :
>
> /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint
>
> This behaviour has become a blocker for this test.
> Can someone explain me the reason for this behaviour? Is there other way
> to overcome this?
>
>
> Thank you,
> Sithumini
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
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


Re: [Dev] [Suggestion] A Mediator for the attachment

2015-03-04 Thread Malaka Silva
Hi Kathees,

Good Suggestion. If there are valid use cases for ESB we can add this as a
mediator. Otherwise more suitable to add to connector core.

On Wed, Mar 4, 2015 at 6:16 PM, Vanjikumaran Sivajothy 
wrote:

> Yes indeed,
> How ever these can be added into "connector core"  and no need to write a
> separate mediator.
>
>
> On Wed, Mar 4, 2015 at 12:59 PM, Kathees Rajendram 
> wrote:
>
>> Hi,
>>
>> Since most of the connectors are having the attachment method, it would
>> be better if we have a mediator in ESB for the attachments. Through that
>> mediator we can extract the attachment and encode the values The mediator
>> can use the fields such as encoding type,no of attachment,so on. The Users
>> can use the configuration rather than coding.
>>
>> Thanks,
>> Kathees
>>
>> --
>> Kathees
>> Software Engineer,
>> email: kath...@wso2.com
>> mobile: +94772596173
>>
>
>
>
> --
> Sivajothy Vanjikumaran
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com *
> *Mobile:(+94)777219209*
> [image: Facebook]  [image: Twitter]
>  [image: LinkedIn]
>  [image:
> Blogger]  [image: SlideShare]
> 
>
> This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may
> have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, re-transmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. The sender does not accept liability for any errors
> or omissions
>



-- 

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/


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


[Dev] [G-Reg 4.6.0] Issue in creating an endpoint

2015-03-04 Thread Sithumini Senevirathne
Hi,

Currently I am working on writing a test case.
The problem context is when login to the registry through a tenant user and
when we create an endpoint then SOF errors are thrown. Errors can be found
in carbon.log file.

So in test case I followed below steps.

   - Created an tenant.
   - Logged in to the registry through the tenant.
   - Added an endpoint using registry GenericArtifactManager.
   - Read the log file to find the error.

But here SOF error is not thrown. Then I manually add an endpoint and found
the SOF error was thrown. Even the endpoint added through the code was not
listed in the registry management console metadata list. But both endpoints
have been created at the correct path.

location of endpoint add in test case code level :
/_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint

location of manually added endpoint :
/_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint

This behaviour has become a blocker for this test.
Can someone explain me the reason for this behaviour? Is there other way to
overcome this?


Thank you,
Sithumini
-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-04 Thread Manil Liyanage
Hi Nirmal,

Sure, I'll look in those algorithms as my first step and try working out
functionality of ML. Thanks again.

Regards,
Manil Liyanage

On Wed, Mar 4, 2015 at 7:07 PM, Nirmal Fernando  wrote:

> Yes, and for the recommendation part, you should use ML. In WSO2 ML, we
> currently do not have the support for recommendation algorithms. We use
> Apache Spark's MLLib's algorithm implementations. First step would be to
> research into the recommendation algorithms of MLLib and play with those
> and understand the nature of those algorithms.
>
> Do not hesitate to ask any questions you may run into.
>
> Good luck!
>
> On Wed, Mar 4, 2015 at 6:14 PM,  wrote:
>
>> Hi Nirmal,
>>
>> Thank you for looking into my request. I basically took a look at the
>> proposal. If we take it simply, its an extension that can be added to
>> website that would capture trends and hits and recommend it with other
>> items  to any other context. Apart from that i do not have any major
>> questions at the moment. Meanwhile I will do a in depth analysis on it.
>>
>> Thank you,
>> Manil Liyanage
>>
>> On 2015 මාර්තු 4, at ප.ව. 6.05, Nirmal Fernando  wrote:
>>
>> Hi Manil,
>>
>> Thanks for your interest on the project. Do you have any specific
>> questions that we could answer?
>>
>> PS: I'll share a slide deck done by Srinath on WSO2 Machine Learner, with
>> you.
>>
>> On Wed, Mar 4, 2015 at 5:58 PM,  wrote:
>>
>>> Hi All,
>>>
>>> My name is Manil Liyanage. I'm currently following a Masters in the
>>> field of Information Technology at University of Colombo School of
>>> Computing.
>>>
>>> I'm interested in doing $subject. i have previously contributed or done
>>> projects such as WSO2 ESB connectors for soundcloud and yammer. I'm really
>>> interested in doing projects related to web services. Im familiar with
>>> JAX-RS mostly.  please let me how can I can contribute more towards [1].
>>>
>>> Thank you,
>>> Manil Liyanage
>>>
>>>
>>> [1]
>>> https://docs.wso2.com/plugins/servlet/mobile#ProjectProposalsfor2015-Proposal11:RecommendationSolutionforWSO2MachineLearner
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-04 Thread Malith Dhanushka
Hi Shiva,

This exception is a known issue in JBoss Smooks editor. This only happens
while you run the Smooks run configuration in Eclipse and it will not be a
problem at the actual Smooks run-time.

Thanks,
Malith


On Wed, Mar 4, 2015 at 2:08 AM, Shiva Balachandran  wrote:

> Hi All,
>
> i am trying to do a XML to XML using Smooks. I am following the tutorial
> at [1]. When i run the smooks configuration in Eclipse i get the following
> error.
>
> Exception in thread "main" java.lang.IllegalArgumentException:
> ObjectSerializer argument 'object' is null.
> at
> org.jboss.tools.smooks.launch.serialize.ObjectSerializer.assertNotNull(ObjectSerializer.java:278)
> at
> org.jboss.tools.smooks.launch.serialize.ObjectSerializer.(ObjectSerializer.java:56)
> at
> org.jboss.tools.smooks.launch.serialize.ObjectSerializer.serialize(ObjectSerializer.java:79)
> at
> org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:91)
>
>
> Does any have any insights on why this is produced?
>
> [1] -
> http://wso2.com/library/tutorials/2011/06/perform-data-mapping-smooks-editor-wso2-carbon-studio/#xml
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Malith Dhanushka
Software Engineer - Data Technologies
*WSO2, Inc. : wso2.com *
*Mobile*  : +94 716 506 693
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Review and merge the PR for WSAS-1907

2015-03-04 Thread Supun Malinga
Hi Shashika,

Let's add the features into default and worker profile as well..

thanks,

On Wed, Mar 4, 2015 at 5:03 PM, Shashika Karunatilaka 
wrote:

> Hi,
>
> Please review and merge the PR [1] for [2].
>
> [1] https://github.com/wso2/product-as/pull/49
> [2] https://wso2.org/jira/browse/WSAS-1907
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-04 Thread Nirmal Fernando
Yes, and for the recommendation part, you should use ML. In WSO2 ML, we
currently do not have the support for recommendation algorithms. We use
Apache Spark's MLLib's algorithm implementations. First step would be to
research into the recommendation algorithms of MLLib and play with those
and understand the nature of those algorithms.

Do not hesitate to ask any questions you may run into.

Good luck!

On Wed, Mar 4, 2015 at 6:14 PM,  wrote:

> Hi Nirmal,
>
> Thank you for looking into my request. I basically took a look at the
> proposal. If we take it simply, its an extension that can be added to
> website that would capture trends and hits and recommend it with other
> items  to any other context. Apart from that i do not have any major
> questions at the moment. Meanwhile I will do a in depth analysis on it.
>
> Thank you,
> Manil Liyanage
>
> On 2015 මාර්තු 4, at ප.ව. 6.05, Nirmal Fernando  wrote:
>
> Hi Manil,
>
> Thanks for your interest on the project. Do you have any specific
> questions that we could answer?
>
> PS: I'll share a slide deck done by Srinath on WSO2 Machine Learner, with
> you.
>
> On Wed, Mar 4, 2015 at 5:58 PM,  wrote:
>
>> Hi All,
>>
>> My name is Manil Liyanage. I'm currently following a Masters in the field
>> of Information Technology at University of Colombo School of Computing.
>>
>> I'm interested in doing $subject. i have previously contributed or done
>> projects such as WSO2 ESB connectors for soundcloud and yammer. I'm really
>> interested in doing projects related to web services. Im familiar with
>> JAX-RS mostly.  please let me how can I can contribute more towards [1].
>>
>> Thank you,
>> Manil Liyanage
>>
>>
>> [1]
>> https://docs.wso2.com/plugins/servlet/mobile#ProjectProposalsfor2015-Proposal11:RecommendationSolutionforWSO2MachineLearner
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] datareceiver Rest Api in BAM 2.4.1 send 302 redirection

2015-03-04 Thread Gihan Anuruddha
Hi Nuwan,

If you follow this [1], you can get an idea about how HTTP input adapters
are working.

[1] - https://docs.wso2.com/display/BAM250/Quick+Start+Guide

Regards,
Gihan

On Wed, Mar 4, 2015 at 6:44 PM, Maninda Edirisooriya 
wrote:

> Hi Nuwan,
>
> You can see the corresponding 2.5.0 page is not there in docs. The reason
> is this REST API was removed since BAM 2.5.0.
> Instead you can use [1] for publishing events with REST.
>
> [1] https://docs.wso2.com/display/BAM250/Input+HTTP+Event+Adapter
>
> Thanks.
>
>
> *Maninda Edirisooriya*
> Senior Software Engineer
>
> *WSO2, Inc.*lean.enterprise.middleware.
>
> *Blog* : http://maninda.blogspot.com/
> *E-mail* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Wed, Mar 4, 2015 at 2:03 PM, Nuwan Wimalasekara 
> wrote:
>
>> Hi
>> Actually This happens on BAM 2.5.0. Not 2.4.1. In 2.4.1 datareceiver API
>> is working fine.
>>
>> Thanks,
>> Nuwanw
>>
>> On Tue, Mar 3, 2015 at 11:08 PM, Nuwan Wimalasekara 
>> wrote:
>>
>>> Hi
>>> I just need to define a stream and publish the event to the created
>>> stream using a rest client in BAM 2.4.1. As the documentation[1] , once
>>> the datareceiver api is invoked, It redirect to login page with 302 header
>>> instead of creating the stream.
>>>
>>> What is the wrong with this api or am I missing anything
>>>
>>> [1]
>>> https://docs.wso2.com/display/BAM241/Sending+Events+through+the+REST+API
>>>
>>> Below is the curl request and response I am getting.
>>>
>>> curl -k --user admin:admin
>>> https://localhost:9447/datareceiver/1.0.0/streams/ --data
>>> @streamdefn1.json -H "Accept: application/json" -H "Content-type:
>>> application/json" -X POST -v
>>>
>>> * Adding handle: conn: 0x7fd1a9003000
>>>
>>> * Adding handle: send: 0
>>>
>>> * Adding handle: recv: 0
>>>
>>> * Curl_addHandleToPipeline: length: 1
>>>
>>> * - Conn 0 (0x7fd1a9003000) send_pipe: 1, recv_pipe: 0
>>>
>>> * About to connect() to localhost port 9447 (#0)
>>>
>>> *   Trying ::1...
>>>
>>> * Connected to localhost (::1) port 9447 (#0)
>>>
>>> * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
>>>
>>> * Server certificate: localhost
>>>
>>> * Server auth using Basic with user 'admin'
>>>
>>> > POST /datareceiver/1.0.0/streams/ HTTP/1.1
>>>
>>> > Authorization: Basic YWRtaW46YWRtaW4=
>>>
>>> > User-Agent: curl/7.30.0
>>>
>>> > Host: localhost:9447
>>>
>>> > Accept: application/json
>>>
>>> > Content-type: application/json
>>>
>>> > Content-Length: 279
>>>
>>> >
>>>
>>> * upload completely sent off: 279 out of 279 bytes
>>>
>>> < HTTP/1.1 302 Found
>>>
>>> < Set-Cookie: JSESSIONID=E0495E522FDB3810278BA76F0FBE29BC; Path=/;
>>> Secure; HttpOnly
>>>
>>> < Set-Cookie: requestedURI=../../datareceiver/1.0.0/streams/; Path=/
>>>
>>> < Location: https://localhost:9447/carbon/admin/login.jsp
>>>
>>> < Content-Type: text/html;charset=UTF-8
>>>
>>> < Content-Length: 0
>>>
>>> < Date: Wed, 04 Mar 2015 06:49:14 GMT
>>>
>>> * Server WSO2 Carbon Server is not blacklisted
>>>
>>> < Server: WSO2 Carbon Server
>>>
>>> <
>>>
>>> * Connection #0 to host localhost left intact
>>>
>>>
>>> Thanks,
>>> Nuwanw
>>>
>>> --
>>> Nuwan Wimalasekara
>>> Senior Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> phone: +94 71 668 4620
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> ___
>> 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
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] datareceiver Rest Api in BAM 2.4.1 send 302 redirection

2015-03-04 Thread Maninda Edirisooriya
Hi Nuwan,

You can see the corresponding 2.5.0 page is not there in docs. The reason
is this REST API was removed since BAM 2.5.0.
Instead you can use [1] for publishing events with REST.

[1] https://docs.wso2.com/display/BAM250/Input+HTTP+Event+Adapter

Thanks.


*Maninda Edirisooriya*
Senior Software Engineer

*WSO2, Inc.*lean.enterprise.middleware.

*Blog* : http://maninda.blogspot.com/
*E-mail* : mani...@wso2.com
*Skype* : @manindae
*Twitter* : @maninda

On Wed, Mar 4, 2015 at 2:03 PM, Nuwan Wimalasekara  wrote:

> Hi
> Actually This happens on BAM 2.5.0. Not 2.4.1. In 2.4.1 datareceiver API
> is working fine.
>
> Thanks,
> Nuwanw
>
> On Tue, Mar 3, 2015 at 11:08 PM, Nuwan Wimalasekara 
> wrote:
>
>> Hi
>> I just need to define a stream and publish the event to the created
>> stream using a rest client in BAM 2.4.1. As the documentation[1] , once
>> the datareceiver api is invoked, It redirect to login page with 302 header
>> instead of creating the stream.
>>
>> What is the wrong with this api or am I missing anything
>>
>> [1]
>> https://docs.wso2.com/display/BAM241/Sending+Events+through+the+REST+API
>>
>> Below is the curl request and response I am getting.
>>
>> curl -k --user admin:admin
>> https://localhost:9447/datareceiver/1.0.0/streams/ --data
>> @streamdefn1.json -H "Accept: application/json" -H "Content-type:
>> application/json" -X POST -v
>>
>> * Adding handle: conn: 0x7fd1a9003000
>>
>> * Adding handle: send: 0
>>
>> * Adding handle: recv: 0
>>
>> * Curl_addHandleToPipeline: length: 1
>>
>> * - Conn 0 (0x7fd1a9003000) send_pipe: 1, recv_pipe: 0
>>
>> * About to connect() to localhost port 9447 (#0)
>>
>> *   Trying ::1...
>>
>> * Connected to localhost (::1) port 9447 (#0)
>>
>> * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
>>
>> * Server certificate: localhost
>>
>> * Server auth using Basic with user 'admin'
>>
>> > POST /datareceiver/1.0.0/streams/ HTTP/1.1
>>
>> > Authorization: Basic YWRtaW46YWRtaW4=
>>
>> > User-Agent: curl/7.30.0
>>
>> > Host: localhost:9447
>>
>> > Accept: application/json
>>
>> > Content-type: application/json
>>
>> > Content-Length: 279
>>
>> >
>>
>> * upload completely sent off: 279 out of 279 bytes
>>
>> < HTTP/1.1 302 Found
>>
>> < Set-Cookie: JSESSIONID=E0495E522FDB3810278BA76F0FBE29BC; Path=/;
>> Secure; HttpOnly
>>
>> < Set-Cookie: requestedURI=../../datareceiver/1.0.0/streams/; Path=/
>>
>> < Location: https://localhost:9447/carbon/admin/login.jsp
>>
>> < Content-Type: text/html;charset=UTF-8
>>
>> < Content-Length: 0
>>
>> < Date: Wed, 04 Mar 2015 06:49:14 GMT
>>
>> * Server WSO2 Carbon Server is not blacklisted
>>
>> < Server: WSO2 Carbon Server
>>
>> <
>>
>> * Connection #0 to host localhost left intact
>>
>>
>> Thanks,
>> Nuwanw
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> 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


Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT

2015-03-04 Thread Kathees Rajendram
Hi Vanji,

I am getting above exception when I run the esb sample 100. I followed the
steps as it is in the documentation[1].
[1] -
https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages

Thanks,
Kathees

On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy 
wrote:

> Hi Kathees,
>
> You question is not clear! Can you please elaborate more on what you have
> done?
>
> On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram 
> wrote:
>
>> Hi,
>>
>> I am getting following exception when I invoke the service.
>>
>> [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header
>> in request
>> org.apache.axis2.AxisFault: Missing wsse:Security header in request
>> at
>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
>> at
>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>> at
>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> 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)
>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
>> header in request
>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
>> at
>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
>> ... 9 more
>> [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response
>> message through Axis2
>> org.apache.axis2.AxisFault: Missing wsse:Security header in request
>> at
>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
>> at
>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>> at
>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> 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)
>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
>> header in request
>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
>> at
>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
>> ... 9 more
>>
>>
>> Thanks,
>> Kathees
>>
>> --
>> Kathees
>> Software Engineer,
>> email: kath...@wso2.com
>> mobile: +94772596173
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sivajothy Vanjikumaran
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com *
> *Mobile:(+94)777219209*
> [image: Facebook]  [image: Twitter]
>  [image: LinkedIn]
>  [image:
> Blogger]  [image: SlideShare]
> 
>
> This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may
> have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, re-transmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. The sender does not accept liability for any errors
> or omissions
>



-- 
Kathees
Software Engineer,
email: kath...@wso2.com
mobile: +94772596173
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Suggestion] A Mediator for the attachment

2015-03-04 Thread Vanjikumaran Sivajothy
Yes indeed,
How ever these can be added into "connector core"  and no need to write a
separate mediator.


On Wed, Mar 4, 2015 at 12:59 PM, Kathees Rajendram  wrote:

> Hi,
>
> Since most of the connectors are having the attachment method, it would be
> better if we have a mediator in ESB for the attachments. Through that
> mediator we can extract the attachment and encode the values The mediator
> can use the fields such as encoding type,no of attachment,so on. The Users
> can use the configuration rather than coding.
>
> Thanks,
> Kathees
>
> --
> Kathees
> Software Engineer,
> email: kath...@wso2.com
> mobile: +94772596173
>



-- 
Sivajothy Vanjikumaran
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com *
*Mobile:(+94)777219209*
[image: Facebook]  [image: Twitter]
 [image: LinkedIn]
 [image:
Blogger]  [image: SlideShare]


This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-04 Thread liyanagemanil
Hi Nirmal,

Thank you for looking into my request. I basically took a look at the proposal. 
If we take it simply, its an extension that can be added to website that would 
capture trends and hits and recommend it with other items  to any other 
context. Apart from that i do not have any major questions at the moment. 
Meanwhile I will do a in depth analysis on it. 

Thank you,
Manil Liyanage 

> On 2015 මාර්තු 4, at ප.ව. 6.05, Nirmal Fernando  wrote:
> 
> Hi Manil,
> 
> Thanks for your interest on the project. Do you have any specific questions 
> that we could answer? 
> 
> PS: I'll share a slide deck done by Srinath on WSO2 Machine Learner, with you.
> 
>> On Wed, Mar 4, 2015 at 5:58 PM,  wrote:
>> Hi All,
>> 
>> My name is Manil Liyanage. I'm currently following a Masters in the field of 
>> Information Technology at University of Colombo School of Computing. 
>> 
>> I'm interested in doing $subject. i have previously contributed or done 
>> projects such as WSO2 ESB connectors for soundcloud and yammer. I'm really 
>> interested in doing projects related to web services. Im familiar with 
>> JAX-RS mostly.  please let me how can I can contribute more towards [1].
>> 
>> Thank you,
>> Manil Liyanage 
>> 
>> 
>> [1] 
>> https://docs.wso2.com/plugins/servlet/mobile#ProjectProposalsfor2015-Proposal11:RecommendationSolutionforWSO2MachineLearner
>> 
>> 
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
> 
> 
> 
> -- 
> 
> Thanks & regards,
> Nirmal
> 
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
> 
> 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT

2015-03-04 Thread Vanjikumaran Sivajothy
Hi Kathees,

You question is not clear! Can you please elaborate more on what you have
done?

On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram  wrote:

> Hi,
>
> I am getting following exception when I invoke the service.
>
> [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header
> in request
> org.apache.axis2.AxisFault: Missing wsse:Security header in request
> at
> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
> at
> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
> at
> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> 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)
> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
> header in request
> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
> at
> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
> ... 9 more
> [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response
> message through Axis2
> org.apache.axis2.AxisFault: Missing wsse:Security header in request
> at
> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
> at
> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
> at
> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> 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)
> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
> header in request
> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
> at
> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
> ... 9 more
>
>
> Thanks,
> Kathees
>
> --
> Kathees
> Software Engineer,
> email: kath...@wso2.com
> mobile: +94772596173
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sivajothy Vanjikumaran
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com *
*Mobile:(+94)777219209*
[image: Facebook]  [image: Twitter]
 [image: LinkedIn]
 [image:
Blogger]  [image: SlideShare]


This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge

2015-03-04 Thread Godwin Amila Shrimal
Hi,

Please review and merge PR [1]

[1] https://github.com/wso2/carbon-identity/pull/125

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-04 Thread Nirmal Fernando
Hi Manil,

Thanks for your interest on the project. Do you have any specific questions
that we could answer?

PS: I'll share a slide deck done by Srinath on WSO2 Machine Learner, with
you.

On Wed, Mar 4, 2015 at 5:58 PM,  wrote:

> Hi All,
>
> My name is Manil Liyanage. I'm currently following a Masters in the field
> of Information Technology at University of Colombo School of Computing.
>
> I'm interested in doing $subject. i have previously contributed or done
> projects such as WSO2 ESB connectors for soundcloud and yammer. I'm really
> interested in doing projects related to web services. Im familiar with
> JAX-RS mostly.  please let me how can I can contribute more towards [1].
>
> Thank you,
> Manil Liyanage
>
>
> [1]
> https://docs.wso2.com/plugins/servlet/mobile#ProjectProposalsfor2015-Proposal11:RecommendationSolutionforWSO2MachineLearner
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-04 Thread liyanagemanil
Hi All,

My name is Manil Liyanage. I'm currently following a Masters in the field of 
Information Technology at University of Colombo School of Computing. 

I'm interested in doing $subject. i have previously contributed or done 
projects such as WSO2 ESB connectors for soundcloud and yammer. I'm really 
interested in doing projects related to web services. Im familiar with JAX-RS 
mostly.  please let me how can I can contribute more towards [1].

Thank you,
Manil Liyanage 


[1] 
https://docs.wso2.com/plugins/servlet/mobile#ProjectProposalsfor2015-Proposal11:RecommendationSolutionforWSO2MachineLearner

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


[Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT

2015-03-04 Thread Kathees Rajendram
Hi,

I am getting following exception when I invoke the service.

[2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header
in request
org.apache.axis2.AxisFault: Missing wsse:Security header in request
at
org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
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)
Caused by: org.apache.rampart.RampartException: Missing wsse:Security
header in request
at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
... 9 more
[2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response
message through Axis2
org.apache.axis2.AxisFault: Missing wsse:Security header in request
at
org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
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)
Caused by: org.apache.rampart.RampartException: Missing wsse:Security
header in request
at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
... 9 more


Thanks,
Kathees

-- 
Kathees
Software Engineer,
email: kath...@wso2.com
mobile: +94772596173
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Siddhi Process Monitor for WSO2 CEP

2015-03-04 Thread damitha kithmal
Hi,


First of all thank you Mohanadarshan for concerning and replying to my mail
and spend your time for my issue.

It seems my initial idea regarding this proposal was incorrect. I will work
on creating APIs for event flow graphs of Siddhi. I’m currently learning d3
for my level 4 project so I think it will help in implementing this
project.


I’m interested on contributing to this project, so I’m glad if you can let
me know if there is any updates regarding this idea.

Thank You

On Tue, Mar 3, 2015 at 8:28 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>
>
> On Mon, Mar 2, 2015 at 4:23 PM, damitha kithmal 
> wrote:
>
>> Hi,
>>
>
> Hi Damitha,
>
>
>>
>> I'm Damitha Kithmal, an Undergraduate of University of Moratuwa, Faculty
>> of Information Technology.
>>
>> I have successfully completed my 7 month internship and 4 month
>> consultancy contract at Millennium Information Technology as a trainee
>> software engineer.
>>
>> I'm currently doing my level 4 research project related to WSO2 CEP
>> under supervision of Prof. Gihan Dias from University of Moratuwa and
>> co supervision of Dr. Srinath Perera from WSO2. Since I've done my pre
>> research regarding WSO2 CEP for my project works, I was able to gain
>> sufficient  idea about WSO2 CEP and I’ve been able to create some sample
>> carbon components to make myself  familiar with wso2
>> carbon component building.
>>
>>
>>
>> I’ve started developing new component to CEP for siddhi process monitor
>> and I faced some issues regarding existing service access from my backend
>> component. I need to access
>>  org.wso2.carbon.event.flow.EventFlowAdminService class and the
>>
>> org.wso2.carbon.event.statistics.EventStatisticsAdminService class to
>> my backend service component. Can someone please help me to do this task?
>>
>>
>>
>> Welcome, It is nice to hear from you and happy to see that you are
> playing with CEP.. Actually for siddhi process monitor, we need to
> implement new apis to get necessary information. EventFlow admin service
> and event statistics admin service are not provide any information about
> siddhi processing.
>
> By the way, what are the issues that you are facing now ?
>
> Thanks,
> Mohan
>
> Thank You,
>>
>> --
>> Damitha Kithmal
>>
>> *Undergraduate*
>>
>> *University of Moratuwa,*
>> *Sri Lanka*.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



-- 
Damitha Kithmal

*Undergraduate*

*University of Moratuwa,*
*Sri Lanka*.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Krishantha Samaraweera
On Wed, Mar 4, 2015 at 5:27 PM, Sithumini Senevirathne 
wrote:

> Hi Krishantha,
>
> Thanks for the respond.
>
>
>> You have two options to assert the error condition.
>>
>> 1. Flush the log before creating governance endpoint and assert for "*Error
>> during rendering" *after endpoint creation.
>> 2. Read the carbon.home property and process the carbon log file to find
>> specific error detail.
>>
>>
> I have already done this way to assert the error condition. Just wanted to
> know whether I have missed anything in LogViewerClient.
>

Please use @SetEnviroment custom annotation to execute the test only on
integration environment.  We need to exclude the test from platform
execution since it has dependency to carbon.home

Thanks,
Krishantha.

>
> Thanks,
> Sithumini
>
>
>
>
>
>
>
>
>
>
>> Thanks,
>> Krishantha.
>>
>> On Wed, Mar 4, 2015 at 4:41 PM, Sithumini Senevirathne <
>> sithumi...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Currently I am working on writing a test case which required to read the
>>> carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
>>> use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
>>> the log content.
>>>
>>> My intention is to track the StackOverflowError in the log file. Below
>>> [1] shows the sample error log message that can be find in the carbon.log.
>>> Problem is none of the above mentioned methods were able to track the
>>> error.
>>>
>>> Here getMessage() method output the only the below part from the error
>>> log.
>>>
>>> Error during rendering
>>>
>>> Couldn't get the java.lang.StackOverflowError part in the log file.
>>> Is this a known issue or am I missing anything?
>>>
>>> [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
>>> {org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during
>>> rendering *{org.apache.tiles.jsp.taglib.RenderTagSupport}
>>> java.lang.StackOverflowError
>>> at
>>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)
>>>
>>>
>>> Thanks,
>>> Sithumini
>>>
>>> --
>>> --
>>> Sithumini Senevirathne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>>
>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Sithumini Senevirathne
Hi Krishantha,

Thanks for the respond.


> You have two options to assert the error condition.
>
> 1. Flush the log before creating governance endpoint and assert for "*Error
> during rendering" *after endpoint creation.
> 2. Read the carbon.home property and process the carbon log file to find
> specific error detail.
>
>
I have already done this way to assert the error condition. Just wanted to
know whether I have missed anything in LogViewerClient.

Thanks,
Sithumini










> Thanks,
> Krishantha.
>
> On Wed, Mar 4, 2015 at 4:41 PM, Sithumini Senevirathne <
> sithumi...@wso2.com> wrote:
>
>> Hi,
>>
>> Currently I am working on writing a test case which required to read the
>> carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
>> use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
>> the log content.
>>
>> My intention is to track the StackOverflowError in the log file. Below
>> [1] shows the sample error log message that can be find in the carbon.log.
>> Problem is none of the above mentioned methods were able to track the
>> error.
>>
>> Here getMessage() method output the only the below part from the error
>> log.
>>
>> Error during rendering
>>
>> Couldn't get the java.lang.StackOverflowError part in the log file.
>> Is this a known issue or am I missing anything?
>>
>> [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
>> {org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during
>> rendering *{org.apache.tiles.jsp.taglib.RenderTagSupport}
>> java.lang.StackOverflowError
>> at
>> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)
>>
>>
>> Thanks,
>> Sithumini
>>
>> --
>> --
>> Sithumini Senevirathne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge

2015-03-04 Thread Godwin Amila Shrimal
Hi,

Please review and merge the PR [1]

[1] https://github.com/wso2/carbon-multitenancy/pull/30/


Thanks
Godwin


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Review and merge the PR for WSAS-1907

2015-03-04 Thread Shashika Karunatilaka
Hi,

Please review and merge the PR [1] for [2].

[1] https://github.com/wso2/product-as/pull/49
[2] https://wso2.org/jira/browse/WSAS-1907

-- 
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


Re: [Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Krishantha Samaraweera
Hi,

Can you go to the systems logs though management console and see whether
the stacktrace details are properly shown.

The LogViewerClient invoke the LogViewer backend admin service, hence could
be a limitation with admin service operation. We've observed same behaviour
before.

You have two options to assert the error condition.

1. Flush the log before creating governance endpoint and assert for "*Error
during rendering" *after endpoint creation.
2. Read the carbon.home property and process the carbon log file to find
specific error detail.

Thanks,
Krishantha.

On Wed, Mar 4, 2015 at 4:41 PM, Sithumini Senevirathne 
wrote:

> Hi,
>
> Currently I am working on writing a test case which required to read the
> carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
> use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
> the log content.
>
> My intention is to track the StackOverflowError in the log file. Below [1]
> shows the sample error log message that can be find in the carbon.log.
> Problem is none of the above mentioned methods were able to track the
> error.
>
> Here getMessage() method output the only the below part from the error log.
>
> Error during rendering
>
> Couldn't get the java.lang.StackOverflowError part in the log file.
> Is this a known issue or am I missing anything?
>
> [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
> {org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during rendering
> *{org.apache.tiles.jsp.taglib.RenderTagSupport}
> java.lang.StackOverflowError
> at
> org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)
>
>
> Thanks,
> Sithumini
>
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to commit the patch IDENTITY-2915

2015-03-04 Thread Godwin Amila Shrimal
Hi Kishantha,

Please review and merge the PR [1].

[1] https://github.com/wso2/carbon4-kernel/pull/155


Thanks
Godwin



On Wed, Mar 4, 2015 at 2:53 PM, Godwin Amila Shrimal 
wrote:

> Hi Kishanthan,
>
> Sure. I'll send a new PR for "java8support" branch.
>
>
> Thanks
> Godwin
>
>
>
> On Wed, Mar 4, 2015 at 2:47 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Hi Godwin,
>>
>> We need to update this PR by fixing merge conflicts. Also its better if
>> you can send this PR for "java8support" branch as our current development
>> is happening in there. This branch will become the 4.4.0 release branch.
>>
>> On Tue, Mar 3, 2015 at 4:59 PM, Godwin Amila Shrimal 
>> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> I moved jira [1] to carbon team as per the discussion had with mail
>>> thread [2]. Can you please commit this to Carbon 4.4.0 ?
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-2915
>>> [2] [Dev] Tenant creation issue with Active Directory
>>>
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>>
>>>
>>> On Mon, Dec 8, 2014 at 5:03 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 Applied to patch0010. Pull will be merged.

 On Mon, Dec 8, 2014 at 3:15 PM, Johann Nallathamby 
 wrote:

> Reviewed.
>
> Thanks,
> Johann.
>
> On Thu, Dec 4, 2014 at 4:23 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> IS Team,
>>
>> Can you review this fix?
>>
>>
>> On Thu, Dec 4, 2014 at 2:26 PM, Godwin Amila Shrimal > > wrote:
>>
>>> Hi Kishanthan,
>>>
>>> As per the discussion had with you, I removed @Deprecated and
>>> attached the diff to jira, will send the pull request with @Deprecated.
>>>
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>>
>>>
>>> On Thu, Dec 4, 2014 at 2:07 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 What is the reason to deprecate these two methods? We don't
 deprecate API's when patching.

 +@Deprecated
  protected String createAdminEntry(String dnOfUserContext,
 Tenant tenant,
DirContext initialDirContext)
  throws UserStoreException {
 @@ -394,6 +397,7 @@
  return userDN;
  }

 +@Deprecated
  protected void createAdminGroup(String dnOfGroupContext,
 String adminUserDN,
  DirContext initialDirContext)
  throws UserStoreException {

 On Wed, Dec 3, 2014 at 12:53 PM, Godwin Amila Shrimal <
 god...@wso2.com> wrote:

> Hi Carbon Team,
>
> Please commit the diff attached with [1]
>
>
> [1] - https://wso2.org/jira/browse/IDENTITY-2915
>
>
> Thanks
> Godwin
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D *
>>> twitter: https://twitter.com/godwinamila
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan
>> *
>>
>
>
>
> --
> 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 

[Dev] [GSoC-2015] Proposal 15: Integrating Apache HTTP Server to WSO2 App Manager

2015-03-04 Thread Sameera Gunarathne
Hi,

I am Sameera Gunarathne from Department of Computer Science and
Engineering, University of Moratuwa. Currently I'm an intern at WSO2 Inc.

I am interested in proposal [1] and looking forward to contribute. I am
already familiar with the wso2 App Manager when referring to a redmine
issue . I will go through the  given references and contact you for further
details.

[1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal15:IntegratingApacheHTTPServertoWSO2AppManager

-- 

*Sameera Gunarathne*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: *+94 714 155 561*
Email : samee...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Googleplus ESB connector review

2015-03-04 Thread Madusanka Premaratne
Hi Elilmatha,
Done as requested. Please find the Jira[1] and the PR[2]

[1] - https://wso2.org/jira/browse/ESBCONNECT-30
[2] - https://github.com/wso2-dev/esb-connectors/pull/172

Thanks,

On Wed, Feb 25, 2015 at 10:27 AM, Madusanka Premaratne 
wrote:

> Hi Vanji,
> Both of us engaged in creating support patches. We will do this ASAP and
> send a PR.
> Thanks,
>
> On Wed, Feb 25, 2015 at 10:10 AM, Vanjikumaran Sivajothy 
> wrote:
>
>> @Thaindu and Madusanka,
>>
>> Any idea on this ?
>>
>> On Fri, Feb 20, 2015 at 5:53 PM, Elilmatha Sivanesan 
>> wrote:
>>
>>> Hi Madusanka and Tharindu
>>>
>>> Please find the feedbacks regarding Google plus connector.
>>>
>>>
>>>1. Please modify the pom to run the test cases in a single build.
>>>2. four test cases failed because of the api change they have
>>>removed 'fields' from the optional parameters [
>>>
>>>Failed tests:
>>>
>>> testListActivityWithOneOptionalParam2(org.wso2.carbon.connector.integration.test.gplus.GooglePlusActivitiesTest):
>>>JSONObject["kind"] not found.
>>>
>>>
>>>
>>> testListActivityWithOptionalParams(org.wso2.carbon.connector.integration.test.gplus.GooglePlusActivitiesTest):
>>>JSONObject["kind"] not found.
>>>
>>>
>>>
>>> testListActivityWithTwoOptionalParam1(org.wso2.carbon.connector.integration.test.gplus.GooglePlusActivitiesTest):
>>>JSONObject["kind"] not found.
>>>
>>>
>>>
>>> testListActivityWithTwoOptionalParam2(org.wso2.carbon.connector.integration.test.gplus.GooglePlusActivitiesTest):
>>>JSONObject["kind"] not found.]
>>>3.
>>>
>>>so please do the above rework and give the pull request to
>>>https://github.com/wso2/esb-connectors.
>>>
>>> Thank you.
>>> --
>>> *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
>>>
>>>
>>
>>
>> --
>> Sivajothy Vanjikumaran
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com *
>> *Mobile:(+94)777219209*
>> [image: Facebook]  [image:
>> Twitter]  [image: LinkedIn]
>>  [image:
>> Blogger]  [image: SlideShare]
>> 
>>
>> This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may
>> have received this communication in error, please reply to the
>> sender indicating that fact and delete the copy you received and in
>> addition, you should not print, copy, re-transmit, disseminate, or
>> otherwise use the information contained in this communication.
>> Internet communications cannot be guaranteed to be timely, secure, error
>> or virus-free. The sender does not accept liability for any errors
>> or omissions
>>
>
>
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook]  [image:
> Twitter]  [image: Google Plus]
>  [image:
> Linkedin]  [image: Instagram]
>  [image: Skype]
> 
>
>


-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook]  [image: Twitter]
 [image: Google Plus]
 [image:
Linkedin]  [image: Instagram]
 [image: Skype]

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


Re: [Dev] [Carbon] [java8support] - Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049

2015-03-04 Thread Thusitha Thilina Dayaratne
Hi Kishanthan,

As you suggest on the chat, I deleted the local repo and now it build
without any issues.
Thanks
Regards

On Wed, Mar 4, 2015 at 1:53 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Kishanthan
>
> I tried to build the according to the dependent order that you mentioned
> using java 1.8.0_40. But I'm getting following error when trying to build
> the kernel
>
> Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
>> Installation failed.
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
>> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>>  Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049
>> (org.eclipse.equinox.jsp.jasper 1.0.400.v20120522-2049) requires 'package
>> javax.servlet.jsp [2.0.0,2.3.0)' but it could not be found
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
>> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>>   To: org.wso2.carbon.core.ui.feature.group [4.4.0.SNAPSHOT]
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Carbon UI Feature 4.4.0.SNAPSHOT
>> (org.wso2.carbon.core.ui.feature.group 4.4.0.SNAPSHOT)
>>   To: org.eclipse.equinox.jsp.jasper [1.0.400.v20120522-2049]
>> Application failed
>
>
> Thanks
> Regards
>
> On Wed, Mar 4, 2015 at 12:38 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>>
>>
>> On Wed, Mar 4, 2015 at 12:34 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> I get updated my fork and tried to build again. Now I'm getting
>>> following error.
>>>
>>> Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
  Missing requirement: WSO2 Carbon - Addressing 4.4.0.SNAPSHOT
 (org.wso2.carbon.addressing 4.4.0.SNAPSHOT) requires 'package
 org.apache.axis2 [1.6.1.wso2v12,1.7.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Common Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.common.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.addressing [4.4.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.core.common.feature.group [4.4.0.SNAPSHOT]
 Application failed
>>>
>>>
>>> It would be great if you can tell me how can I fix this.
>>>
>>
>>
>> This development branch depends on axiom, axis2 repos and of the same
>> branch (java8support). And you have to use jdk8. So you may have to build
>> from the order like below. This dependent build order will not be needed
>> once we stabilise this branch with jdk8 build issues.
>> wso2-axiom (java8support)
>> wso2-axis2 (java8support)
>> carbon4-kernel (java8support)
>>
>> Can you try building the above and check again?
>>
>>
>>>
>>
>>>
>>> Thanks
>>> Best Regards
>>>
>>> On Wed, Mar 4, 2015 at 12:14 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Kishanthan,

 I'm working on providing tomcat 8.0.20 support for carbon platform.
 https://redmine.wso2.com/issues/3731I
 I forked the carbon4-kernel and cloned the java8support branch from the
 fork. When I trying to build the kernel  I'm getting following error


> Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
> Installation failed.
> Cannot complete the install because one or more required items could
> not be found.
>  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>  Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049
> (org.eclipse.equinox.jsp.jasper 1.0.400.v20120522-2049) requires 'package
> javax.servlet.jsp [2.0.0,2.3.0)' but it could not be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>   To: org.wso2.carbon.core.ui.feature.group [4.4.0.SNAPSHOT]
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Carbon UI Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.ui.feature.group 4.4.0.SNAPSHOT)
>   To: org.eclipse.equinox.jsp.jasper [1.0.400.v20120522-2049]
> Application failed


 Is there anything that I missed when I doing the build?

 Thanks
 Regards
 --
 Thusitha Dayaratne
 Software Engineer | WSO2 Inc

 Emailthusit...@wso2.com
 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com


>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer | WSO2 Inc
>>>
>

[Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Sithumini Senevirathne
Hi,

Currently I am working on writing a test case which required to read the
carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
the log content.

My intention is to track the StackOverflowError in the log file. Below [1]
shows the sample error log message that can be find in the carbon.log.
Problem is none of the above mentioned methods were able to track the
error.

Here getMessage() method output the only the below part from the error log.

Error during rendering

Couldn't get the java.lang.StackOverflowError part in the log file.
Is this a known issue or am I missing anything?

[1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
{org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during rendering *
{org.apache.tiles.jsp.taglib.RenderTagSupport}
java.lang.StackOverflowError
at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)


Thanks,
Sithumini

-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] Issue in automation LogViewerClient

2015-03-04 Thread Sithumini Senevirathne
Hi,

Currently I am working on writing a test case which required to read the
carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I
use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get
the log content.

My intention is to track the StackOverflowError in the log file. Below [1]
shows the sample error log message that can be find in the carbon.log.
Problem is none of the above mentioned methods were able to track the
error.

Here getMessage() method output the only the below part from the error log.

Error during rendering

Couldn't get the java.lang.StackOverflowError part in the log file.
Is this a known issue or am I missing anything?

[1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR
{org.apache.tiles.jsp.taglib.RenderTagSupport} -  *Error during rendering *
{org.apache.tiles.jsp.taglib.RenderTagSupport}
java.lang.StackOverflowError
at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571)


Thanks,
Sithumini

-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] GSoc-2015 Proposal - User-Managed Access (UMA) Profile for OAuth2

2015-03-04 Thread Pubudu Dodangoda
Hi,

I am Pubudu Dodangoda, an Engineering undergraduate from Computer Science
and Engineering department, University of Moratuwa.

I went through the GSoC proposal list and interested in proposal [1]

 and looking forward to contribute.

Currently I am in the BAM team
I am working on a  Rest API backend for BAM analytics Dashboard using Apache
CXF
(Used WSO2 developer studio)
I  worked with the User management stub to authenticate a user as a test
I will be using OAuth to replace this in the near future

Please let me know if we could have a discussion on $subject

[1] User-Managed Access (UMA) Profile for OAuth2


Thank You and Kind Regards,

-- 
*Pubudu Dodangoda*
Software Engineering Intern
WSO2 Inc.(http://wso2.com)
SRI LANKA
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] How to change m1.tiny to m1.medium in spawning instances in OpenStack via AF puppet scripts

2015-03-04 Thread Udara Liyanage
Hi,

Additionally 3 might not necessarily means m1.medium in every Openstack
environment. Plus resource configuration of m1.medium is also can be
changed  from environment to environment. So better let it be configurable.

On Tue, Mar 3, 2015 at 1:48 PM, Punnadi Gunarathna  wrote:

> Hi All,
>
> Set property value as depicted below in the cartridge definition puppet
> erb template to spawn a m1.medium instance (Ideally we should pass put a
> place holder and make the value configurable).
>
> "name": "instanceType",
>  "value": "RegionOne/3"
>
> 3 corresponds to m1.medium and 7 is corresponds to m1.tiny. Please see the
> attach image for more  flavour ids.
>
> --
> Thanks and Regards,
>
> Punnadi Gunarathna
> Senior Software Engineer,
> WSO2, Inc.; http://wso2.com 
> Blog: http://hi-my-world.blogspot.com/
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
>
>  
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal 13: ESB - End-to-end Message Tracing Support

2015-03-04 Thread Chanaka Cooray
Hi,

I am Chanaka Sampath from Department of Computer Science and Engineering,
University of Moratuwa. Currently I'm an intern at WSO2 Inc.

I am interested in proposal [1] and looking forward to contribute. I am
already familiar with the wso2 ESB. I will go through the  given references
and contact you for further details.

[1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal13:ESB-End-to-endMessageTracingSupport

Thanks,
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to see a manage menu with given permissions on management console.

2015-03-04 Thread Hemika Kodikara
I believe I made a mistake here by adding "/
permission/admin/login" permission to the parent node
as it the menu items should be under "Manage" node.

So I removed the specific permissions to it, yet I still cannot see the
menu item with "queue_menu" as id. Any advice on this ?

My purpose is to show the following menu items based on the permissions
provided. In way that the parent menu item does not hide them.

 
queue_browse
browse

org.wso2.carbon.andes.ui.i18n.Resources
queue_menu
../queues/queue_details.jsp
region1
10
manage
../queues/images/list.gif

/permission/admin/manage/queue/browseQueue


queues_add
add

org.wso2.carbon.andes.ui.i18n.Resources
queue_menu
../queues/queue_add.jsp
region1
45
home
../queues/images/add.gif

/permission/admin/manage/queue/addQueue


Hope I am clear on the description.

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

Mobile : +9477762

On Wed, Mar 4, 2015 at 11:48 AM, Hemika Kodikara  wrote:

> Hi All,
>
> I have set the following permissions on the components.xml file.
>
> 
> queue_menu
> queues
>
> org.wso2.carbon.andes.ui.i18n.Resources
> manage_menu
> #
> region1
> 25
> home
> ../queues/images/queues.gif
>
> /permission/admin/login
> 
> 
> queue_browse
> browse
>
> org.wso2.carbon.andes.ui.i18n.Resources
> queue_menu
> ../queues/queue_details.jsp
> region1
> 10
> manage
> ../queues/images/list.gif
>
> /permission/admin/manage/queue/browseQueue
> 
> 
> queues_add
> add
>
> org.wso2.carbon.andes.ui.i18n.Resources
> queue_menu
> ../queues/queue_add.jsp
> region1
> 45
> home
> ../queues/images/add.gif
>
> /permission/admin/manage/queue/addQueue
> 
>
> And I have created a role with the following permissions and added a user.
>
>
> ​
>
> But when logged in from that specific user of that role, the user cannot
> see "queue_browse" and "queues_add" menus in the  manage menu of management
> console.
>
>
> ​
>
> Any idea why this is not being displayed ?
>
> Regards,
> Hemika
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +9477762
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Failed to deploy application in WSO2 AS

2015-03-04 Thread Awanthika Senarath
Hi,

As per the offline discussion i had with Rajith Vitharana, I got it fixed
by moving the required jars into the web application lib folder itself.

thanks Rajith!

regards
Awanthika

On Wed, Mar 4, 2015 at 9:12 AM, Awanthika Senarath 
wrote:

> Hi all,
>
> when I try to deploy a web application that runs well on tomcat 7 (it
> contains several external library requirements which needs to be
> integrated) on WSO2 AS it fails to deploy with the following exception. I
> have also used the web-app-classloading.xml to set the environment to
> Tomcat.
>
> The following external jars were put into /repository/components/lib :
>
> codenvy-ssl-socket-factory.jar
> jul-to-slf4j.jar
> logback-classic.jar
> logback-core.jar
> slf4j-api.jar
>
> to my understanding the error comes due to mismatch in sl4j versions used
> in carbon and the web ap being deployed, If so how can I deploy this in
> carbon?
>
> Further when my web apps are put in, the default web app jaxrs_basic which
> is shipped with WSO2AS also fails to deploy
>
> Can someone point out the reason for this ?
>
>  ERROR {org.apache.catalina.core.ContainerBase} -  ContainerBase.addChild:
> start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/java-ca]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> at
> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:280)
> at
> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:177)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:222)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:213)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:139)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:116)
> at
> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:140)
> .
> 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)
> Caused by: java.lang.LinkageError: loader constraint violation: when
> resolving method
> "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
> the class loader (instance of
> org/wso2/carbon/webapp/mgt/loader/CarbonWebappClassLoader) of the current
> class, org/slf4j/LoggerFactory, and the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
> class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for
> the type LoggerFactory; used in the signature
> at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:306)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
> at com.codenvy.inject.ModuleScanner.(ModuleScanner.java:29)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:274)
> at
> org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)
> at
> org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)
> at
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)
> .
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 60 more
> [ERROR] CarbonTomcat - Webapp
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/java-ca]
> failed to deploy
> [ERROR] TomcatGenericWebappsDeployer - Error while deploying webapp:
> StandardContext[java-ca].File[/home/awanthika/WSO2-Development/Resources/Software/WSO2/wso2as-5.2.1/repository/deployment/server/webapps/java-ca]
>  deploy>org.wso2.carbon.tomcat.CarbonTomcatException: Webapp failed to deploy
> at
> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:292)
> at
> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:177)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleW

[Dev] [GSoC-2015] Proposal 8 : WSO2 CEP Based Throttling for API Manager

2015-03-04 Thread Nisala Nanayakkara
Hi,

I am Nisala Niroshana ,an Undergraduate from Department of Computer Science
and Engineering, University of Moratuwa. Currently I am working as an
intern at WSO2.I went through the GSoC proposal list and interested in
proposal [1]. Currently I am working in API Manager team and already familiar
with WSO2 CEP and Siddhi while working on my fast track training project.

So I am looking forward to contribute for this project.

[1]-
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal8:WSO2CEPBasedThrottlingforAPIManager

Thanks,
Nisala

-- 

*Best Regards,Nisala Niroshana Nanayakkara,*
*Bsc. Eng Undergraduate | Department of Computer Science & Engineering |
University of Moratuwa | Sri Lanka*

*Intern Software Engineer | WSO2 Lanka(pvt) Ltd *
*Director | Leo Club of University of Moratuwa.*
*Mobile | +94717600022*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal 8 : WSO2 CEP Based Throttling for API Manager

2015-03-04 Thread Nisala Nanayakkara
Hi,

I am Nisala Niroshana ,an Undergraduate from Department of Computer Science
and Engineering, University of Moratuwa. Currently I am working as an
intern at WSO2.I went through the GSoC proposal list and interested in
proposal [1]. Currently I am working in API Manager team and already familiar
with WSO2 CEP and Siddhi while working on my fast track training project.

So I am looking forward to contribute for this project.

Thanks,
Nisala




-- 

*Best Regards,Nisala Niroshana Nanayakkara,*
*Bsc. Eng Undergraduate | Department of Computer Science & Engineering |
University of Moratuwa | Sri Lanka*

*Intern Software Engineer | WSO2 Lanka(pvt) Ltd *
*Director | Leo Club of University of Moratuwa.*
*Mobile | +94717600022*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-04 Thread Nirmal Fernando
I've rescheduled to same time on Friday.

On Wed, Mar 4, 2015 at 2:54 PM, Malintha Fernando 
wrote:

> Sure thing, Friday morning would be ideal..
>
> On Wed, Mar 4, 2015 at 2:50 PM, Nirmal Fernando  wrote:
>
>> Whoops forgot that it's a holiday tomorrow :-) I'll reschedule to Friday.
>>
>> On Wed, Mar 4, 2015 at 2:49 PM, Nirmal Fernando  wrote:
>>
>>> Hi,
>>>
>>> I've scheduled a meeting at 10.30am tomorrow and invited you. If this
>>> doesn't work for you, please let us know.
>>>
>>> @Srinath I checked your calendar and picked this slot, hope it's fine
>>> with you.
>>>
>>> On Wed, Mar 4, 2015 at 9:06 AM, Malintha Fernando 
>>> wrote:
>>>
 Hi Nirmal,

 Thank you so much..

 On Wed, Mar 4, 2015 at 9:01 AM, Nirmal Fernando 
 wrote:

> Thanks, will send you an invite after discussing with others.
>
> On Wed, Mar 4, 2015 at 8:56 AM, Malintha Fernando <
> malinth...@gmail.com> wrote:
>
>> Hi Nirmal,
>>
>> Thank you for the prompt response. I am more than happy to make a
>> face2face meeting and will be available on Today afternoon, tomorrow and
>> Friday morning. Please let me know at your convenience.
>>
>> Thank you,
>>
>> On Wed, Mar 4, 2015 at 8:46 AM, Nirmal Fernando 
>> wrote:
>>
>>> Hi Malintha,
>>>
>>> Thanks for your interest on the project. We already had a discussion
>>> with another student (unfortunately, it appeared he's not eligible to
>>> participate in GSoC) at
>>> http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results
>>>
>>> If you are available, you could also arrange a face2face discussion
>>> with us at WSO2 premises.
>>>
>>> On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando <
>>> malinth...@gmail.com> wrote:
>>>
 Hi,

 I am Malintha Fernando, an undergraduate from University of
 Moratuwa, Faculty of Information Technology and I have worked as an 
 intern
 at WSO2 last year.

 I am interested in applying to GSoC project "Deep Learning for WSO2
 Machine Learner" as mentioned on the ideas page. Are there any
 documentations that I can follow to ease the gauge and to know more 
 about
 workflow and writing extensions to machine learner?

 ​Thanks in advance,​

 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog  | LinkedIn
  | Twitter
  | AboutMe
 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Malintha Fernando
>> IEEE Sectional Student Representative (MIE 92428359)
>> Undergraduate, Faculty of Information Technology,
>> University of Moratuwa
>> Blog  | LinkedIn
>>  | Twitter
>>  | AboutMe
>> 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog  | LinkedIn
  | Twitter
  | AboutMe
 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Malintha Fernando
> IEEE Sectional Student Representative (MIE 92428359)
> Undergraduate, Faculty of Information Technology,
> University of Moratuwa
> Blog  | LinkedIn
>  | Twitter
>  | AboutMe
> 
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 

Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-04 Thread Malintha Fernando
Sure thing, Friday morning would be ideal..

On Wed, Mar 4, 2015 at 2:50 PM, Nirmal Fernando  wrote:

> Whoops forgot that it's a holiday tomorrow :-) I'll reschedule to Friday.
>
> On Wed, Mar 4, 2015 at 2:49 PM, Nirmal Fernando  wrote:
>
>> Hi,
>>
>> I've scheduled a meeting at 10.30am tomorrow and invited you. If this
>> doesn't work for you, please let us know.
>>
>> @Srinath I checked your calendar and picked this slot, hope it's fine
>> with you.
>>
>> On Wed, Mar 4, 2015 at 9:06 AM, Malintha Fernando 
>> wrote:
>>
>>> Hi Nirmal,
>>>
>>> Thank you so much..
>>>
>>> On Wed, Mar 4, 2015 at 9:01 AM, Nirmal Fernando  wrote:
>>>
 Thanks, will send you an invite after discussing with others.

 On Wed, Mar 4, 2015 at 8:56 AM, Malintha Fernando >>> > wrote:

> Hi Nirmal,
>
> Thank you for the prompt response. I am more than happy to make a
> face2face meeting and will be available on Today afternoon, tomorrow and
> Friday morning. Please let me know at your convenience.
>
> Thank you,
>
> On Wed, Mar 4, 2015 at 8:46 AM, Nirmal Fernando 
> wrote:
>
>> Hi Malintha,
>>
>> Thanks for your interest on the project. We already had a discussion
>> with another student (unfortunately, it appeared he's not eligible to
>> participate in GSoC) at
>> http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results
>>
>> If you are available, you could also arrange a face2face discussion
>> with us at WSO2 premises.
>>
>> On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando <
>> malinth...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am Malintha Fernando, an undergraduate from University of
>>> Moratuwa, Faculty of Information Technology and I have worked as an 
>>> intern
>>> at WSO2 last year.
>>>
>>> I am interested in applying to GSoC project "Deep Learning for WSO2
>>> Machine Learner" as mentioned on the ideas page. Are there any
>>> documentations that I can follow to ease the gauge and to know more 
>>> about
>>> workflow and writing extensions to machine learner?
>>>
>>> ​Thanks in advance,​
>>>
>>> --
>>> Malintha Fernando
>>> IEEE Sectional Student Representative (MIE 92428359)
>>> Undergraduate, Faculty of Information Technology,
>>> University of Moratuwa
>>> Blog  | LinkedIn
>>>  | Twitter
>>>  | AboutMe
>>> 
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Malintha Fernando
> IEEE Sectional Student Representative (MIE 92428359)
> Undergraduate, Faculty of Information Technology,
> University of Moratuwa
> Blog  | LinkedIn
>  | Twitter
>  | AboutMe
> 
>



 --

 Thanks & regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> Malintha Fernando
>>> IEEE Sectional Student Representative (MIE 92428359)
>>> Undergraduate, Faculty of Information Technology,
>>> University of Moratuwa
>>> Blog  | LinkedIn
>>>  | Twitter
>>>  | AboutMe
>>> 
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Malintha Fernando
IEEE Sectional Student Representative (MIE 92428359)
Undergraduate, Faculty of Information Technology,
University of Moratuwa
Blog  | LinkedIn
 | Twitter
 | AboutMe 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB sample 354 startup fails with FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error

2015-03-04 Thread Nisrin Sheriff
Hi Asanka,

If I'm not mistaken, I think what Chanaka mentioned is that the sample
page[1] has the following sentence as a *prerequisite.*

'This sample uses Ruby so first set up Ruby support as described in Configuring
the ESB for Script Mediator Support

.'

Anyway, I'm working on restructuring this sample in a manner similar to[2]
to improve the clarity of what is documented.

[1]
https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
[2] https://docs.wso2.com/display/ESB481/Sample+0%3A+Introduction+to+ESB

Thank you.

Best Regards,
Nisrin



Nisrin Sheriff
Senior Technical Writer

*WSO2, Inc.*lean.enterprise.middleware.
mobile: +94 776 24 84 56
http://wso2.com

On Wed, Mar 4, 2015 at 2:35 PM, Asanka Vithanage  wrote:

> Hi,
>
> Thanks Chanaka for pointing out the doc, Still its doesn't clearly mention
> what configuration sections need for which sample. It seams like we are
> asking user to follow all the steps on
> https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples.
>
> I dont think its reasonable to ask from an user who only needs to try out
> few samples to do all these stuffs. Better to think about these stuffs when
> we doing doc revamps for future releases.
>
>
> On Wed, Mar 4, 2015 at 1:52 PM, Chanaka Fernando 
> wrote:
>
>> Hi Asanka,
>>
>> In fact our documentation has mentioned about this in the samples setup
>> page[1]. There is a link to this page from the sample page[2] you have
>> referred. We don't need to fix anything from the documentation. But we need
>> to check why it is not there in the p2-repo.
>>
>> Ruby support
>>
>> For Ruby support you need to install *WSO2 Carbon - JRuby Engine for
>> Mediation*. This is available in the WSO2 P2 repository. Use the WSO2
>> Carbon Component Manager UI in the management console to connect to the
>> WSO2 P2 repository and install *WSO2 Carbon - JRuby Engine for Mediation*.
>> This will install a JRuby 1.3 engine in the ESB runtime.
>>
>> Alternatively, you can also download and install the JRuby engine
>> manually. Download the jruby-complete-1.3.0.wso2v1.jar file from the
>> WSO2 P2 repository and copy it into the /
>> repository/components/dropins directory.
>>
>>
>> [1]
>> https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringtheESBforScriptMediatorSupport
>>
>> [2]
>> https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
>>
>>
>>
>> Thanks,
>>
>> Chanaka
>>
>>
>> On Wed, Mar 4, 2015 at 12:46 PM, Asanka Vithanage 
>> wrote:
>>
>>> Hi All,
>>>
>>> When trying to start ESB 480, ESB 481 with sample 354, I am observing
>>> the below error [5].
>>> As per Jira [1] and [2] , User needs to install
>>> jruby-complete-1.3.0.wso2v1.jar
>>> 
>>> resolve the mentioned issue.
>>>
>>> But our documentation[3] doesn't mention anything about this. So we need
>>> to update the sample doc.
>>>
>>> Further i cant find the  jruby-complete-1.3.0.wso2v1.jar
>>> 
>>> library on latest turing P2 repo [4]. Any idea why we don't provide library
>>> on latest P2 repo?
>>>
>>>
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-1863
>>> [2] https://wso2.org/jira/browse/CARBON-8773
>>> [3]
>>> https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
>>> [4] http://product-dist.wso2.com/p2/carbon/releases/turing/plugins/
>>>
>>> [5]
>>> [2015-03-04 12:26:34,315]  INFO - XMLConfigurationBuilder Generating the
>>> Synapse configuration model by parsing the XML configuration
>>> [2015-03-04 12:26:34,376] FATAL - ServiceBusInitializer Failed to
>>> initialize ESB due to a fatal error
>>> java.lang.NoClassDefFoundError: org/jruby/runtime/builtin/IRubyObject
>>> at
>>> com.sun.script.jruby.JRubyScriptEngineFactory.getScriptEngine(JRubyScriptEngineFactory.java:134)
>>> at
>>> javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:270)
>>> at
>>> org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:477)
>>> at
>>> org.apache.synapse.mediators.bsf.ScriptMediator.(ScriptMediator.java:168)
>>> at
>>> org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createSpecificMediator(ScriptMediatorFactory.java:102)
>>> at
>>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
>>> at
>>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
>>> at
>>> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
>>> at
>>> org.apache.synapse.config.xml.InMediatorFactory.createSpecificMediator(InMediatorFactory.java:48)
>>> at

Re: [Dev] Request to commit the patch IDENTITY-2915

2015-03-04 Thread Godwin Amila Shrimal
Hi Kishanthan,

Sure. I'll send a new PR for "java8support" branch.


Thanks
Godwin



On Wed, Mar 4, 2015 at 2:47 PM, Kishanthan Thangarajah 
wrote:

> Hi Godwin,
>
> We need to update this PR by fixing merge conflicts. Also its better if
> you can send this PR for "java8support" branch as our current development
> is happening in there. This branch will become the 4.4.0 release branch.
>
> On Tue, Mar 3, 2015 at 4:59 PM, Godwin Amila Shrimal 
> wrote:
>
>> Hi Kishanthan,
>>
>> I moved jira [1] to carbon team as per the discussion had with mail
>> thread [2]. Can you please commit this to Carbon 4.4.0 ?
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-2915
>> [2] [Dev] Tenant creation issue with Active Directory
>>
>>
>> Thanks
>> Godwin
>>
>>
>>
>>
>> On Mon, Dec 8, 2014 at 5:03 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> Applied to patch0010. Pull will be merged.
>>>
>>> On Mon, Dec 8, 2014 at 3:15 PM, Johann Nallathamby 
>>> wrote:
>>>
 Reviewed.

 Thanks,
 Johann.

 On Thu, Dec 4, 2014 at 4:23 PM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> IS Team,
>
> Can you review this fix?
>
>
> On Thu, Dec 4, 2014 at 2:26 PM, Godwin Amila Shrimal 
> wrote:
>
>> Hi Kishanthan,
>>
>> As per the discussion had with you, I removed @Deprecated and
>> attached the diff to jira, will send the pull request with @Deprecated.
>>
>>
>> Thanks
>> Godwin
>>
>>
>>
>>
>> On Thu, Dec 4, 2014 at 2:07 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> What is the reason to deprecate these two methods? We don't
>>> deprecate API's when patching.
>>>
>>> +@Deprecated
>>>  protected String createAdminEntry(String dnOfUserContext,
>>> Tenant tenant,
>>>DirContext initialDirContext)
>>>  throws UserStoreException {
>>> @@ -394,6 +397,7 @@
>>>  return userDN;
>>>  }
>>>
>>> +@Deprecated
>>>  protected void createAdminGroup(String dnOfGroupContext, String
>>> adminUserDN,
>>>  DirContext initialDirContext)
>>>  throws UserStoreException {
>>>
>>> On Wed, Dec 3, 2014 at 12:53 PM, Godwin Amila Shrimal <
>>> god...@wso2.com> wrote:
>>>
 Hi Carbon Team,

 Please commit the diff attached with [1]


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


 Thanks
 Godwin


 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D *
 twitter: https://twitter.com/godwinamila

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


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --
 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 *

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Godwin Amila 

Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-04 Thread Nirmal Fernando
Whoops forgot that it's a holiday tomorrow :-) I'll reschedule to Friday.

On Wed, Mar 4, 2015 at 2:49 PM, Nirmal Fernando  wrote:

> Hi,
>
> I've scheduled a meeting at 10.30am tomorrow and invited you. If this
> doesn't work for you, please let us know.
>
> @Srinath I checked your calendar and picked this slot, hope it's fine with
> you.
>
> On Wed, Mar 4, 2015 at 9:06 AM, Malintha Fernando 
> wrote:
>
>> Hi Nirmal,
>>
>> Thank you so much..
>>
>> On Wed, Mar 4, 2015 at 9:01 AM, Nirmal Fernando  wrote:
>>
>>> Thanks, will send you an invite after discussing with others.
>>>
>>> On Wed, Mar 4, 2015 at 8:56 AM, Malintha Fernando 
>>> wrote:
>>>
 Hi Nirmal,

 Thank you for the prompt response. I am more than happy to make a
 face2face meeting and will be available on Today afternoon, tomorrow and
 Friday morning. Please let me know at your convenience.

 Thank you,

 On Wed, Mar 4, 2015 at 8:46 AM, Nirmal Fernando 
 wrote:

> Hi Malintha,
>
> Thanks for your interest on the project. We already had a discussion
> with another student (unfortunately, it appeared he's not eligible to
> participate in GSoC) at
> http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results
>
> If you are available, you could also arrange a face2face discussion
> with us at WSO2 premises.
>
> On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando <
> malinth...@gmail.com> wrote:
>
>> Hi,
>>
>> I am Malintha Fernando, an undergraduate from University of Moratuwa,
>> Faculty of Information Technology and I have worked as an intern at WSO2
>> last year.
>>
>> I am interested in applying to GSoC project "Deep Learning for WSO2
>> Machine Learner" as mentioned on the ideas page. Are there any
>> documentations that I can follow to ease the gauge and to know more about
>> workflow and writing extensions to machine learner?
>>
>> ​Thanks in advance,​
>>
>> --
>> Malintha Fernando
>> IEEE Sectional Student Representative (MIE 92428359)
>> Undergraduate, Faculty of Information Technology,
>> University of Moratuwa
>> Blog  | LinkedIn
>>  | Twitter
>>  | AboutMe
>> 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog  | LinkedIn
  | Twitter
  | AboutMe
 

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Malintha Fernando
>> IEEE Sectional Student Representative (MIE 92428359)
>> Undergraduate, Faculty of Information Technology,
>> University of Moratuwa
>> Blog  | LinkedIn
>>  | Twitter
>>  | AboutMe
>> 
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-04 Thread Nirmal Fernando
Hi,

I've scheduled a meeting at 10.30am tomorrow and invited you. If this
doesn't work for you, please let us know.

@Srinath I checked your calendar and picked this slot, hope it's fine with
you.

On Wed, Mar 4, 2015 at 9:06 AM, Malintha Fernando 
wrote:

> Hi Nirmal,
>
> Thank you so much..
>
> On Wed, Mar 4, 2015 at 9:01 AM, Nirmal Fernando  wrote:
>
>> Thanks, will send you an invite after discussing with others.
>>
>> On Wed, Mar 4, 2015 at 8:56 AM, Malintha Fernando 
>> wrote:
>>
>>> Hi Nirmal,
>>>
>>> Thank you for the prompt response. I am more than happy to make a
>>> face2face meeting and will be available on Today afternoon, tomorrow and
>>> Friday morning. Please let me know at your convenience.
>>>
>>> Thank you,
>>>
>>> On Wed, Mar 4, 2015 at 8:46 AM, Nirmal Fernando  wrote:
>>>
 Hi Malintha,

 Thanks for your interest on the project. We already had a discussion
 with another student (unfortunately, it appeared he's not eligible to
 participate in GSoC) at
 http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results

 If you are available, you could also arrange a face2face discussion
 with us at WSO2 premises.

 On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando >>> > wrote:

> Hi,
>
> I am Malintha Fernando, an undergraduate from University of Moratuwa,
> Faculty of Information Technology and I have worked as an intern at WSO2
> last year.
>
> I am interested in applying to GSoC project "Deep Learning for WSO2
> Machine Learner" as mentioned on the ideas page. Are there any
> documentations that I can follow to ease the gauge and to know more about
> workflow and writing extensions to machine learner?
>
> ​Thanks in advance,​
>
> --
> Malintha Fernando
> IEEE Sectional Student Representative (MIE 92428359)
> Undergraduate, Faculty of Information Technology,
> University of Moratuwa
> Blog  | LinkedIn
>  | Twitter
>  | AboutMe
> 
>



 --

 Thanks & regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> Malintha Fernando
>>> IEEE Sectional Student Representative (MIE 92428359)
>>> Undergraduate, Faculty of Information Technology,
>>> University of Moratuwa
>>> Blog  | LinkedIn
>>>  | Twitter
>>>  | AboutMe
>>> 
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Malintha Fernando
> IEEE Sectional Student Representative (MIE 92428359)
> Undergraduate, Faculty of Information Technology,
> University of Moratuwa
> Blog  | LinkedIn
>  | Twitter
>  | AboutMe
> 
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to commit the patch IDENTITY-2915

2015-03-04 Thread Kishanthan Thangarajah
Hi Godwin,

We need to update this PR by fixing merge conflicts. Also its better if you
can send this PR for "java8support" branch as our current development is
happening in there. This branch will become the 4.4.0 release branch.

On Tue, Mar 3, 2015 at 4:59 PM, Godwin Amila Shrimal 
wrote:

> Hi Kishanthan,
>
> I moved jira [1] to carbon team as per the discussion had with mail thread
> [2]. Can you please commit this to Carbon 4.4.0 ?
>
> [1] https://wso2.org/jira/browse/IDENTITY-2915
> [2] [Dev] Tenant creation issue with Active Directory
>
>
> Thanks
> Godwin
>
>
>
>
> On Mon, Dec 8, 2014 at 5:03 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Applied to patch0010. Pull will be merged.
>>
>> On Mon, Dec 8, 2014 at 3:15 PM, Johann Nallathamby 
>> wrote:
>>
>>> Reviewed.
>>>
>>> Thanks,
>>> Johann.
>>>
>>> On Thu, Dec 4, 2014 at 4:23 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 IS Team,

 Can you review this fix?


 On Thu, Dec 4, 2014 at 2:26 PM, Godwin Amila Shrimal 
 wrote:

> Hi Kishanthan,
>
> As per the discussion had with you, I removed @Deprecated and attached
> the diff to jira, will send the pull request with @Deprecated.
>
>
> Thanks
> Godwin
>
>
>
>
> On Thu, Dec 4, 2014 at 2:07 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> What is the reason to deprecate these two methods? We don't deprecate
>> API's when patching.
>>
>> +@Deprecated
>>  protected String createAdminEntry(String dnOfUserContext, Tenant
>> tenant,
>>DirContext initialDirContext)
>>  throws UserStoreException {
>> @@ -394,6 +397,7 @@
>>  return userDN;
>>  }
>>
>> +@Deprecated
>>  protected void createAdminGroup(String dnOfGroupContext, String
>> adminUserDN,
>>  DirContext initialDirContext)
>>  throws UserStoreException {
>>
>> On Wed, Dec 3, 2014 at 12:53 PM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Hi Carbon Team,
>>>
>>> Please commit the diff attached with [1]
>>>
>>>
>>> [1] - https://wso2.org/jira/browse/IDENTITY-2915
>>>
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D *
>>> twitter: https://twitter.com/godwinamila
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan
>> *
>>
>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>



 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>> 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 *
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

M

Re: [Dev] ESB sample 354 startup fails with FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error

2015-03-04 Thread Asanka Vithanage
Hi,

Thanks Chanaka for pointing out the doc, Still its doesn't clearly mention
what configuration sections need for which sample. It seams like we are
asking user to follow all the steps on
https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples.

I dont think its reasonable to ask from an user who only needs to try out
few samples to do all these stuffs. Better to think about these stuffs when
we doing doc revamps for future releases.


On Wed, Mar 4, 2015 at 1:52 PM, Chanaka Fernando  wrote:

> Hi Asanka,
>
> In fact our documentation has mentioned about this in the samples setup
> page[1]. There is a link to this page from the sample page[2] you have
> referred. We don't need to fix anything from the documentation. But we need
> to check why it is not there in the p2-repo.
>
> Ruby support
>
> For Ruby support you need to install *WSO2 Carbon - JRuby Engine for
> Mediation*. This is available in the WSO2 P2 repository. Use the WSO2
> Carbon Component Manager UI in the management console to connect to the
> WSO2 P2 repository and install *WSO2 Carbon - JRuby Engine for Mediation*.
> This will install a JRuby 1.3 engine in the ESB runtime.
>
> Alternatively, you can also download and install the JRuby engine
> manually. Download the jruby-complete-1.3.0.wso2v1.jar file from the WSO2
> P2 repository and copy it into the /
> repository/components/dropins directory.
>
>
> [1]
> https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringtheESBforScriptMediatorSupport
>
> [2]
> https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
>
>
>
> Thanks,
>
> Chanaka
>
>
> On Wed, Mar 4, 2015 at 12:46 PM, Asanka Vithanage 
> wrote:
>
>> Hi All,
>>
>> When trying to start ESB 480, ESB 481 with sample 354, I am observing the
>> below error [5].
>> As per Jira [1] and [2] , User needs to install
>> jruby-complete-1.3.0.wso2v1.jar
>> 
>> resolve the mentioned issue.
>>
>> But our documentation[3] doesn't mention anything about this. So we need
>> to update the sample doc.
>>
>> Further i cant find the  jruby-complete-1.3.0.wso2v1.jar
>> 
>> library on latest turing P2 repo [4]. Any idea why we don't provide library
>> on latest P2 repo?
>>
>>
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-1863
>> [2] https://wso2.org/jira/browse/CARBON-8773
>> [3]
>> https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
>> [4] http://product-dist.wso2.com/p2/carbon/releases/turing/plugins/
>>
>> [5]
>> [2015-03-04 12:26:34,315]  INFO - XMLConfigurationBuilder Generating the
>> Synapse configuration model by parsing the XML configuration
>> [2015-03-04 12:26:34,376] FATAL - ServiceBusInitializer Failed to
>> initialize ESB due to a fatal error
>> java.lang.NoClassDefFoundError: org/jruby/runtime/builtin/IRubyObject
>> at
>> com.sun.script.jruby.JRubyScriptEngineFactory.getScriptEngine(JRubyScriptEngineFactory.java:134)
>> at
>> javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:270)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:477)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediator.(ScriptMediator.java:168)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createSpecificMediator(ScriptMediatorFactory.java:102)
>> at
>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
>> at
>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
>> at
>> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
>> at
>> org.apache.synapse.config.xml.InMediatorFactory.createSpecificMediator(InMediatorFactory.java:48)
>> at
>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
>> at
>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
>> at
>> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
>> at
>> org.apache.synapse.config.xml.SequenceMediatorFactory.createSpecificMediator(SequenceMediatorFactory.java:87)
>> at
>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
>> at
>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
>> at
>> org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.java:204)
>> at
>> org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:81)
>> at
>> org.apache.synapse.config.xml.ConfigurationFact

Re: [Dev] Changing registry mount configuration of a running server

2015-03-04 Thread Danushka Fernando
I am not saying this is a bug exactly. If this is expected behavior then we
should document it IMO. WDYT?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Wed, Mar 4, 2015 at 2:16 PM, Susinda Perera  wrote:

> It seems a bug, since it is already configured in a file we can read the
> config on server startup. Dont see a use case of again save the same on
> local registry.
>
> On Wed, Mar 4, 2015 at 2:05 PM, Dimuthu Leelarathne 
> wrote:
>
>> Hi,
>>
>> AFAIK, most people know this.
>>
>> Changing mounts is not something we do everyday. We need to clearly
>> specify the mounting process.
>>
>> thanks,
>> dimuthu
>>
>>
>> On Wed, Mar 4, 2015 at 1:57 PM, Danushka Fernando 
>> wrote:
>>
>>> Hi all
>>> Currently if we start a server with some registry mounting configuration
>>> then it will save those to the local registry. And at some point if we
>>> change those configuration then this local registry doesn't get reflected.
>>>
>>> So the mounting configuration changes will not be effective until we
>>> clean the local database.
>>>
>>> Is this a bug or is it how it is designed? If this is the expected
>>> behavior then we need to document this somewhere.
>>> WDYT?
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> Mobile:(+94)716049075
>
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Changing registry mount configuration of a running server

2015-03-04 Thread Susinda Perera
It seems a bug, since it is already configured in a file we can read the
config on server startup. Dont see a use case of again save the same on
local registry.

On Wed, Mar 4, 2015 at 2:05 PM, Dimuthu Leelarathne 
wrote:

> Hi,
>
> AFAIK, most people know this.
>
> Changing mounts is not something we do everyday. We need to clearly
> specify the mounting process.
>
> thanks,
> dimuthu
>
>
> On Wed, Mar 4, 2015 at 1:57 PM, Danushka Fernando 
> wrote:
>
>> Hi all
>> Currently if we start a server with some registry mounting configuration
>> then it will save those to the local registry. And at some point if we
>> change those configuration then this local registry doesn't get reflected.
>>
>> So the mounting configuration changes will not be effective until we
>> clean the local database.
>>
>> Is this a bug or is it how it is designed? If this is the expected
>> behavior then we need to document this somewhere.
>> WDYT?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>
>
>
> --
> 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
>
>


-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Redmine - IS integration

2015-03-04 Thread Nirmani Meegahathenna
Hi,

I've been using your OmniAuth SAML plugin
 for Redmine SSO
provisioning with an IDP. Redmine version - 2.6.2, Ruby version - 1.9.3,
Rails version - 3.2.19.

When a login request is sent, it redirects to the IDP and the session is
also created but I'm getting a "422 - Invalid form authenticity token"
error. I've attached a screen shot of the error below.

I've attached SAML Request and Response from IDP and the Rails back log.

Any idea cause for this issue.

Thanks and Regards

-- 
Nirmani Meegahathenna
*Software Engineer Intern*
Mobile : +94 (0) 775 507684
nirm...@wso2.com 


SAML
Description: Binary data


SAML
Description: Binary data


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


[Dev] Review and merge the PR for IDENTITY-2036

2015-03-04 Thread Lasitha Wattaladeniya
Hi team,

$subject please for Jira [1].  PR [2].

[1]. https://wso2.org/jira/browse/IDENTITY-2036
[2]. https://github.com/wso2/carbon-identity/pull/121

Thanks.

-- 
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


Re: [Dev] Changing registry mount configuration of a running server

2015-03-04 Thread Dimuthu Leelarathne
Hi,

AFAIK, most people know this.

Changing mounts is not something we do everyday. We need to clearly specify
the mounting process.

thanks,
dimuthu


On Wed, Mar 4, 2015 at 1:57 PM, Danushka Fernando 
wrote:

> Hi all
> Currently if we start a server with some registry mounting configuration
> then it will save those to the local registry. And at some point if we
> change those configuration then this local registry doesn't get reflected.
>
> So the mounting configuration changes will not be effective until we clean
> the local database.
>
> Is this a bug or is it how it is designed? If this is the expected
> behavior then we need to document this somewhere.
> WDYT?
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>



-- 
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


Re: [Dev] datareceiver Rest Api in BAM 2.4.1 send 302 redirection

2015-03-04 Thread Nuwan Wimalasekara
Hi
Actually This happens on BAM 2.5.0. Not 2.4.1. In 2.4.1 datareceiver API is
working fine.

Thanks,
Nuwanw

On Tue, Mar 3, 2015 at 11:08 PM, Nuwan Wimalasekara  wrote:

> Hi
> I just need to define a stream and publish the event to the created stream
> using a rest client in BAM 2.4.1. As the documentation[1] , once
> the datareceiver api is invoked, It redirect to login page with 302 header
> instead of creating the stream.
>
> What is the wrong with this api or am I missing anything
>
> [1]
> https://docs.wso2.com/display/BAM241/Sending+Events+through+the+REST+API
>
> Below is the curl request and response I am getting.
>
> curl -k --user admin:admin
> https://localhost:9447/datareceiver/1.0.0/streams/ --data
> @streamdefn1.json -H "Accept: application/json" -H "Content-type:
> application/json" -X POST -v
>
> * Adding handle: conn: 0x7fd1a9003000
>
> * Adding handle: send: 0
>
> * Adding handle: recv: 0
>
> * Curl_addHandleToPipeline: length: 1
>
> * - Conn 0 (0x7fd1a9003000) send_pipe: 1, recv_pipe: 0
>
> * About to connect() to localhost port 9447 (#0)
>
> *   Trying ::1...
>
> * Connected to localhost (::1) port 9447 (#0)
>
> * TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
>
> * Server certificate: localhost
>
> * Server auth using Basic with user 'admin'
>
> > POST /datareceiver/1.0.0/streams/ HTTP/1.1
>
> > Authorization: Basic YWRtaW46YWRtaW4=
>
> > User-Agent: curl/7.30.0
>
> > Host: localhost:9447
>
> > Accept: application/json
>
> > Content-type: application/json
>
> > Content-Length: 279
>
> >
>
> * upload completely sent off: 279 out of 279 bytes
>
> < HTTP/1.1 302 Found
>
> < Set-Cookie: JSESSIONID=E0495E522FDB3810278BA76F0FBE29BC; Path=/; Secure;
> HttpOnly
>
> < Set-Cookie: requestedURI=../../datareceiver/1.0.0/streams/; Path=/
>
> < Location: https://localhost:9447/carbon/admin/login.jsp
>
> < Content-Type: text/html;charset=UTF-8
>
> < Content-Length: 0
>
> < Date: Wed, 04 Mar 2015 06:49:14 GMT
>
> * Server WSO2 Carbon Server is not blacklisted
>
> < Server: WSO2 Carbon Server
>
> <
>
> * Connection #0 to host localhost left intact
>
>
> Thanks,
> Nuwanw
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please resend PR product-esb/129

2015-03-04 Thread Irham Iqbal
Hi Maheeka,

As per the offline conversation we had, I have resent the pull request[1]
to development branch

[1]https://github.com/wso2/product-esb/pull/89

Thanks,
Iqbal


On Wed, Mar 4, 2015 at 1:34 PM, Maheeka Jayasuriya  wrote:

> Thanks Iqbal.
>
>
> Thanks,
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Wed, Mar 4, 2015 at 1:26 PM, Irham Iqbal  wrote:
>
>> Hi Maheeka,
>>
>> I have created the pull[1] request to wso2 repo
>>
>> [1]https://github.com/wso2/product-esb/pull/86
>>
>> Thanks,
>> Iqbal
>>
>> On Mon, Mar 2, 2015 at 4:37 PM, Maheeka Jayasuriya 
>> wrote:
>>
>>> Hi Iqbal,
>>>
>>> Can you please resend pull request at
>>> https://github.com/wso2-dev/product-esb/pull/129/, to
>>> https://github.com/wso2/product-esb develop branch?
>>>
>>> Thanks,
>>>
>>> Maheeka Jayasuriya
>>> Software Engineer
>>> Mobile : +9450661
>>>
>>
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>
>


-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Changing registry mount configuration of a running server

2015-03-04 Thread Danushka Fernando
Hi all
Currently if we start a server with some registry mounting configuration
then it will save those to the local registry. And at some point if we
change those configuration then this local registry doesn't get reflected.

So the mounting configuration changes will not be effective until we clean
the local database.

Is this a bug or is it how it is designed? If this is the expected behavior
then we need to document this somewhere.
WDYT?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] [java8support] - Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049

2015-03-04 Thread Thusitha Thilina Dayaratne
Hi Kishanthan

I tried to build the according to the dependent order that you mentioned
using java 1.8.0_40. But I'm getting following error when trying to build
the kernel

Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>  Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049
> (org.eclipse.equinox.jsp.jasper 1.0.400.v20120522-2049) requires 'package
> javax.servlet.jsp [2.0.0,2.3.0)' but it could not be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>   To: org.wso2.carbon.core.ui.feature.group [4.4.0.SNAPSHOT]
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Carbon UI Feature 4.4.0.SNAPSHOT
> (org.wso2.carbon.core.ui.feature.group 4.4.0.SNAPSHOT)
>   To: org.eclipse.equinox.jsp.jasper [1.0.400.v20120522-2049]
> Application failed


Thanks
Regards

On Wed, Mar 4, 2015 at 12:38 PM, Kishanthan Thangarajah  wrote:

>
>
> On Wed, Mar 4, 2015 at 12:34 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Kishanthan,
>>
>> I get updated my fork and tried to build again. Now I'm getting following
>> error.
>>
>> Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
>>> Installation failed.
>>> Cannot complete the install because one or more required items could not
>>> be found.
>>>  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
>>> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>>>  Missing requirement: WSO2 Carbon - Addressing 4.4.0.SNAPSHOT
>>> (org.wso2.carbon.addressing 4.4.0.SNAPSHOT) requires 'package
>>> org.apache.axis2 [1.6.1.wso2v12,1.7.0)' but it could not be found
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Carbon Common Feature 4.4.0.SNAPSHOT
>>> (org.wso2.carbon.core.common.feature.group 4.4.0.SNAPSHOT)
>>>   To: org.wso2.carbon.addressing [4.4.0.SNAPSHOT]
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
>>> (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
>>>   To: org.wso2.carbon.core.common.feature.group [4.4.0.SNAPSHOT]
>>> Application failed
>>
>>
>> It would be great if you can tell me how can I fix this.
>>
>
>
> This development branch depends on axiom, axis2 repos and of the same
> branch (java8support). And you have to use jdk8. So you may have to build
> from the order like below. This dependent build order will not be needed
> once we stabilise this branch with jdk8 build issues.
> wso2-axiom (java8support)
> wso2-axis2 (java8support)
> carbon4-kernel (java8support)
>
> Can you try building the above and check again?
>
>
>>
>
>>
>> Thanks
>> Best Regards
>>
>> On Wed, Mar 4, 2015 at 12:14 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> I'm working on providing tomcat 8.0.20 support for carbon platform.
>>> https://redmine.wso2.com/issues/3731I
>>> I forked the carbon4-kernel and cloned the java8support branch from the
>>> fork. When I trying to build the kernel  I'm getting following error
>>>
>>>
 Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
  Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049
 (org.eclipse.equinox.jsp.jasper 1.0.400.v20120522-2049) requires 'package
 javax.servlet.jsp [2.0.0,2.3.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.core.ui.feature.group [4.4.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon UI Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.ui.feature.group 4.4.0.SNAPSHOT)
   To: org.eclipse.equinox.jsp.jasper [1.0.400.v20120522-2049]
 Application failed
>>>
>>>
>>> Is there anything that I missed when I doing the build?
>>>
>>> Thanks
>>> Regards
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer | WSO2 Inc
>>>
>>> Emailthusit...@wso2.com
>>> Mobile  +94712756809
>>> Blog  alokayasoya.blogspot.com
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer | WSO2 Inc
>>
>> Emailthusit...@wso2.com
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishan

Re: [Dev] ESB sample 354 startup fails with FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error

2015-03-04 Thread Chanaka Fernando
Hi Asanka,

In fact our documentation has mentioned about this in the samples setup
page[1]. There is a link to this page from the sample page[2] you have
referred. We don't need to fix anything from the documentation. But we need
to check why it is not there in the p2-repo.

Ruby support

For Ruby support you need to install *WSO2 Carbon - JRuby Engine for
Mediation*. This is available in the WSO2 P2 repository. Use the WSO2
Carbon Component Manager UI in the management console to connect to the
WSO2 P2 repository and install *WSO2 Carbon - JRuby Engine for Mediation*.
This will install a JRuby 1.3 engine in the ESB runtime.

Alternatively, you can also download and install the JRuby engine manually.
Download the jruby-complete-1.3.0.wso2v1.jar file from the WSO2 P2
repository and copy it into the /repository/components/dropins
directory.


[1]
https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringtheESBforScriptMediatorSupport

[2]
https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation



Thanks,

Chanaka


On Wed, Mar 4, 2015 at 12:46 PM, Asanka Vithanage  wrote:

> Hi All,
>
> When trying to start ESB 480, ESB 481 with sample 354, I am observing the
> below error [5].
> As per Jira [1] and [2] , User needs to install
> jruby-complete-1.3.0.wso2v1.jar
> 
> resolve the mentioned issue.
>
> But our documentation[3] doesn't mention anything about this. So we need
> to update the sample doc.
>
> Further i cant find the  jruby-complete-1.3.0.wso2v1.jar
> 
> library on latest turing P2 repo [4]. Any idea why we don't provide library
> on latest P2 repo?
>
>
>
> [1] https://wso2.org/jira/browse/ESBJAVA-1863
> [2] https://wso2.org/jira/browse/CARBON-8773
> [3]
> https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
> [4] http://product-dist.wso2.com/p2/carbon/releases/turing/plugins/
>
> [5]
> [2015-03-04 12:26:34,315]  INFO - XMLConfigurationBuilder Generating the
> Synapse configuration model by parsing the XML configuration
> [2015-03-04 12:26:34,376] FATAL - ServiceBusInitializer Failed to
> initialize ESB due to a fatal error
> java.lang.NoClassDefFoundError: org/jruby/runtime/builtin/IRubyObject
> at
> com.sun.script.jruby.JRubyScriptEngineFactory.getScriptEngine(JRubyScriptEngineFactory.java:134)
> at
> javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:270)
> at
> org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:477)
> at
> org.apache.synapse.mediators.bsf.ScriptMediator.(ScriptMediator.java:168)
> at
> org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createSpecificMediator(ScriptMediatorFactory.java:102)
> at
> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
> at
> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
> at
> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
> at
> org.apache.synapse.config.xml.InMediatorFactory.createSpecificMediator(InMediatorFactory.java:48)
> at
> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
> at
> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
> at
> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
> at
> org.apache.synapse.config.xml.SequenceMediatorFactory.createSpecificMediator(SequenceMediatorFactory.java:87)
> at
> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
> at
> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
> at
> org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.java:204)
> at
> org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:81)
> at
> org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:161)
> at
> org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:48)
> at
> org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:91)
> at
> org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:479)
> at
> org.wso2.carbon.mediation.initializer.CarbonSynapseController.createSynapseConfiguration(CarbonSynapseController.java:179)
> at org.apache.synapse.ServerManager.start(ServerManager.java

Re: [Dev] Please resend PR product-esb/129

2015-03-04 Thread Maheeka Jayasuriya
Thanks Iqbal.


Thanks,

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Wed, Mar 4, 2015 at 1:26 PM, Irham Iqbal  wrote:

> Hi Maheeka,
>
> I have created the pull[1] request to wso2 repo
>
> [1]https://github.com/wso2/product-esb/pull/86
>
> Thanks,
> Iqbal
>
> On Mon, Mar 2, 2015 at 4:37 PM, Maheeka Jayasuriya 
> wrote:
>
>> Hi Iqbal,
>>
>> Can you please resend pull request at
>> https://github.com/wso2-dev/product-esb/pull/129/, to
>> https://github.com/wso2/product-esb develop branch?
>>
>> Thanks,
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev