Re: [Dev] What should be the default port for analytics servers

2016-05-10 Thread Chanaka Fernando
Hi Iranga,

What we are considering here is a scenario where we deploy ESB and
analytics server in a development environment (local machine). If you do a
real deployment, you need to know about the port offset values and have
more control over that. But for the simplest deployment (local
development), having offset of 1 would work and I don't see a requirement
to have another parameter and complicate the things.

On Wed, May 11, 2016 at 11:19 AM, Iranga Muthuthanthri 
wrote:

> Should not we have a different offset than 1 and use a 'different-offset'
> (e.g:10?), since for single node deployment  there could  include multiple
>  runtimes  such as   ESB(runtime) + API-M(runtime)  with  one analytical
> server ( having multiple product analytics features).  'different- offset'
> might be more easier for cloud deployment setup as well
>
> On Tue, May 10, 2016 at 10:18 PM, Chanaka Fernando 
> wrote:
>
>> +1 for having an offset of 1 for analytics server.
>>
>> On Tue, May 10, 2016 at 7:25 PM, Isabelle Mauny 
>> wrote:
>>
>>> Very good catch :)
>>>
>>> +1 to consistency. Let’s go for offset 1 for Analytics across the board
>>> if everybody is happy with that ..
>>> __
>>>
>>> Isabelle Mauny
>>> VP, Product Management; WSO2, Inc.;  http://wso2.com/
>>>
>>> On May 10, 2016, at 2:41 PM, Asanka Vithanage  wrote:
>>>
>>> Hi All,
>>>
>>> As per the new strategy, Product is considered as a collection of
>>> runtime + Analytics + tooling. So ideally users should be able to run and
>>> try both runtime and analytics servers without any configuration changes.
>>>
>>> ESB runtime and ESB analytics servers currently start on port 9443. So
>>> we have to add port offset on one of the server.
>>> But in API Manager, Analytics server comes with port offset 1. so there
>>> is no standard about $Subject.
>>>
>>> Shouldn't we ship all the analytics servers with a standard port offset?
>>> WDYT?
>>>
>>>
>>>
>>> --
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>>
>>
>>
>> --
>> Thank you and Best Regards,
>> Chanaka Fernando
>> Senior Technical Lead
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 773337238
>> Blog : http://soatutorials.blogspot.com
>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
>> Twitter:https://twitter.com/chanakaudaya
>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards
>
> Iranga Muthuthanthri
> (M) -0777-255773
> Team Product Management
>
>


-- 
Thank you and Best Regards,
Chanaka Fernando
Senior Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Osura Rathnayake
Hi Mentors,

I sorted out all the errors and the cluster is up and running. Now I can
see the log messages of members joining and leaving.


On Wed, May 11, 2016 at 11:04 AM, Isuru Haththotuwa  wrote:

> Hi Osura,
>
> Please refer [1] for configuring deployment synchronizer.
>
> Initially, its ok even if you disable the deployment synchronizer and test
> the clustering.
>
> [1].
> https://docs.wso2.com/display/CLUSTER44x/Configuring+SVN-Based+Deployment+Synchronizer
>
> On Wed, May 11, 2016 at 10:55 AM, Osura Rathnayake 
> wrote:
>
>> Hi All,
>>
>> Thank you very much. I got it sorted out. I created a new user and
>> granted permission on it.
>> Can you please tell me the format of svn url and access protocol when
>> configuring  , my repository is
>> /home/as/svnrepo. I have attached the error I got as well.
>>
>> Thanks,
>>
>> On Wed, May 11, 2016 at 7:13 AM, Imesh Gunaratne  wrote:
>>
>>>
>>>
>>> On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Imesh,

 Now i'm getting this error. I can't connect to the DB from the client
 either.

>>>
>>> Credentials might be correct, I think the issue is with the permission.
>>> You might need to grant permission to the relevant databases to your user
>>> for the given IP address. Please refer [1].
>>>
>>> [1] http://dev.mysql.com/doc/refman/5.5/en/grant.html
>>>

 Thanks

 On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne 
 wrote:

>
>
> On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
> wrote:
>
>> Hi Mentors,
>>
>> when i was trying to up the manager node, i kept getting an error and
>> a screenshot of it is attached herewith. There is no problem with network
>> connectivity and dns resolution. Also a diagram of my setup is attached.
>> please have a look.
>>
>
> This looks like a database connectivity issue.
>
> Can you please try to install a mysql client in one of the hosts that
> AS is installed and check whether it can connect to the database server?
>
> Thanks
>
>>
>> thanks and regards,
>> Osura
>>
>> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi mentors,

 When setting up the DB according to [1], should shared REGISTRY_DB
 and shared WSO2_USER_DB be resided on a separate server other than the
 manager/worker node? if so can I use the same server i used for load
 balancer for this purpose?

>>> Yes, you can.
>>>


 [1]
 https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database

 Thanks and Regards
 Osura

 On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne 
 wrote:

>
>
> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake <
> osura...@gmail.com> wrote:
>
>> Hi Imesh,
>>
>> Thank you very much for the guidelines. I will do as you have
>> instructed and let you know the progress.
>>
>
> Great! Let us know if you find any problems.
>
> Thanks
>
>>
>> Regards,
>> Osura
>>
>> On Saturday, April 30, 2016, Imesh Gunaratne 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> It's nice to hear from you. I think it would be better if you
>>> can follow below steps:
>>>
>>> 1. Implementing WSO2 Azure membership scheme:
>>>
>>>- First understand how WSO2 Carbon works by setting up a
>>>WSO2 Application Server worker/manager deployment on Azure.
>>>- Use WKA membership scheme for this and see how clustering
>>>works.
>>>- Then go through the WSO2 Kubernetes membership scheme
>>>source code.
>>>- Afterwards implement a new WSO2 membership scheme for
>>>Azure.
>>>
>>> 2. Next see how each of the following can be setup on Azure
>>> using native features:
>>>
>>>- Auto healing
>>>- Autoscaling
>>>- Dynamic load balancing
>>>- Centralized logging
>>>- Monitoring
>>>- Metering
>>>
>>> Thanks
>>>
>>>
>>> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi All,

 Thank you very much for accepting my proposal.

 Yes these days i am working on understanding how hazelcast
 behaves.

Re: [Dev] What should be the default port for analytics servers

2016-05-10 Thread Iranga Muthuthanthri
Should not we have a different offset than 1 and use a 'different-offset'
(e.g:10?), since for single node deployment  there could  include multiple
 runtimes  such as   ESB(runtime) + API-M(runtime)  with  one analytical
server ( having multiple product analytics features).  'different- offset'
might be more easier for cloud deployment setup as well

On Tue, May 10, 2016 at 10:18 PM, Chanaka Fernando 
wrote:

> +1 for having an offset of 1 for analytics server.
>
> On Tue, May 10, 2016 at 7:25 PM, Isabelle Mauny  wrote:
>
>> Very good catch :)
>>
>> +1 to consistency. Let’s go for offset 1 for Analytics across the board
>> if everybody is happy with that ..
>> __
>>
>> Isabelle Mauny
>> VP, Product Management; WSO2, Inc.;  http://wso2.com/
>>
>> On May 10, 2016, at 2:41 PM, Asanka Vithanage  wrote:
>>
>> Hi All,
>>
>> As per the new strategy, Product is considered as a collection of runtime
>> + Analytics + tooling. So ideally users should be able to run and try both
>> runtime and analytics servers without any configuration changes.
>>
>> ESB runtime and ESB analytics servers currently start on port 9443. So we
>> have to add port offset on one of the server.
>> But in API Manager, Analytics server comes with port offset 1. so there
>> is no standard about $Subject.
>>
>> Shouldn't we ship all the analytics servers with a standard port offset?
>> WDYT?
>>
>>
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>>
>
>
> --
> Thank you and Best Regards,
> Chanaka Fernando
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards

Iranga Muthuthanthri
(M) -0777-255773
Team Product Management
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading headers/form fields of a multipart/form-data request in msf4j

2016-05-10 Thread Himasha Guruge
In C4 we have used [1] for this purpose.

[1] http://cxf.apache.org/docs/jax-rs-multiparts.html

On Wed, May 11, 2016 at 11:12 AM, Afkham Azeez  wrote:

> Any libraries you are familiar with? Since BPS folks are using the code
> from the MSF4J master branch, we may be able to quickly implement it.
>
> On Wed, May 11, 2016 at 11:09 AM, Samiyuru Senarathne 
> wrote:
>
>> Hi Azeez,
>>
>> Yes I looked at this sometime back. But it was not progressed to the
>> implementation level.
>>
>> For the moment we will have to use a multipart/form-data parsing library
>> to parse the raw HTTP body. We can get the raw HTTP body by injecting an
>> org.wso2.msf4j.Request object to the resource method using @Context
>> annotation.
>>
>> Best Regards,
>> Samiyuru
>>
>> On Wed, May 11, 2016 at 11:02 AM, Afkham Azeez  wrote:
>>
>>> Samiyuru,
>>> You looked at this some time back right? What work is involved in
>>> implementing this?
>>>
>>> Azeez
>>>
>>> On Wed, May 11, 2016 at 11:00 AM, Himasha Guruge 
>>> wrote:
>>>
 From the offline discussion with Azeez, it seems that this is not
 supported in current msf4j implementation. How are we to proceed with the
 use case of acquiring form field values from the request?



 On Wed, Apr 6, 2016 at 11:22 AM, Himasha Guruge 
 wrote:

> Hi All,
>
> I have gone through the available sample [1]  on how to process a
> stream and read and save files in msf4j. However given a request with form
> fields like [2] , how can we retrieve those form fields in msf4j? If it is
> to read from the stream itself, any suggested way to do this?
>
> [1]
> https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java
>
> [2] curl --form
> "fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
> param1=value1 --form param2=value2
> http://localhost:8080/bps/repo/stream
>
> 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


>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * *
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* 
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> 
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>>
>> --
>> Samiyuru Senarathne
>> *Software Engineer*
>> Mobile : +94 (0) 71 134 6087
>> samiy...@wso2.com
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



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


Re: [Dev] Reading headers/form fields of a multipart/form-data request in msf4j

2016-05-10 Thread Afkham Azeez
Any libraries you are familiar with? Since BPS folks are using the code
from the MSF4J master branch, we may be able to quickly implement it.

On Wed, May 11, 2016 at 11:09 AM, Samiyuru Senarathne 
wrote:

> Hi Azeez,
>
> Yes I looked at this sometime back. But it was not progressed to the
> implementation level.
>
> For the moment we will have to use a multipart/form-data parsing library
> to parse the raw HTTP body. We can get the raw HTTP body by injecting an
> org.wso2.msf4j.Request object to the resource method using @Context
> annotation.
>
> Best Regards,
> Samiyuru
>
> On Wed, May 11, 2016 at 11:02 AM, Afkham Azeez  wrote:
>
>> Samiyuru,
>> You looked at this some time back right? What work is involved in
>> implementing this?
>>
>> Azeez
>>
>> On Wed, May 11, 2016 at 11:00 AM, Himasha Guruge 
>> wrote:
>>
>>> From the offline discussion with Azeez, it seems that this is not
>>> supported in current msf4j implementation. How are we to proceed with the
>>> use case of acquiring form field values from the request?
>>>
>>>
>>>
>>> On Wed, Apr 6, 2016 at 11:22 AM, Himasha Guruge 
>>> wrote:
>>>
 Hi All,

 I have gone through the available sample [1]  on how to process a
 stream and read and save files in msf4j. However given a request with form
 fields like [2] , how can we retrieve those form fields in msf4j? If it is
 to read from the stream itself, any suggested way to do this?

 [1]
 https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java

 [2] curl --form
 "fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
 param1=value1 --form param2=value2
 http://localhost:8080/bps/repo/stream

 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
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * *
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* 
>> *twitter: **http://twitter.com/afkham_azeez*
>> 
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Samiyuru Senarathne
> *Software Engineer*
> Mobile : +94 (0) 71 134 6087
> samiy...@wso2.com
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


Re: [Dev] Reading headers/form fields of a multipart/form-data request in msf4j

2016-05-10 Thread Samiyuru Senarathne
Hi Azeez,

Yes I looked at this sometime back. But it was not progressed to the
implementation level.

For the moment we will have to use a multipart/form-data parsing library to
parse the raw HTTP body. We can get the raw HTTP body by injecting an
org.wso2.msf4j.Request object to the resource method using @Context
annotation.

Best Regards,
Samiyuru

On Wed, May 11, 2016 at 11:02 AM, Afkham Azeez  wrote:

> Samiyuru,
> You looked at this some time back right? What work is involved in
> implementing this?
>
> Azeez
>
> On Wed, May 11, 2016 at 11:00 AM, Himasha Guruge 
> wrote:
>
>> From the offline discussion with Azeez, it seems that this is not
>> supported in current msf4j implementation. How are we to proceed with the
>> use case of acquiring form field values from the request?
>>
>>
>>
>> On Wed, Apr 6, 2016 at 11:22 AM, Himasha Guruge 
>> wrote:
>>
>>> Hi All,
>>>
>>> I have gone through the available sample [1]  on how to process a stream
>>> and read and save files in msf4j. However given a request with form fields
>>> like [2] , how can we retrieve those form fields in msf4j? If it is to read
>>> from the stream itself, any suggested way to do this?
>>>
>>> [1]
>>> https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java
>>>
>>> [2] curl --form
>>> "fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
>>> param1=value1 --form param2=value2 http://localhost:8080/bps/repo/stream
>>>
>>> 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
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



-- 
Samiyuru Senarathne
*Software Engineer*
Mobile : +94 (0) 71 134 6087
samiy...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Recent changes causing errors in DB Scripts

2016-05-10 Thread Dileesha Rajapakse
Fixed MSSQL DB Scripts issues in [1]
[1] - https://github.com/wso2/carbon-device-mgt/pull/238

On Wed, May 11, 2016 at 10:12 AM, Dileesha Rajapakse 
wrote:

> Fixed Oracle DB Script issues in [1]
> [1] - https://github.com/wso2/carbon-device-mgt/pull/236
>
> On Tue, May 10, 2016 at 12:21 PM, Dileesha Rajapakse 
> wrote:
>
>>
>>- MSSQL.sql Script caused following errors
>>
>> Msg 128, Level 15, State 1, Line 5
>> The name "FALSE" is not permitted in this context. Valid expressions are
>> constants, constant expressions, and (in some contexts) variables. Column
>> names are not permitted.
>> Msg 156, Level 15, State 1, Line 409
>> Incorrect syntax near the keyword 'IF'.
>> Msg 156, Level 15, State 1, Line 426
>> Incorrect syntax near the keyword 'IF'.
>> Msg 156, Level 15, State 1, Line 450
>> Incorrect syntax near the keyword 'IF'.
>>
>>
>> On Tue, May 10, 2016 at 11:44 AM, Dileesha Rajapakse 
>> wrote:
>>
>>> +dev@
>>>
>>> On Tue, May 10, 2016 at 11:38 AM, Dileesha Rajapakse 
>>> wrote:
>>>
 Hi Guys,

 A bunch of errors found in MSSQL and Oracle DB scripts of the core due
 to some recent changes.

 --
 Dileesha Rajapakse
 *Intern - Engineering*
 Mobile : +94 (0) 772 555 933
 Tel  : +94 112 741 505
 dilee...@wso2.com

>>>
>>>
>>>
>>> --
>>> Dileesha Rajapakse
>>> *Intern - Engineering*
>>> Mobile : +94 (0) 772 555 933
>>> Tel  : +94 112 741 505
>>> dilee...@wso2.com
>>>
>>
>>
>>
>> --
>> Dileesha Rajapakse
>> *Intern - Engineering*
>> Mobile : +94 (0) 772 555 933
>> Tel  : +94 112 741 505
>> dilee...@wso2.com
>>
>
>
>
> --
> Dileesha Rajapakse
> *Intern - Engineering*
> Mobile : +94 (0) 772 555 933
> Tel  : +94 112 741 505
> dilee...@wso2.com
>



-- 
Dileesha Rajapakse
*Intern - Engineering*
Mobile : +94 (0) 772 555 933
Tel  : +94 112 741 505
dilee...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Isuru Haththotuwa
Hi Osura,

Please refer [1] for configuring deployment synchronizer.

Initially, its ok even if you disable the deployment synchronizer and test
the clustering.

[1].
https://docs.wso2.com/display/CLUSTER44x/Configuring+SVN-Based+Deployment+Synchronizer

On Wed, May 11, 2016 at 10:55 AM, Osura Rathnayake 
wrote:

> Hi All,
>
> Thank you very much. I got it sorted out. I created a new user and granted
> permission on it.
> Can you please tell me the format of svn url and access protocol when
> configuring  , my repository is /home/as/svnrepo.
> I have attached the error I got as well.
>
> Thanks,
>
> On Wed, May 11, 2016 at 7:13 AM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> Now i'm getting this error. I can't connect to the DB from the client
>>> either.
>>>
>>
>> Credentials might be correct, I think the issue is with the permission.
>> You might need to grant permission to the relevant databases to your user
>> for the given IP address. Please refer [1].
>>
>> [1] http://dev.mysql.com/doc/refman/5.5/en/grant.html
>>
>>>
>>> Thanks
>>>
>>> On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne  wrote:
>>>


 On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
 wrote:

> Hi Mentors,
>
> when i was trying to up the manager node, i kept getting an error and
> a screenshot of it is attached herewith. There is no problem with network
> connectivity and dns resolution. Also a diagram of my setup is attached.
> please have a look.
>

 This looks like a database connectivity issue.

 Can you please try to install a mysql client in one of the hosts that
 AS is installed and check whether it can connect to the database server?

 Thanks

>
> thanks and regards,
> Osura
>
> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
> wrote:
>
>> Hi Osura,
>>
>> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake > > wrote:
>>
>>> Hi mentors,
>>>
>>> When setting up the DB according to [1], should shared REGISTRY_DB
>>> and shared WSO2_USER_DB be resided on a separate server other than the
>>> manager/worker node? if so can I use the same server i used for load
>>> balancer for this purpose?
>>>
>> Yes, you can.
>>
>>>
>>>
>>> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>>>
>>> Thanks and Regards
>>> Osura
>>>
>>> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne 
>>> wrote:
>>>


 On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Hi Imesh,
>
> Thank you very much for the guidelines. I will do as you have
> instructed and let you know the progress.
>

 Great! Let us know if you find any problems.

 Thanks

>
> Regards,
> Osura
>
> On Saturday, April 30, 2016, Imesh Gunaratne 
> wrote:
>
>> Hi Osura,
>>
>> It's nice to hear from you. I think it would be better if you can
>> follow below steps:
>>
>> 1. Implementing WSO2 Azure membership scheme:
>>
>>- First understand how WSO2 Carbon works by setting up a WSO2
>>Application Server worker/manager deployment on Azure.
>>- Use WKA membership scheme for this and see how clustering
>>works.
>>- Then go through the WSO2 Kubernetes membership scheme
>>source code.
>>- Afterwards implement a new WSO2 membership scheme for Azure.
>>
>> 2. Next see how each of the following can be setup on Azure using
>> native features:
>>
>>- Auto healing
>>- Autoscaling
>>- Dynamic load balancing
>>- Centralized logging
>>- Monitoring
>>- Metering
>>
>> Thanks
>>
>>
>> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
>> osura...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> Thank you very much for accepting my proposal.
>>>
>>> Yes these days i am working on understanding how hazelcast
>>> behaves.
>>>
>>> I have already come across some of Azure API references that can
>>> be used to identify a group of VMs.
>>>
>>> Network Security Group (NSG) is the equivalent AWS Security
>>> group that we could find in azure. And this [1] is the API 
>>> reference that
>>> can be used to get information about a particular NSG. There under 
>>> 

Re: [Dev] How to point private docker registry to Kubernetes

2016-05-10 Thread Imesh Gunaratne
On Wed, May 11, 2016 at 10:33 AM, Irham Iqbal  wrote:

> Hi All,
>
> I am trying to point private docker registry[1] to multi node Kubernetes
> cluster setup. If anyone has done this before please point me to references
> you followed.
>

Please refer this:
http://kubernetes.io/docs/user-guide/images/#specifying-imagepullsecrets-on-a-pod


>
> [1] http://dockerhub.private.wso2.com/
>
> Thanks,
> Iqbal
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading headers/form fields of a multipart/form-data request in msf4j

2016-05-10 Thread Afkham Azeez
Samiyuru,
You looked at this some time back right? What work is involved in
implementing this?

Azeez

On Wed, May 11, 2016 at 11:00 AM, Himasha Guruge  wrote:

> From the offline discussion with Azeez, it seems that this is not
> supported in current msf4j implementation. How are we to proceed with the
> use case of acquiring form field values from the request?
>
>
>
> On Wed, Apr 6, 2016 at 11:22 AM, Himasha Guruge  wrote:
>
>> Hi All,
>>
>> I have gone through the available sample [1]  on how to process a stream
>> and read and save files in msf4j. However given a request with form fields
>> like [2] , how can we retrieve those form fields in msf4j? If it is to read
>> from the stream itself, any suggested way to do this?
>>
>> [1]
>> https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java
>>
>> [2] curl --form
>> "fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
>> param1=value1 --form param2=value2 http://localhost:8080/bps/repo/stream
>>
>> 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
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


Re: [Dev] Reading headers/form fields of a multipart/form-data request in msf4j

2016-05-10 Thread Himasha Guruge
>From the offline discussion with Azeez, it seems that this is not supported
in current msf4j implementation. How are we to proceed with the use case of
acquiring form field values from the request?



On Wed, Apr 6, 2016 at 11:22 AM, Himasha Guruge  wrote:

> Hi All,
>
> I have gone through the available sample [1]  on how to process a stream
> and read and save files in msf4j. However given a request with form fields
> like [2] , how can we retrieve those form fields in msf4j? If it is to read
> from the stream itself, any suggested way to do this?
>
> [1]
> https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java
>
> [2] curl --form
> "fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
> param1=value1 --form param2=value2 http://localhost:8080/bps/repo/stream
>
> 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] [VOTE] Release WSO2 Kubernetes Artifacts 1.0.0

2016-05-10 Thread Isuru Haththotuwa
This is the first release candidate (RC1) of WSO2 Kubernetes Artifacts
1.0.0.

Please download, test and vote. Please refer the README files under each
product for details on testing the artifacts.

Source & binary distribution files:
https://github.com/wso2/kubernetes-artifacts/releases/tag/v1.0.0

Maven staging repo:
https://maven.wso2.org/nexus/content/repositories/orgwso2carbonkubernetesartifacts-1001/

The tag to be voted upon:
https://github.com/wso2/kubernetes-artifacts/tree/v1.0.0


[ ] Broken - do not release (explain why)

[ ] Stable - go ahead and release

-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Osura Rathnayake
Hi All,

Thank you very much. I got it sorted out. I created a new user and granted
permission on it.
Can you please tell me the format of svn url and access protocol when
configuring  , my repository is /home/as/svnrepo. I
have attached the error I got as well.

Thanks,

On Wed, May 11, 2016 at 7:13 AM, Imesh Gunaratne  wrote:

>
>
> On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake 
> wrote:
>
>> Hi Imesh,
>>
>> Now i'm getting this error. I can't connect to the DB from the client
>> either.
>>
>
> Credentials might be correct, I think the issue is with the permission.
> You might need to grant permission to the relevant databases to your user
> for the given IP address. Please refer [1].
>
> [1] http://dev.mysql.com/doc/refman/5.5/en/grant.html
>
>>
>> Thanks
>>
>> On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne  wrote:
>>
>>>
>>>
>>> On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Mentors,

 when i was trying to up the manager node, i kept getting an error and a
 screenshot of it is attached herewith. There is no problem with network
 connectivity and dns resolution. Also a diagram of my setup is attached.
 please have a look.

>>>
>>> This looks like a database connectivity issue.
>>>
>>> Can you please try to install a mysql client in one of the hosts that AS
>>> is installed and check whether it can connect to the database server?
>>>
>>> Thanks
>>>

 thanks and regards,
 Osura

 On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
 wrote:

> Hi Osura,
>
> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
> wrote:
>
>> Hi mentors,
>>
>> When setting up the DB according to [1], should shared REGISTRY_DB
>> and shared WSO2_USER_DB be resided on a separate server other than the
>> manager/worker node? if so can I use the same server i used for load
>> balancer for this purpose?
>>
> Yes, you can.
>
>>
>>
>> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>>
>> Thanks and Regards
>> Osura
>>
>> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne 
>> wrote:
>>
>>>
>>>
>>> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi Imesh,

 Thank you very much for the guidelines. I will do as you have
 instructed and let you know the progress.

>>>
>>> Great! Let us know if you find any problems.
>>>
>>> Thanks
>>>

 Regards,
 Osura

 On Saturday, April 30, 2016, Imesh Gunaratne 
 wrote:

> Hi Osura,
>
> It's nice to hear from you. I think it would be better if you can
> follow below steps:
>
> 1. Implementing WSO2 Azure membership scheme:
>
>- First understand how WSO2 Carbon works by setting up a WSO2
>Application Server worker/manager deployment on Azure.
>- Use WKA membership scheme for this and see how clustering
>works.
>- Then go through the WSO2 Kubernetes membership scheme source
>code.
>- Afterwards implement a new WSO2 membership scheme for Azure.
>
> 2. Next see how each of the following can be setup on Azure using
> native features:
>
>- Auto healing
>- Autoscaling
>- Dynamic load balancing
>- Centralized logging
>- Monitoring
>- Metering
>
> Thanks
>
>
> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
> osura...@gmail.com> wrote:
>
>> Hi All,
>>
>> Thank you very much for accepting my proposal.
>>
>> Yes these days i am working on understanding how hazelcast
>> behaves.
>>
>> I have already come across some of Azure API references that can
>> be used to identify a group of VMs.
>>
>> Network Security Group (NSG) is the equivalent AWS Security group
>> that we could find in azure. And this [1] is the API reference that 
>> can be
>> used to get information about a particular NSG. There under 
>> networkInterfaces.id
>> element, we can get a collection of references to Network
>> Interface Cards that reference this NSG. And then using that we can 
>> get
>> information about NICs [2]. There under virtualMachine element,
>> we can get the VM associated with that NIC. I think we can use 
>> method to
>> identify a group of VMs.
>>
>>
>>
>> [1] 

Re: [Dev] Recent changes causing errors in DB Scripts

2016-05-10 Thread Dileesha Rajapakse
Fixed Oracle DB Script issues in [1]
[1] - https://github.com/wso2/carbon-device-mgt/pull/236

On Tue, May 10, 2016 at 12:21 PM, Dileesha Rajapakse 
wrote:

>
>- MSSQL.sql Script caused following errors
>
> Msg 128, Level 15, State 1, Line 5
> The name "FALSE" is not permitted in this context. Valid expressions are
> constants, constant expressions, and (in some contexts) variables. Column
> names are not permitted.
> Msg 156, Level 15, State 1, Line 409
> Incorrect syntax near the keyword 'IF'.
> Msg 156, Level 15, State 1, Line 426
> Incorrect syntax near the keyword 'IF'.
> Msg 156, Level 15, State 1, Line 450
> Incorrect syntax near the keyword 'IF'.
>
>
> On Tue, May 10, 2016 at 11:44 AM, Dileesha Rajapakse 
> wrote:
>
>> +dev@
>>
>> On Tue, May 10, 2016 at 11:38 AM, Dileesha Rajapakse 
>> wrote:
>>
>>> Hi Guys,
>>>
>>> A bunch of errors found in MSSQL and Oracle DB scripts of the core due
>>> to some recent changes.
>>>
>>> --
>>> Dileesha Rajapakse
>>> *Intern - Engineering*
>>> Mobile : +94 (0) 772 555 933
>>> Tel  : +94 112 741 505
>>> dilee...@wso2.com
>>>
>>
>>
>>
>> --
>> Dileesha Rajapakse
>> *Intern - Engineering*
>> Mobile : +94 (0) 772 555 933
>> Tel  : +94 112 741 505
>> dilee...@wso2.com
>>
>
>
>
> --
> Dileesha Rajapakse
> *Intern - Engineering*
> Mobile : +94 (0) 772 555 933
> Tel  : +94 112 741 505
> dilee...@wso2.com
>



-- 
Dileesha Rajapakse
*Intern - Engineering*
Mobile : +94 (0) 772 555 933
Tel  : +94 112 741 505
dilee...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-10 Thread Maheshakya Wijewardena
Hi Mahesh,

Any update on your progress?

Best regards.

On Wed, May 4, 2016 at 8:35 PM, Maheshakya Wijewardena 
wrote:

> Hi Mahesh,
>
> is that "Put break points in train methods in Linear Regression class"
>> means the spark/algorithms/ LinearRegrassion.java class in the
>> org.wso2.carbon.ml.core? is that the correct file?
>
>
> Yes, this is the correct place.
>
> You can refer to spark programming guide[1][2] as well as our ML code base
> when you try those algorithms out. Please try to do rough implementations
> of the streaming versions of linear regression, logistic regression and
> k-means clustering as we have discussed in the proposal in plain Java. It's
> better if you can create a git repo and share your code once you have made
> some progress.
>
> Were you able debug and understand the flow of the ML siddhi extension? I
> hope you haven't encountered more errors after switching the released
> version of CEP.
>
> Is this Friday okay for you? Afternoon at 2:00 pm?
>
> Best regards.
>
>
> Best regards.
>
> [1] http://spark.apache.org/docs/latest/programming-guide.html
> [2] http://spark.apache.org/docs/latest/mllib-guide.html
>
> On Wed, May 4, 2016 at 1:07 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi Maheshakya,
>> I have been looking into some algorithms related to stochastic gradient
>> descent based algorithms.anything i should focus please let me know.Ans
>> also i will be available for calling this week and next week.thank you.
>> BR,
>> Mahesh.
>>
>> On Tue, May 3, 2016 at 5:05 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi Maheshakya,
>>> thank you.that's good. i have been trying to fix that for couple of
>>> days. please inform me when it will be fixed.now i have been testing the ML
>>> algorithms and trying to identify the flow and the hierarchy. is that "Put
>>> break points in train methods in Linear Regression class" means the
>>> spark/algorithms/ LinearRegrassion.java class in the
>>> org.wso2.carbon.ml.core? is that the correct file?
>>> And also i am planning to write some programs to use apache spark mllib
>>> algorithms. and i refer to [1] and some wso2 documentations to get some
>>> idea about ML structure.thank you.
>>>
>>> BR,
>>> Mahesh.
>>>
>>> [1]nirmalfdo.blogspot.com
>>>
>>> On Tue, May 3, 2016 at 4:36 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 Hi Mahesh,

 I have checked. It seems the issue you have encountered is cause only
 in the current development branch of the product-cep. It doesn't identify
 the ML siddhi extension as an extension. ML siddhi extension works fine in
 the latest release of CEP (4.1.0) [1].
 Until we figure out the reason and come up with a solution, can you use
 the latest CEP release for your work. It's fine to use that since you
 haven't started actual development yet.

 Best regards.

 [1] http://wso2.com/products/complex-event-processor/

 On Tue, May 3, 2016 at 3:19 PM, Maheshakya Wijewardena <
 mahesha...@wso2.com> wrote:

> Hi Mahesh,
>
>
>> Is is vital to use those local repo in my upcoming implementation?
>
>
> Yes. The remote p2-repo contains the p2-repos of released versions.
> What you have to develop on is the current master of the carbon-ml and
> product-ml. You can try out with the modification I have suggested. In the
> meantime, I'll verify whether the current repos are working as expected.
>
> And also i am trying to debug the carbon-ml org.wso2.carbon.ml.core by
>> putting some break point in the spark/algorithms/Linear Regression
>
>
> It's great that you have started looking at the implementation of
> linear regression as well. Put break points in train methods in
> LinearRegression class. This is being used when you run linear regression
> from UI.
>
> I can see some comments left behind for streaming algo as well.thank
>> you
>
>
> You may be referring to the linear regression with SGD model. Here,
> there's no retraining with streaming data involved. The SGD with
> minibatches is used to train the model with the data set only once.
> What you have to do is create a similar mechanism to involve streaming
> data and retrain models. We will get to that part once you get comfortable
> with siddhi extensions.
>
>  BTW, is it possible for you to join a call on this Friday or in the
> next week. We'll try to resolve your current issues and discuss further on
> project.
>
> Best regards.
>
> On Tue, May 3, 2016 at 1:03 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi maheshakya,
>> Is it ok to go with p2 repo at
>> http://product-dist.wso2.com/p2/carbon/releases/wilkes/features/
>> rather than the P2-repo at product-ml/modules/p2-profile/target/p2-repo 
>> in
>> local 

[Dev] How to point private docker registry to Kubernetes

2016-05-10 Thread Irham Iqbal
Hi All,

I am trying to point private docker registry[1] to multi node Kubernetes
cluster setup. If anyone has done this before please point me to references
you followed.

[1] http://dockerhub.private.wso2.com/

Thanks,
Iqbal
-- 
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


Re: [Dev] Xpath expression to fetch a property which has space in name

2016-05-10 Thread Rajith Vitharana
Hi All,

This can be avoided by using "synapse.commons.json.buildValidNCNames" to
value "true" in /repository/conf/synapse.properties file, This
will replace space in the json to "JsonReader_32" value. So sample would be
as follows

input Json -
{
 "abc nnn": "value1"
}

output XML -
value1


And this works other way around as well, say you need to convert XML to
json and json element should need to have a space within it, then you can
use "JsonReader_32" in xml to get the space in json output, for example,

input xml -
value1

output json -
{
"abc nnn": "value1"
}

I have added this info to jira as well,
@Praneesha, IMO better have it in docs as well.

Thanks,

On Thu, May 5, 2016 at 2:40 PM, Udara Liyanage  wrote:

> Hi,
>
> i think option 1 is better, As I remember earlier ESB versions uses
> underscore for space.
>
> On Thu, May 5, 2016 at 1:53 AM, Rajith Vitharana  wrote:
>
>> Hi,
>>
>> So what would be the best convention to follow
>> 1 - just throw a error saying can't convert to XML because of the space
>> character
>> 2 - encode that space (will need to support this when converting back to
>> json as well)
>>
>> Thanks,
>>
>> On Tue, Mar 8, 2016 at 9:37 AM, Udara Liyanage  wrote:
>>
>>> Hi,
>>>
>>> Yes, I also think it is a bug in json to xml conversion. I will create a
>>> jira for this.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] "org.wso2.carbon.mediation.initializer.server.feature" still depends on the old-task component

2016-05-10 Thread Viraj Senevirathne
Hi Prabath,

I will check on this. Sorry for the delay.

Regards,

On Tue, May 10, 2016 at 10:32 PM, Prabath Abeysekera 
wrote:

> Folks, have you guys been able to do something about this?
>
> Cheers,
> Prabath
>
> On Fri, Apr 8, 2016 at 1:01 PM, Prabath Abeysekera 
> wrote:
>
>> Hi Chanaka,
>>
>> As it appears, "org.wso2.carbon.mediation.initializer.server.feature"
>> still depends on the old scheduled tasks component, which is not in use
>> anymore. Any possibility to remove all such obsolete references from
>> "org.wso2.carbon.mediation.initializer.server.feature"?
>>
>> Cheers,
>> Prabath
>> --
>> Prabath Abeysekara
>> Technical Lead
>> WSO2 Inc.
>> Email: praba...@wso2.com
>> Mobile: +94774171471
>>
>
>
>
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
Viraj Senevirathne
Software Engineer; WSO2, Inc.

Mobile : +94 71 958 0269
Email : vir...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Kavith Lokuhewage
Hi Nathiesha,

Great start! Just some heads up for your next steps.

An IStatus instance sometimes could be a multi status instance where you
can get other IStatus instances associated with it using the getChildren()
method[1]. This simply means that a series of operations failed and
information about previously failed operations are also valuable when
making the report.

There are multiple ways to read java run-time version, the easiest would be
to read the system property called "java.runtime.version".

Furthermore, org.eclipse.core.runtime.Platform class [2] provides multiple
methods to fetch run-time environment information such as OS name,
architecture and windowing library etc. It will also be helpful for you
fetch additional information about the run-time environment.

On a side note, I would suggest that it will be good if you starts coding
with the proper coding standards we use, from the beginning. This will
reduce the time it takes to refactor the code later, in a great amount. As
a start you can refactor the current package hierarchy to a proper package
hierarchy we use for developer studio plugins [get an idea from - 3].

I am attaching the license header and eclipse code cleanup and formatting
templates for java.
Go to Window -> Preferences -> Java-> Code Style
   1. Set attached templates as cleanup and formatting templates
(next format current classes)
   2. Set the contents of license header file as the java file
comment template in code templates section.

Thanks,
Kavith Lokuhewage

[1]
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FIStatus.html
[2]
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FPlatform.html
[3]
https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.updater



On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I created a git hub repository, so the project progress can easily be
> tracked.
>
> I could start up the plugin when the IDE starts up, by implementing
> Istartup interface. I tested it as well. Then I created a log listener
> class and attached that to the platform log, so any error is notified.
> The next task is to filter the Dev studio plugin errors out of them. For
> testing purposes, currently my code filters out the errors caused
> by org.eclipse.core.runtime, and that seem to work fine. I created a very
> basic dialog to notify the error, which will be triggered when an error
> occurs. I will further improve the UI later.
> And currently I am working on collecting the information regarding the
> error, that need to be included in the report. Certain information like
> plugin id, error message and severity can be easily obtained by the Istatus
> object, and now I am searching for ways to fetch the other information like
> java version, plugin version, osgi and bundle related information.
>
> GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git
>
>
> Regards
>
> Nathiesha
>
> On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> This is the summary of the facts we discussed during the chat.
>>
>>
>>- Original project proposal was discussed and it was confirmed that a
>>new plugin would be developed for developer studio to report errors, that
>>would have similar functionalities like  code recommenders error reporting
>>tool.
>>
>>
>>- Certain suggestions were proposed for the original project proposal.
>>
>>
>>1. Instead of using an xml file to store user preferences, a separate
>>preference page was suggested.
>>2. For a first time user, a dialog box to get the user input was
>>suggested to be develop. The user given values for this dialog box would 
>> be
>>stored in the preference page as well so that user can change those values
>>later on using the preference page.
>>3. To get the information about the error and the error stack, the
>>original idea was to read the log file and fetch the information. However
>>it was suggested to make use the IStatus object instead, to get the error
>>related data as it provided methods to fetch those data.
>>4. The plugin should only report the errors that is concerned with
>>the developer studio. So as the first step, it was suggested to track all
>>the errors caused by the developer studio plugin. This is to be 
>> implemented
>>by listening to the error log of the dev studio plugin only. Once this 
>> task
>>is accomplished, I was advised to implement a mechanism to filter all the
>>other errors as well and find and any errors that has any connection with
>>the developer studio and to report them as well.
>>
>>
>>
>>- I had an issue about registering to the error event. That you
>>

Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread Manoj Kumara
By maintaining the shaded lib's under application server there is a
drawback as these libraries get released each time we are doing an AS
release. So better to came up with a common location where we can maintain
and release separately as our orbit mode.

On possible approach we can use is maintain '*shaded-libs*' directory in
our orbit repo as a separate project and release them independently.

What would be the appropriate place for maintain this ?

Regards,
Manoj

*Manoj Kumara*
WSO2 Inc. *| **lean. enterprise. middleware.*
*Mobile:* +94 713 448188

On Tue, May 10, 2016 at 5:42 PM, KasunG Gajasinghe  wrote:

>
>
> On Tue, May 10, 2016 at 5:15 PM, Chiranga Alwis  wrote:
>
>> +1
>>
>> But shouldn't the naming of the module be more generic? Using "shaded"
>> refers more towards the implementation where we have used the plugin
>> Maven-Shade-Plugin. We have effectively relocated the classes.
>>
>> /modules/*relocated-libs*
>>  |- slf4j
>>  |- libthrift
>>
>> Isn't this a better naming convention?
>>
>
> What we will do is relocating classes. In the end, we will have is a *shaded
> artifact*. This is the terminology used in the shade plugin
> documentation, in my opinion, so shaded-libs matches better.
>
>
>>
>> Plus, this module will have to be the first to be built among all
>> Application Server modules' sub-modules since all other modules require it.
>>
>
> +1.
>
>
>>
>> On Tue, May 10, 2016 at 4:14 PM, Manoj Kumara  wrote:
>>
>>> +1
>>>
>>> *Manoj Kumara*
>>> WSO2 Inc. *| **lean. enterprise. middleware.*
>>> *Mobile:* +94 713 448188
>>>
>>> On Tue, May 10, 2016 at 3:58 PM, KasunG Gajasinghe 
>>> wrote:
>>>

 Yes, we need to avoid having common logging frameworks such as SLF4J in
 the classpath since it has a good possibility to lead to classloading
 issues for webapp developers .

 Since slf4j could be used by multiple jars, it should be a separate
 shaded jar. I believe the *artifactId* should reflect that it is
 shaded. Otherwise, the jar name will be confusing. So, shall we use the
 name *slf4j-shaded*?


 On Tue, May 10, 2016 at 3:40 PM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> +1, let's use the AS repo and at build time, which can get installed
> during build time and this will also become part of release which will be
> deployed onto nexus.
>
> Is the naming is correct? Shouldn't it be "shaded"?
>

 +1.

 Thanks,
 KasunG


>
> On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:
>
>> Hi Dev's,
>>
>> During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
>> library available on the webapp libs directory as /lib also
>> contain the same library to be used by libthrift library used during stat
>> publishing. After analyzing the issue  with the team realized that this
>> occurred as Tomcat has a flat class path and multiple package versions
>> cannot be used as in OSGI runtime.
>>
>> To resolve this as per the recommendation provided by KasunG we used 
>> '*Maven
>> Shade Plugin* [1]' to shade package name (rename package structure
>> and usages) as other open-source projects like Tomcat, Maven use similar
>> patterns when using commonly used packages.
>>
>> As these shaded libraries required for AS distribution these libs
>> need to be maintained inside product it self I suggest to maintain them 
>> as
>> below with '*org.wso2.shade*' prefix on groupID. Thoughts ?
>>
>> /modules/*shade-libs*
>>  |- slf4j
>>  |- libthrift
>>
>> [1] https://maven.apache.org/plugins/maven-shade-plugin/
>>
>>
>> Regards,
>> Manoj
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



>>>
>>>
>>
>>
>> --
>> Chiranga Alwis,
>> Software Engineering Intern,
>> +94 77 5930497
>> +94 77 6368208
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Jasintha Dasanayake
On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I created a git hub repository, so the project progress can easily be
> tracked.
>

That's good ,

>
> I could start up the plugin when the IDE starts up,
>

By default yes it could startup when IDE is loading however this setting
should be configureable , if user need to off this service should be able
to do that  , you can keep that setting in eclipse preferences store

Thanks and Regards
/Jasintha



> by implementing Istartup interface. I tested it as well. Then I created a
> log listener class and attached that to the platform log, so any error is
> notified.
>





> The next task is to filter the Dev studio plugin errors out of them. For
> testing purposes, currently my code filters out the errors caused
> by org.eclipse.core.runtime, and that seem to work fine. I created a very
> basic dialog to notify the error, which will be triggered when an error
> occurs. I will further improve the UI later.
> And currently I am working on collecting the information regarding the
> error, that need to be included in the report. Certain information like
> plugin id, error message and severity can be easily obtained by the Istatus
> object, and now I am searching for ways to fetch the other information like
> java version, plugin version, osgi and bundle related information.
>
> GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git
>
>
> Regards
>
> Nathiesha
>
> On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> This is the summary of the facts we discussed during the chat.
>>
>>
>>- Original project proposal was discussed and it was confirmed that a
>>new plugin would be developed for developer studio to report errors, that
>>would have similar functionalities like  code recommenders error reporting
>>tool.
>>
>>
>>- Certain suggestions were proposed for the original project proposal.
>>
>>
>>1. Instead of using an xml file to store user preferences, a separate
>>preference page was suggested.
>>2. For a first time user, a dialog box to get the user input was
>>suggested to be develop. The user given values for this dialog box would 
>> be
>>stored in the preference page as well so that user can change those values
>>later on using the preference page.
>>3. To get the information about the error and the error stack, the
>>original idea was to read the log file and fetch the information. However
>>it was suggested to make use the IStatus object instead, to get the error
>>related data as it provided methods to fetch those data.
>>4. The plugin should only report the errors that is concerned with
>>the developer studio. So as the first step, it was suggested to track all
>>the errors caused by the developer studio plugin. This is to be 
>> implemented
>>by listening to the error log of the dev studio plugin only. Once this 
>> task
>>is accomplished, I was advised to implement a mechanism to filter all the
>>other errors as well and find and any errors that has any connection with
>>the developer studio and to report them as well.
>>
>>
>>
>>- I had an issue about registering to the error event. That you
>>clarified by suggesting to do the initialization in the start method of 
>> the
>>BundleActivator implemented plugin class. And suggested me to try changing
>>the start up behavior of the plugin from the default lazy initialization
>>method into some different method in the manifest file of the plugin.
>>
>>
>>- I was asked to get started with coding, and to maintain a git-hub
>>repository, so you can view and comment on the parts I have done so far.
>>
>>
>>- I was also asked to get started with the error capturing part first
>>as it is of highest priority, and then to focus on the UI and connecting
>>with Jira.
>>
>>
>>- To track the progress of the project, a milestone plan was asked to
>>be prepared on daily basis.
>>
>>
>>- It was discussed to arrange the next meeting/call in another two
>>weeks time.
>>
>>
>>
>> Please point out if I have missed any important fact in our discussion.
>> I am currently preparing the milestone plan. I will send it soon.
>>
>> Regards
>>
>> Nathiesha
>>
>>
>


-- 

*Jasintha Dasanayake*

*Senior Software EngineerWSO2 Inc. | http://wso2.com lean
. enterprise . middleware*


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


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Nathiesha Maddage
Hi all,

I created a git hub repository, so the project progress can easily be
tracked.

I could start up the plugin when the IDE starts up, by implementing
Istartup interface. I tested it as well. Then I created a log listener
class and attached that to the platform log, so any error is notified.
The next task is to filter the Dev studio plugin errors out of them. For
testing purposes, currently my code filters out the errors caused
by org.eclipse.core.runtime, and that seem to work fine. I created a very
basic dialog to notify the error, which will be triggered when an error
occurs. I will further improve the UI later.
And currently I am working on collecting the information regarding the
error, that need to be included in the report. Certain information like
plugin id, error message and severity can be easily obtained by the Istatus
object, and now I am searching for ways to fetch the other information like
java version, plugin version, osgi and bundle related information.

GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git


Regards

Nathiesha

On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> This is the summary of the facts we discussed during the chat.
>
>
>- Original project proposal was discussed and it was confirmed that a
>new plugin would be developed for developer studio to report errors, that
>would have similar functionalities like  code recommenders error reporting
>tool.
>
>
>- Certain suggestions were proposed for the original project proposal.
>
>
>1. Instead of using an xml file to store user preferences, a separate
>preference page was suggested.
>2. For a first time user, a dialog box to get the user input was
>suggested to be develop. The user given values for this dialog box would be
>stored in the preference page as well so that user can change those values
>later on using the preference page.
>3. To get the information about the error and the error stack, the
>original idea was to read the log file and fetch the information. However
>it was suggested to make use the IStatus object instead, to get the error
>related data as it provided methods to fetch those data.
>4. The plugin should only report the errors that is concerned with the
>developer studio. So as the first step, it was suggested to track all the
>errors caused by the developer studio plugin. This is to be implemented by
>listening to the error log of the dev studio plugin only. Once this task is
>accomplished, I was advised to implement a mechanism to filter all the
>other errors as well and find and any errors that has any connection with
>the developer studio and to report them as well.
>
>
>
>- I had an issue about registering to the error event. That you
>clarified by suggesting to do the initialization in the start method of the
>BundleActivator implemented plugin class. And suggested me to try changing
>the start up behavior of the plugin from the default lazy initialization
>method into some different method in the manifest file of the plugin.
>
>
>- I was asked to get started with coding, and to maintain a git-hub
>repository, so you can view and comment on the parts I have done so far.
>
>
>- I was also asked to get started with the error capturing part first
>as it is of highest priority, and then to focus on the UI and connecting
>with Jira.
>
>
>- To track the progress of the project, a milestone plan was asked to
>be prepared on daily basis.
>
>
>- It was discussed to arrange the next meeting/call in another two
>weeks time.
>
>
>
> Please point out if I have missed any important fact in our discussion.
> I am currently preparing the milestone plan. I will send it soon.
>
> Regards
>
> Nathiesha
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Pulasthi Mahawithana
Hi Bhathiya,

Oauth 5.1.0 is released now. Please check with that version.

On Wed, May 11, 2016 at 8:59 AM, Bhathiya Jayasekara 
wrote:

> Hi Pulasthi,
>
> Now I'm getting this.
>
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Api management Feature
> 6.0.0.SNAPSHOT (org.wso2.carbon.apimgt.feature.group 6.0.0.SNAPSHOT)
>  Missing requirement: Identity OAuth Server Feature 5.0.9.SNAPSHOT
> (org.wso2.carbon.identity.oauth.server.feature.group 5.0.9.SNAPSHOT)
> requires
> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>
> Thanks,
> Bhathiya
>
> On Tue, May 10, 2016 at 11:47 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi Pulasthi,
>>
>> +1. It should start with 5.1.0, but not 5.0.0, as we don't expect a
>> dependency between 5.0.0-5.1.0.
>>
>> Thanks,
>> Bhathiya
>>
>> On Tue, May 10, 2016 at 11:36 PM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Hi Bhathiya/Abimaran,
>>>
>>> Yes, the current version range seems wrong. However, IMO we should have
>>> the version range as [5.1.0, 6.0.0). Because basic authenticator might be
>>> using the new APIs introduced in the Authentication Framework 5.1.0 (which
>>> was not there in 5.0.x). If we keep the range as [5.0.0, 6.0.0) and if we
>>> try to install that feature in a product where authentication framework
>>> 5.0.x is present it will allow the installation but will fail at the
>>> runtime.
>>>
>>> So shall we have the range as [5.1.0, 6.0.0) (and similarly for feature
>>> dependencies as)? Are there any issues with that?
>>>
>>> On Tue, May 10, 2016 at 7:05 PM, Bhathiya Jayasekara 
>>> wrote:
>>>
 Hi Chamila,

 On Tue, May 10, 2016 at 1:15 PM, Abimaran Kugathasan  wrote:

> Hi Chamila,
>
>
> Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
> BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?
>

 Can you please fix this issue, so we can use framework 5.1.0 and
 extenstions 5.0.9-snapshots, until you release?

 Thanks,
 Bhathiya


>
> The range should be from current major version to future major version
> like [5.0.0, 6.0.0).
>
>
>
>
> On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara <
> bhath...@wso2.com> wrote:
>
>> Got it. Thanks for the clarification Chamila.
>>
>> Regards,
>> Bhathiya
>>
>> On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna <
>> cham...@wso2.com> wrote:
>>
>>> Hi Bathiya,
>>>
>>> We yesterday released carbon-identity-framework 5.1.0 and upgraded
>>> master version to 5.1.1-SNAPSHOT. Currently we are working on releasing
>>> 5.1.0 version 40+ identity-extension repos and currently they are still 
>>> in
>>> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by 
>>> then
>>> this issue should be fixed.
>>>
>>> Also since we have broken carbon-identity repo into number of sub
>>> repos, in future each of these repos will be using different versions. 
>>> So
>>> all products which are using identity-features will have to keep 
>>> different
>>> versions for each of these repos/features, for example different 
>>> versions
>>> for saml and oauth.
>>>
>>> Thank You!
>>>
>>> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara <
>>> bhath...@wso2.com> wrote:
>>>
 Hi IS team,

 We are experiencing this issue due to the restriction
 [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
 please have a look? Please consider this urgent as our build if 
 failing due
 to this.

 Installation failed.
 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: BasicAuth Application Authenticator
 Server Feature 5.0.9.SNAPSHOT
 (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
 5.0.9.SNAPSHOT)
  Missing requirement: BasicAuth Application Authenticator Server
 Feature 5.0.9.SNAPSHOT
 (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
 5.0.9.SNAPSHOT) requires
 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
 [5.1.1.SNAPSHOT,6.0.0)' but it could not be found

 Thanks,
 --
 *Bhathiya Jayasekara*
 *Senior Software Engineer,*
 *WSO2 inc., http://wso2.com *

 *Phone: +94715478185 <%2B94715478185>*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 

[Dev] Carbon-transport feature does not contain netty-transports.yml

2016-05-10 Thread Niranjan Karunanandham
Hi all,

When I tried installing carbon-transports feature to Carbon-Kernel 5.1.0
and started the pack, I noticed that it requires a config file
(netty-transports.yml). Shouldn't this file be added via the feature?

Regards,
Nira

-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Bhathiya Jayasekara
Hi Pulasthi,

Now I'm getting this.

Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Api management Feature
6.0.0.SNAPSHOT (org.wso2.carbon.apimgt.feature.group 6.0.0.SNAPSHOT)
 Missing requirement: Identity OAuth Server Feature 5.0.9.SNAPSHOT
(org.wso2.carbon.identity.oauth.server.feature.group 5.0.9.SNAPSHOT)
requires
'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
[5.1.1.SNAPSHOT,6.0.0)' but it could not be found

Thanks,
Bhathiya

On Tue, May 10, 2016 at 11:47 PM, Bhathiya Jayasekara 
wrote:

> Hi Pulasthi,
>
> +1. It should start with 5.1.0, but not 5.0.0, as we don't expect a
> dependency between 5.0.0-5.1.0.
>
> Thanks,
> Bhathiya
>
> On Tue, May 10, 2016 at 11:36 PM, Pulasthi Mahawithana  > wrote:
>
>> Hi Bhathiya/Abimaran,
>>
>> Yes, the current version range seems wrong. However, IMO we should have
>> the version range as [5.1.0, 6.0.0). Because basic authenticator might be
>> using the new APIs introduced in the Authentication Framework 5.1.0 (which
>> was not there in 5.0.x). If we keep the range as [5.0.0, 6.0.0) and if we
>> try to install that feature in a product where authentication framework
>> 5.0.x is present it will allow the installation but will fail at the
>> runtime.
>>
>> So shall we have the range as [5.1.0, 6.0.0) (and similarly for feature
>> dependencies as)? Are there any issues with that?
>>
>> On Tue, May 10, 2016 at 7:05 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi Chamila,
>>>
>>> On Tue, May 10, 2016 at 1:15 PM, Abimaran Kugathasan 
>>> wrote:
>>>
 Hi Chamila,


 Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
 BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?

>>>
>>> Can you please fix this issue, so we can use framework 5.1.0 and
>>> extenstions 5.0.9-snapshots, until you release?
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>>

 The range should be from current major version to future major version
 like [5.0.0, 6.0.0).




 On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara <
 bhath...@wso2.com> wrote:

> Got it. Thanks for the clarification Chamila.
>
> Regards,
> Bhathiya
>
> On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna <
> cham...@wso2.com> wrote:
>
>> Hi Bathiya,
>>
>> We yesterday released carbon-identity-framework 5.1.0 and upgraded
>> master version to 5.1.1-SNAPSHOT. Currently we are working on releasing
>> 5.1.0 version 40+ identity-extension repos and currently they are still 
>> in
>> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
>> this issue should be fixed.
>>
>> Also since we have broken carbon-identity repo into number of sub
>> repos, in future each of these repos will be using different versions. So
>> all products which are using identity-features will have to keep 
>> different
>> versions for each of these repos/features, for example different versions
>> for saml and oauth.
>>
>> Thank You!
>>
>> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara <
>> bhath...@wso2.com> wrote:
>>
>>> Hi IS team,
>>>
>>> We are experiencing this issue due to the restriction
>>> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
>>> please have a look? Please consider this urgent as our build if failing 
>>> due
>>> to this.
>>>
>>> Installation failed.
>>> Cannot complete the install because one or more required items could
>>> not be found.
>>>  Software being installed: BasicAuth Application Authenticator
>>> Server Feature 5.0.9.SNAPSHOT
>>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>>> 5.0.9.SNAPSHOT)
>>>  Missing requirement: BasicAuth Application Authenticator Server
>>> Feature 5.0.9.SNAPSHOT
>>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>>> 5.0.9.SNAPSHOT) requires
>>> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>>> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>>>
>>> Thanks,
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax
>>> *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 

Re: [Dev] Issue in creating a SaaS App with the Multi-Tenant Carbon Framework

2016-05-10 Thread Sirojan Tharmakulasingam
Hi all,

The access denied error  is due to missing "admin"
inside thein the web.xml file of that web application
.
Now that application is *working fine* with the Multi-Tenant Carbon
Framework.

Thanks.

Regards,
Sirojan.

On Mon, May 9, 2016 at 6:26 PM, Sirojan Tharmakulasingam 
wrote:

> Hi all,
>
> I am following the below blog post in order to get an understanding
> of creating a SaaS App with the Multi-Tenant Carbon Framework.
>
>  Blog post link :
> http://wso2.com/library/blog-post/2013/09/creating-a-saas-app-with-the-multi-tenant-carbon-framework-step-1/
>
> According to the blog post,
> 1. I create two tenants in application server
> 2. Deploy a sample war file created from the source at
> https://github.com/karux/CarbonSaaSTest which is associated to all
> Tenants
> 3. But when I tried to log in with the valid credentials of the
> tenant admin, it gives me "HTTP Status 403 - Access to the requested
> resource has been denied" [In the blog post I struck with the step 5 under
> the section of  "Provision a Global Scope Application"]
>
> Am I missing anything? Can anybody guide me on this?
>
>
> Thanks.
>
> Regards,
> --
> Sirojan Tharmakulasingam
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: siro...@wso2.com
> Mobile: +94779797913
>



-- 
Sirojan Tharmakulasingam
Software Engineer, WSO2 Inc. http://wso2.com
Email: siro...@wso2.com
Mobile: +94779797913
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Imesh Gunaratne
On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake 
wrote:

> Hi Imesh,
>
> Now i'm getting this error. I can't connect to the DB from the client
> either.
>

Credentials might be correct, I think the issue is with the permission. You
might need to grant permission to the relevant databases to your user for
the given IP address. Please refer [1].

[1] http://dev.mysql.com/doc/refman/5.5/en/grant.html

>
> Thanks
>
> On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Mentors,
>>>
>>> when i was trying to up the manager node, i kept getting an error and a
>>> screenshot of it is attached herewith. There is no problem with network
>>> connectivity and dns resolution. Also a diagram of my setup is attached.
>>> please have a look.
>>>
>>
>> This looks like a database connectivity issue.
>>
>> Can you please try to install a mysql client in one of the hosts that AS
>> is installed and check whether it can connect to the database server?
>>
>> Thanks
>>
>>>
>>> thanks and regards,
>>> Osura
>>>
>>> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
>>> wrote:
>>>
 Hi Osura,

 On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
 wrote:

> Hi mentors,
>
> When setting up the DB according to [1], should shared REGISTRY_DB and
> shared WSO2_USER_DB be resided on a separate server other than the
> manager/worker node? if so can I use the same server i used for load
> balancer for this purpose?
>
 Yes, you can.

>
>
> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>
> Thanks and Regards
> Osura
>
> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne 
> wrote:
>
>>
>>
>> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake > > wrote:
>>
>>> Hi Imesh,
>>>
>>> Thank you very much for the guidelines. I will do as you have
>>> instructed and let you know the progress.
>>>
>>
>> Great! Let us know if you find any problems.
>>
>> Thanks
>>
>>>
>>> Regards,
>>> Osura
>>>
>>> On Saturday, April 30, 2016, Imesh Gunaratne  wrote:
>>>
 Hi Osura,

 It's nice to hear from you. I think it would be better if you can
 follow below steps:

 1. Implementing WSO2 Azure membership scheme:

- First understand how WSO2 Carbon works by setting up a WSO2
Application Server worker/manager deployment on Azure.
- Use WKA membership scheme for this and see how clustering
works.
- Then go through the WSO2 Kubernetes membership scheme source
code.
- Afterwards implement a new WSO2 membership scheme for Azure.

 2. Next see how each of the following can be setup on Azure using
 native features:

- Auto healing
- Autoscaling
- Dynamic load balancing
- Centralized logging
- Monitoring
- Metering

 Thanks


 On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Hi All,
>
> Thank you very much for accepting my proposal.
>
> Yes these days i am working on understanding how hazelcast
> behaves.
>
> I have already come across some of Azure API references that can
> be used to identify a group of VMs.
>
> Network Security Group (NSG) is the equivalent AWS Security group
> that we could find in azure. And this [1] is the API reference that 
> can be
> used to get information about a particular NSG. There under 
> networkInterfaces.id
> element, we can get a collection of references to Network
> Interface Cards that reference this NSG. And then using that we can 
> get
> information about NICs [2]. There under virtualMachine element,
> we can get the VM associated with that NIC. I think we can use method 
> to
> identify a group of VMs.
>
>
>
> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>
> Regards,
> Osura
>
> On Fri, Apr 29, 2016 at 4:16 PM, Isuru Haththotuwa <
> isu...@wso2.com> wrote:
>
>> Hi Osura,
>>
>> First of all, great work with the proposal and congratulations on
>> getting selected!
>>
>> As you know, this is the community bonding period which you can
>> use to enhance your community 

Re: [Dev] Clarification on the behavior of audit logs in API Manager 2.0

2016-05-10 Thread Nuwan Dias
I don't think we have "formal" audit logs. We do have audit fields in the
database however.

On Wed, May 11, 2016 at 9:26 AM, Shavantha Weerasinghe 
wrote:

> Hi All
>
> Appreciate a clarification on the expected behavior of the audit logs
>
> regards,
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Fri, May 6, 2016 at 9:56 AM, Shavantha Weerasinghe 
> wrote:
>
>> Hi All,
>>
>> Can I know the expected behavior for the audit logs. When considering a
>> scenario such as create update, delete for applications should each of the
>> actions be logged through the audit logs.
>>
>> regards.
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>


-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clarification on the behavior of audit logs in API Manager 2.0

2016-05-10 Thread Shavantha Weerasinghe
Hi All

Appreciate a clarification on the expected behavior of the audit logs

regards,

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300


On Fri, May 6, 2016 at 9:56 AM, Shavantha Weerasinghe 
wrote:

> Hi All,
>
> Can I know the expected behavior for the audit logs. When considering a
> scenario such as create update, delete for applications should each of the
> actions be logged through the audit logs.
>
> regards.
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> 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] [GSOC 16] Initial Project Progress

2016-05-10 Thread Chamila De Alwis
Hi Osura,

Can you go through repository/conf/datasources/master-datasources.xml file
and change the username and the password field of the particular datasource
to match the credentials of your DB server?


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, May 10, 2016 at 11:12 PM, Osura Rathnayake 
wrote:

> Hi Imesh,
>
> Now i'm getting this error. I can't connect to the DB from the client
> either.
>
> Thanks
>
> On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Mentors,
>>>
>>> when i was trying to up the manager node, i kept getting an error and a
>>> screenshot of it is attached herewith. There is no problem with network
>>> connectivity and dns resolution. Also a diagram of my setup is attached.
>>> please have a look.
>>>
>>
>> This looks like a database connectivity issue.
>>
>> Can you please try to install a mysql client in one of the hosts that AS
>> is installed and check whether it can connect to the database server?
>>
>> Thanks
>>
>>>
>>> thanks and regards,
>>> Osura
>>>
>>> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
>>> wrote:
>>>
 Hi Osura,

 On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
 wrote:

> Hi mentors,
>
> When setting up the DB according to [1], should shared REGISTRY_DB and
> shared WSO2_USER_DB be resided on a separate server other than the
> manager/worker node? if so can I use the same server i used for load
> balancer for this purpose?
>
 Yes, you can.

>
>
> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>
> Thanks and Regards
> Osura
>
> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne 
> wrote:
>
>>
>>
>> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake > > wrote:
>>
>>> Hi Imesh,
>>>
>>> Thank you very much for the guidelines. I will do as you have
>>> instructed and let you know the progress.
>>>
>>
>> Great! Let us know if you find any problems.
>>
>> Thanks
>>
>>>
>>> Regards,
>>> Osura
>>>
>>> On Saturday, April 30, 2016, Imesh Gunaratne  wrote:
>>>
 Hi Osura,

 It's nice to hear from you. I think it would be better if you can
 follow below steps:

 1. Implementing WSO2 Azure membership scheme:

- First understand how WSO2 Carbon works by setting up a WSO2
Application Server worker/manager deployment on Azure.
- Use WKA membership scheme for this and see how clustering
works.
- Then go through the WSO2 Kubernetes membership scheme source
code.
- Afterwards implement a new WSO2 membership scheme for Azure.

 2. Next see how each of the following can be setup on Azure using
 native features:

- Auto healing
- Autoscaling
- Dynamic load balancing
- Centralized logging
- Monitoring
- Metering

 Thanks


 On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Hi All,
>
> Thank you very much for accepting my proposal.
>
> Yes these days i am working on understanding how hazelcast
> behaves.
>
> I have already come across some of Azure API references that can
> be used to identify a group of VMs.
>
> Network Security Group (NSG) is the equivalent AWS Security group
> that we could find in azure. And this [1] is the API reference that 
> can be
> used to get information about a particular NSG. There under 
> networkInterfaces.id
> element, we can get a collection of references to Network
> Interface Cards that reference this NSG. And then using that we can 
> get
> information about NICs [2]. There under virtualMachine element,
> we can get the VM associated with that NIC. I think we can use method 
> to
> identify a group of VMs.
>
>
>
> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>
> Regards,
> Osura
>
> On Fri, Apr 29, 2016 at 4:16 PM, Isuru Haththotuwa <
> isu...@wso2.com> wrote:
>
>> Hi Osura,
>>
>> First of all, great work with the proposal and congratulations on
>> getting selected!
>>
>> As you know, 

Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Bhathiya Jayasekara
Hi Pulasthi,

+1. It should start with 5.1.0, but not 5.0.0, as we don't expect a
dependency between 5.0.0-5.1.0.

Thanks,
Bhathiya

On Tue, May 10, 2016 at 11:36 PM, Pulasthi Mahawithana 
wrote:

> Hi Bhathiya/Abimaran,
>
> Yes, the current version range seems wrong. However, IMO we should have
> the version range as [5.1.0, 6.0.0). Because basic authenticator might be
> using the new APIs introduced in the Authentication Framework 5.1.0 (which
> was not there in 5.0.x). If we keep the range as [5.0.0, 6.0.0) and if we
> try to install that feature in a product where authentication framework
> 5.0.x is present it will allow the installation but will fail at the
> runtime.
>
> So shall we have the range as [5.1.0, 6.0.0) (and similarly for feature
> dependencies as)? Are there any issues with that?
>
> On Tue, May 10, 2016 at 7:05 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi Chamila,
>>
>> On Tue, May 10, 2016 at 1:15 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi Chamila,
>>>
>>>
>>> Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
>>> BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?
>>>
>>
>> Can you please fix this issue, so we can use framework 5.1.0 and
>> extenstions 5.0.9-snapshots, until you release?
>>
>> Thanks,
>> Bhathiya
>>
>>
>>>
>>> The range should be from current major version to future major version
>>> like [5.0.0, 6.0.0).
>>>
>>>
>>>
>>>
>>> On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara >> > wrote:
>>>
 Got it. Thanks for the clarification Chamila.

 Regards,
 Bhathiya

 On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna <
 cham...@wso2.com> wrote:

> Hi Bathiya,
>
> We yesterday released carbon-identity-framework 5.1.0 and upgraded
> master version to 5.1.1-SNAPSHOT. Currently we are working on releasing
> 5.1.0 version 40+ identity-extension repos and currently they are still in
> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
> this issue should be fixed.
>
> Also since we have broken carbon-identity repo into number of sub
> repos, in future each of these repos will be using different versions. So
> all products which are using identity-features will have to keep different
> versions for each of these repos/features, for example different versions
> for saml and oauth.
>
> Thank You!
>
> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara <
> bhath...@wso2.com> wrote:
>
>> Hi IS team,
>>
>> We are experiencing this issue due to the restriction
>> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
>> please have a look? Please consider this urgent as our build if failing 
>> due
>> to this.
>>
>> Installation failed.
>> Cannot complete the install because one or more required items could
>> not be found.
>>  Software being installed: BasicAuth Application Authenticator Server
>> Feature 5.0.9.SNAPSHOT
>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>> 5.0.9.SNAPSHOT)
>>  Missing requirement: BasicAuth Application Authenticator Server
>> Feature 5.0.9.SNAPSHOT
>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>> 5.0.9.SNAPSHOT) requires
>> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>>
>> Thanks,
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax
>> *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>



 --
 *Bhathiya Jayasekara*
 *Senior Software Engineer,*
 *WSO2 inc., http://wso2.com *

 *Phone: +94715478185 <%2B94715478185>*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 *
 *Twitter: https://twitter.com/bhathiyax *
 *Blog: http://movingaheadblog.blogspot.com
 *

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Pulasthi Mahawithana
Hi Bhathiya/Abimaran,

Yes, the current version range seems wrong. However, IMO we should have the
version range as [5.1.0, 6.0.0). Because basic authenticator might be using
the new APIs introduced in the Authentication Framework 5.1.0 (which was
not there in 5.0.x). If we keep the range as [5.0.0, 6.0.0) and if we try
to install that feature in a product where authentication framework 5.0.x
is present it will allow the installation but will fail at the runtime.

So shall we have the range as [5.1.0, 6.0.0) (and similarly for feature
dependencies as)? Are there any issues with that?

On Tue, May 10, 2016 at 7:05 PM, Bhathiya Jayasekara 
wrote:

> Hi Chamila,
>
> On Tue, May 10, 2016 at 1:15 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Chamila,
>>
>>
>> Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
>> BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?
>>
>
> Can you please fix this issue, so we can use framework 5.1.0 and
> extenstions 5.0.9-snapshots, until you release?
>
> Thanks,
> Bhathiya
>
>
>>
>> The range should be from current major version to future major version
>> like [5.0.0, 6.0.0).
>>
>>
>>
>>
>> On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Got it. Thanks for the clarification Chamila.
>>>
>>> Regards,
>>> Bhathiya
>>>
>>> On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna >> > wrote:
>>>
 Hi Bathiya,

 We yesterday released carbon-identity-framework 5.1.0 and upgraded
 master version to 5.1.1-SNAPSHOT. Currently we are working on releasing
 5.1.0 version 40+ identity-extension repos and currently they are still in
 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
 this issue should be fixed.

 Also since we have broken carbon-identity repo into number of sub
 repos, in future each of these repos will be using different versions. So
 all products which are using identity-features will have to keep different
 versions for each of these repos/features, for example different versions
 for saml and oauth.

 Thank You!

 On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara <
 bhath...@wso2.com> wrote:

> Hi IS team,
>
> We are experiencing this issue due to the restriction
> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
> please have a look? Please consider this urgent as our build if failing 
> due
> to this.
>
> Installation failed.
> Cannot complete the install because one or more required items could
> not be found.
>  Software being installed: BasicAuth Application Authenticator Server
> Feature 5.0.9.SNAPSHOT
> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
> 5.0.9.SNAPSHOT)
>  Missing requirement: BasicAuth Application Authenticator Server
> Feature 5.0.9.SNAPSHOT
> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
> 5.0.9.SNAPSHOT) requires
> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>
> Thanks,
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax
> *
> *Blog: http://movingaheadblog.blogspot.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Chamila Dilshan Wijayarathna,*
 Software Engineer
 Mobile:(+94)788193620
 WSO2 Inc., http://wso2.com/

>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>>
>> Software Engineer | WSO2 Inc
>> Data & APIs Technologies Team
>> Mobile : +94 773922820
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> 

Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Osura Rathnayake
Hi Imesh,

Now i'm getting this error. I can't connect to the DB from the client
either.

Thanks

On Tue, May 10, 2016 at 9:46 PM, Imesh Gunaratne  wrote:

>
>
> On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
> wrote:
>
>> Hi Mentors,
>>
>> when i was trying to up the manager node, i kept getting an error and a
>> screenshot of it is attached herewith. There is no problem with network
>> connectivity and dns resolution. Also a diagram of my setup is attached.
>> please have a look.
>>
>
> This looks like a database connectivity issue.
>
> Can you please try to install a mysql client in one of the hosts that AS
> is installed and check whether it can connect to the database server?
>
> Thanks
>
>>
>> thanks and regards,
>> Osura
>>
>> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi mentors,

 When setting up the DB according to [1], should shared REGISTRY_DB and
 shared WSO2_USER_DB be resided on a separate server other than the
 manager/worker node? if so can I use the same server i used for load
 balancer for this purpose?

>>> Yes, you can.
>>>


 [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database

 Thanks and Regards
 Osura

 On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne  wrote:

>
>
> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake 
> wrote:
>
>> Hi Imesh,
>>
>> Thank you very much for the guidelines. I will do as you have
>> instructed and let you know the progress.
>>
>
> Great! Let us know if you find any problems.
>
> Thanks
>
>>
>> Regards,
>> Osura
>>
>> On Saturday, April 30, 2016, Imesh Gunaratne  wrote:
>>
>>> Hi Osura,
>>>
>>> It's nice to hear from you. I think it would be better if you can
>>> follow below steps:
>>>
>>> 1. Implementing WSO2 Azure membership scheme:
>>>
>>>- First understand how WSO2 Carbon works by setting up a WSO2
>>>Application Server worker/manager deployment on Azure.
>>>- Use WKA membership scheme for this and see how clustering
>>>works.
>>>- Then go through the WSO2 Kubernetes membership scheme source
>>>code.
>>>- Afterwards implement a new WSO2 membership scheme for Azure.
>>>
>>> 2. Next see how each of the following can be setup on Azure using
>>> native features:
>>>
>>>- Auto healing
>>>- Autoscaling
>>>- Dynamic load balancing
>>>- Centralized logging
>>>- Monitoring
>>>- Metering
>>>
>>> Thanks
>>>
>>>
>>> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake <
>>> osura...@gmail.com> wrote:
>>>
 Hi All,

 Thank you very much for accepting my proposal.

 Yes these days i am working on understanding how hazelcast behaves.

 I have already come across some of Azure API references that can be
 used to identify a group of VMs.

 Network Security Group (NSG) is the equivalent AWS Security group
 that we could find in azure. And this [1] is the API reference that 
 can be
 used to get information about a particular NSG. There under 
 networkInterfaces.id
 element, we can get a collection of references to Network
 Interface Cards that reference this NSG. And then using that we can get
 information about NICs [2]. There under virtualMachine element, we
 can get the VM associated with that NIC. I think we can use method to
 identify a group of VMs.



 [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
 [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx

 Regards,
 Osura

 On Fri, Apr 29, 2016 at 4:16 PM, Isuru Haththotuwa  wrote:

> Hi Osura,
>
> First of all, great work with the proposal and congratulations on
> getting selected!
>
> As you know, this is the community bonding period which you can
> use to enhance your community relationship and of course to gain 
> knowledge
> in the related areas. Hope you are right on it!
>
> Can you please send a brief update about the any project related
> work that you are doing now? Please copy the wso2 dev list (
> dev@wso2.org) as well.
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


>>>
>>>
>>> --
>>> *Imesh Gunaratne*

Re: [Dev] "org.wso2.carbon.core.server.feature" packs "poi-ooxml"

2016-05-10 Thread Prabath Abeysekera
Great, Thanks Manoj!

On Tue, May 10, 2016 at 10:53 PM, Manoj Kumara  wrote:

> Hi Prabath,
>
> We are in the process of removing these dependencies form along with
> version upgrading required libraries to address some security
> vulnerabilities. Plan is to remove them from 4.4.6 and currently Kalpa is
> working on it.
>
> Regards,
> Manoj
>
> *Manoj Kumara*
> WSO2 Inc. *| **lean. enterprise. middleware.*
> *Mobile:* +94 713 448188
>
> On Tue, May 10, 2016 at 10:33 PM, Prabath Abeysekera 
> wrote:
>
>> Folks, have you guys been able to do something about this?
>>
>> Cheers,
>> Prabath
>>
>> On Fri, Apr 8, 2016 at 9:00 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> Not for 4.4.6 as its now ready for release. We will have to verify this
>>> and remove this, if this is not needed for any kernel dependents. Will
>>> track this and fix for next release -
>>> https://wso2.org/jira/browse/CARBON-15852
>>>
>>> On Fri, Apr 8, 2016 at 11:55 AM, Aruna Karunarathna 
>>> wrote:
>>>


 On Fri, Apr 8, 2016 at 11:38 AM, Prabath Abeysekera 
 wrote:

> Hi Kicha,
>
> Looks like "org.wso2.carbon.core.server.feature" packs "poi-ooxml",
> even though it is not currently used in the underlying implementation,
> which claims for 7.6M. IOW, there's no sign of any usage of the above
> except for a couple of stale imports.
>
> Considering the above, is there any possibility to remove this?
>

 Adding Jayanga, Can we remove this in 4.4.6 release?
 BTW not sure, if this is already used since this comes from the kernel,
 If so there will be problems in product level.

>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 *Aruna Sujith Karunarathna *
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Associate Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> Prabath Abeysekara
>> Technical Lead
>> WSO2 Inc.
>> Email: praba...@wso2.com
>> Mobile: +94774171471
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Prabath Abeysekara
Technical Lead
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] "org.wso2.carbon.core.server.feature" packs "poi-ooxml"

2016-05-10 Thread Manoj Kumara
Hi Prabath,

We are in the process of removing these dependencies form along with
version upgrading required libraries to address some security
vulnerabilities. Plan is to remove them from 4.4.6 and currently Kalpa is
working on it.

Regards,
Manoj

*Manoj Kumara*
WSO2 Inc. *| **lean. enterprise. middleware.*
*Mobile:* +94 713 448188

On Tue, May 10, 2016 at 10:33 PM, Prabath Abeysekera 
wrote:

> Folks, have you guys been able to do something about this?
>
> Cheers,
> Prabath
>
> On Fri, Apr 8, 2016 at 9:00 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Not for 4.4.6 as its now ready for release. We will have to verify this
>> and remove this, if this is not needed for any kernel dependents. Will
>> track this and fix for next release -
>> https://wso2.org/jira/browse/CARBON-15852
>>
>> On Fri, Apr 8, 2016 at 11:55 AM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Fri, Apr 8, 2016 at 11:38 AM, Prabath Abeysekera 
>>> wrote:
>>>
 Hi Kicha,

 Looks like "org.wso2.carbon.core.server.feature" packs "poi-ooxml",
 even though it is not currently used in the underlying implementation,
 which claims for 7.6M. IOW, there's no sign of any usage of the above
 except for a couple of stale imports.

 Considering the above, is there any possibility to remove this?

>>>
>>> Adding Jayanga, Can we remove this in 4.4.6 release?
>>> BTW not sure, if this is already used since this comes from the kernel,
>>> If so there will be problems in product level.
>>>

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

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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>
> ___
> 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] "org.wso2.carbon.core.server.feature" packs "poi-ooxml"

2016-05-10 Thread Prabath Abeysekera
Folks, have you guys been able to do something about this?

Cheers,
Prabath

On Fri, Apr 8, 2016 at 9:00 PM, Kishanthan Thangarajah 
wrote:

> Not for 4.4.6 as its now ready for release. We will have to verify this
> and remove this, if this is not needed for any kernel dependents. Will
> track this and fix for next release -
> https://wso2.org/jira/browse/CARBON-15852
>
> On Fri, Apr 8, 2016 at 11:55 AM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Fri, Apr 8, 2016 at 11:38 AM, Prabath Abeysekera 
>> wrote:
>>
>>> Hi Kicha,
>>>
>>> Looks like "org.wso2.carbon.core.server.feature" packs "poi-ooxml", even
>>> though it is not currently used in the underlying implementation, which
>>> claims for 7.6M. IOW, there's no sign of any usage of the above except for
>>> a couple of stale imports.
>>>
>>> Considering the above, is there any possibility to remove this?
>>>
>>
>> Adding Jayanga, Can we remove this in 4.4.6 release?
>> BTW not sure, if this is already used since this comes from the kernel,
>> If so there will be problems in product level.
>>
>>>
>>> Cheers,
>>> Prabath
>>> --
>>> Prabath Abeysekara
>>> Technical Lead
>>> WSO2 Inc.
>>> Email: praba...@wso2.com
>>> Mobile: +94774171471
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
Prabath Abeysekara
Technical Lead
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] "org.wso2.carbon.mediation.initializer.server.feature" still depends on the old-task component

2016-05-10 Thread Prabath Abeysekera
Folks, have you guys been able to do something about this?

Cheers,
Prabath

On Fri, Apr 8, 2016 at 1:01 PM, Prabath Abeysekera 
wrote:

> Hi Chanaka,
>
> As it appears, "org.wso2.carbon.mediation.initializer.server.feature"
> still depends on the old scheduled tasks component, which is not in use
> anymore. Any possibility to remove all such obsolete references from
> "org.wso2.carbon.mediation.initializer.server.feature"?
>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
Prabath Abeysekara
Technical Lead
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][Puppet Modules] Finalizing wso2/puppet-modules 2.0.0 release

2016-05-10 Thread Chamila De Alwis
We've completed the following tasks up to now.

   - Smoke test each product on the Kubernetes platform with clustering
   - Fix minor issues found during testing the products
  - Consistent structure of the YAML file
  - Style corrections
  - Missing values that are crucial for product functionality from a
  Smoke test's point of view
   - Improve and verify the README content

Testing of Default platform is ongoing. Let's scope this so that default
profile of every product is working on the Vagrant setup OOB. For the
specific profiles, refactoring the YAML to be consistent with already
tested products will be adequate since the configuration details are bound
to change in a real world application.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, May 10, 2016 at 1:36 PM, Chamila De Alwis  wrote:

> I added a GitHub wiki page including this range information [1].
>
> [1] -
> https://github.com/wso2/puppet-modules/wiki/Proxy-Port-Range-Use-for-Kubernetes-Platform
>
>
>
> Regards,
> Chamila de Alwis
> Committer and PMC Member - Apache Stratos
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Tue, May 10, 2016 at 12:44 PM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Tue, May 10, 2016 at 10:02 AM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Please find the node port ranges used in puppet modules. We should add
>>> this to wiki.
>>>
>>
>> Thanks for listing this out Anuruddha! We might need to mention that this
>> is specifically for the Kubernetes platform.
>>
>> Thanks
>>
>>>
>>> Product
>>> Port Range
>>> Min Port Max Port
>>> wso2am 32000 32020
>>> wso2as 32021 32030
>>> wso2bps 32031 32040
>>> wso2brs 32041 32050
>>> wso2cep 32051 32060
>>> wso2das 32061 32070
>>> wso2dss 32071 32080
>>> wso2es 32081 32090
>>> wso2esb 32091 32100
>>> wso2greg 32101 32110
>>> wso2is 32110 32120
>>> wso2mb 32120 32130
>>>
>>>
>>>
>>> On Tue, May 10, 2016 at 6:19 AM, Chamila De Alwis 
>>> wrote:
>>>
 Hi Akila,

 On Tue, May 10, 2016 at 6:14 AM, Akila Ravihansa Perera <
 raviha...@wso2.com> wrote:

> WARNING: class inherits across module namespaces
> WARNING: line has more than 80 characters
>

 I think we can ignore these as they were considered in the decision
 process. I'll change the release notes to amend the line about vm_type.


 Regards,
 Chamila de Alwis
 Committer and PMC Member - Apache Stratos
 Software Engineer | WSO2 | +94772207163
 Blog: code.chamiladealwis.com



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


>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel  : +94 112 145 345
>>> a nurudd...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.io TW: @imesh
>> Lean . Enterprise . Middleware
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What should be the default port for analytics servers

2016-05-10 Thread Chanaka Fernando
+1 for having an offset of 1 for analytics server.

On Tue, May 10, 2016 at 7:25 PM, Isabelle Mauny  wrote:

> Very good catch :)
>
> +1 to consistency. Let’s go for offset 1 for Analytics across the board if
> everybody is happy with that ..
> __
>
> Isabelle Mauny
> VP, Product Management; WSO2, Inc.;  http://wso2.com/
>
> On May 10, 2016, at 2:41 PM, Asanka Vithanage  wrote:
>
> Hi All,
>
> As per the new strategy, Product is considered as a collection of runtime
> + Analytics + tooling. So ideally users should be able to run and try both
> runtime and analytics servers without any configuration changes.
>
> ESB runtime and ESB analytics servers currently start on port 9443. So we
> have to add port offset on one of the server.
> But in API Manager, Analytics server comes with port offset 1. so there is
> no standard about $Subject.
>
> Shouldn't we ship all the analytics servers with a standard port offset?
> WDYT?
>
>
>
> --
> Asanka Vithanage
> Senior Software Engineer -QA
> Mobile: +94 0716286708
> Email: asan...@wso2.com
> WSO2 Inc. www.wso2.com
>
>
>


-- 
Thank you and Best Regards,
Chanaka Fernando
Senior Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Application Server 6.0.0-M2 Released !

2016-05-10 Thread Manoj Kumara
*~ WSO2 Application Server 6.0.0-M2 Released ~*

Welcome to WSO2 Application Server 6.0.0, the successor of WSO2 Carbon
based Application Server. WSO2 Application Server 6.0.0 is a complete
revamp and is based on vanilla Apache Tomcat. WSO2 provides a number of
features by means of extensions to Tomcat to add/enhance the functionality.
It provides first class support for generic web applications and
JAX-RS/JAX-WS web applications. The performance of the server and
individual application can be monitored by integrating WSO2 Application
Server with WSO2 Data Analytics Server. WSO2 Application Server is an open
source project and it is available under the Apache Software License (v2.0)
.

Source and product distribution for this release is available here
.


*Key Features*

   - HTTP Statistics Monitoring
   - Webapp Classloading Runtimes

*Fixed Issues*

   - https://wso2.org/jira/browse/WSAS-2194?filter=13061

*Known Issues*

   - https://wso2.org/jira/browse/WSAS-2237?filter=13062

*Reporting Issues*

Issues, documentation errors and feature requests regarding WSO2
Application Server can be reported through the public issue tracking system
.

*Contact us*

WSO2 Application Server developers can be contacted via the Development
 and Architecture  mailing lists.
Alternatively, questions can also be raised in the stackoverflow forum :
http://stackoverflow.com/questions/tagged/wso2

Thank you for your interest in WSO2 Application Server.


*- WSO2 Application Server Team -*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Imesh Gunaratne
On Tue, May 10, 2016 at 9:43 PM, Osura Rathnayake 
wrote:

> Hi Mentors,
>
> when i was trying to up the manager node, i kept getting an error and a
> screenshot of it is attached herewith. There is no problem with network
> connectivity and dns resolution. Also a diagram of my setup is attached.
> please have a look.
>

This looks like a database connectivity issue.

Can you please try to install a mysql client in one of the hosts that AS is
installed and check whether it can connect to the database server?

Thanks

>
> thanks and regards,
> Osura
>
> On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa 
> wrote:
>
>> Hi Osura,
>>
>> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi mentors,
>>>
>>> When setting up the DB according to [1], should shared REGISTRY_DB and
>>> shared WSO2_USER_DB be resided on a separate server other than the
>>> manager/worker node? if so can I use the same server i used for load
>>> balancer for this purpose?
>>>
>> Yes, you can.
>>
>>>
>>>
>>> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>>>
>>> Thanks and Regards
>>> Osura
>>>
>>> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne  wrote:
>>>


 On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake 
 wrote:

> Hi Imesh,
>
> Thank you very much for the guidelines. I will do as you have
> instructed and let you know the progress.
>

 Great! Let us know if you find any problems.

 Thanks

>
> Regards,
> Osura
>
> On Saturday, April 30, 2016, Imesh Gunaratne  wrote:
>
>> Hi Osura,
>>
>> It's nice to hear from you. I think it would be better if you can
>> follow below steps:
>>
>> 1. Implementing WSO2 Azure membership scheme:
>>
>>- First understand how WSO2 Carbon works by setting up a WSO2
>>Application Server worker/manager deployment on Azure.
>>- Use WKA membership scheme for this and see how clustering works.
>>- Then go through the WSO2 Kubernetes membership scheme source
>>code.
>>- Afterwards implement a new WSO2 membership scheme for Azure.
>>
>> 2. Next see how each of the following can be setup on Azure using
>> native features:
>>
>>- Auto healing
>>- Autoscaling
>>- Dynamic load balancing
>>- Centralized logging
>>- Monitoring
>>- Metering
>>
>> Thanks
>>
>>
>> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake > > wrote:
>>
>>> Hi All,
>>>
>>> Thank you very much for accepting my proposal.
>>>
>>> Yes these days i am working on understanding how hazelcast behaves.
>>>
>>> I have already come across some of Azure API references that can be
>>> used to identify a group of VMs.
>>>
>>> Network Security Group (NSG) is the equivalent AWS Security group
>>> that we could find in azure. And this [1] is the API reference that can 
>>> be
>>> used to get information about a particular NSG. There under 
>>> networkInterfaces.id
>>> element, we can get a collection of references to Network Interface
>>> Cards that reference this NSG. And then using that we can get 
>>> information
>>> about NICs [2]. There under virtualMachine element, we can get the
>>> VM associated with that NIC. I think we can use method to identify a 
>>> group
>>> of VMs.
>>>
>>>
>>>
>>> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
>>> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>>>
>>> Regards,
>>> Osura
>>>
>>> On Fri, Apr 29, 2016 at 4:16 PM, Isuru Haththotuwa 
>>> wrote:
>>>
 Hi Osura,

 First of all, great work with the proposal and congratulations on
 getting selected!

 As you know, this is the community bonding period which you can use
 to enhance your community relationship and of course to gain knowledge 
 in
 the related areas. Hope you are right on it!

 Can you please send a brief update about the any project related
 work that you are doing now? Please copy the wso2 dev list (
 dev@wso2.org) as well.

 --
 Thanks and Regards,

 Isuru H.
 +94 716 358 048* *



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


 --
 *Imesh Gunaratne*
 Senior Technical Lead
 WSO2 Inc: http://wso2.com
 T: +94 11 214 5345 M: +94 77 374 

Re: [Dev] [GSOC 16] Initial Project Progress

2016-05-10 Thread Osura Rathnayake
Hi Mentors,

when i was trying to up the manager node, i kept getting an error and a
screenshot of it is attached herewith. There is no problem with network
connectivity and dns resolution. Also a diagram of my setup is attached.
please have a look.

thanks and regards,
Osura

On Tue, May 10, 2016 at 6:40 AM, Isuru Haththotuwa  wrote:

> Hi Osura,
>
> On Mon, May 9, 2016 at 11:22 PM, Osura Rathnayake 
> wrote:
>
>> Hi mentors,
>>
>> When setting up the DB according to [1], should shared REGISTRY_DB and
>> shared WSO2_USER_DB be resided on a separate server other than the
>> manager/worker node? if so can I use the same server i used for load
>> balancer for this purpose?
>>
> Yes, you can.
>
>>
>>
>> [1] https://docs.wso2.com/display/CLUSTER44x/Setting+up+the+Database
>>
>> Thanks and Regards
>> Osura
>>
>> On Sun, May 1, 2016 at 9:53 AM, Imesh Gunaratne  wrote:
>>
>>>
>>>
>>> On Sat, Apr 30, 2016 at 9:20 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Imesh,

 Thank you very much for the guidelines. I will do as you have
 instructed and let you know the progress.

>>>
>>> Great! Let us know if you find any problems.
>>>
>>> Thanks
>>>

 Regards,
 Osura

 On Saturday, April 30, 2016, Imesh Gunaratne  wrote:

> Hi Osura,
>
> It's nice to hear from you. I think it would be better if you can
> follow below steps:
>
> 1. Implementing WSO2 Azure membership scheme:
>
>- First understand how WSO2 Carbon works by setting up a WSO2
>Application Server worker/manager deployment on Azure.
>- Use WKA membership scheme for this and see how clustering works.
>- Then go through the WSO2 Kubernetes membership scheme source
>code.
>- Afterwards implement a new WSO2 membership scheme for Azure.
>
> 2. Next see how each of the following can be setup on Azure using
> native features:
>
>- Auto healing
>- Autoscaling
>- Dynamic load balancing
>- Centralized logging
>- Monitoring
>- Metering
>
> Thanks
>
>
> On Fri, Apr 29, 2016 at 8:07 PM, Osura Rathnayake 
> wrote:
>
>> Hi All,
>>
>> Thank you very much for accepting my proposal.
>>
>> Yes these days i am working on understanding how hazelcast behaves.
>>
>> I have already come across some of Azure API references that can be
>> used to identify a group of VMs.
>>
>> Network Security Group (NSG) is the equivalent AWS Security group
>> that we could find in azure. And this [1] is the API reference that can 
>> be
>> used to get information about a particular NSG. There under 
>> networkInterfaces.id
>> element, we can get a collection of references to Network Interface
>> Cards that reference this NSG. And then using that we can get information
>> about NICs [2]. There under virtualMachine element, we can get the
>> VM associated with that NIC. I think we can use method to identify a 
>> group
>> of VMs.
>>
>>
>>
>> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
>> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>>
>> Regards,
>> Osura
>>
>> On Fri, Apr 29, 2016 at 4:16 PM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Osura,
>>>
>>> First of all, great work with the proposal and congratulations on
>>> getting selected!
>>>
>>> As you know, this is the community bonding period which you can use
>>> to enhance your community relationship and of course to gain knowledge 
>>> in
>>> the related areas. Hope you are right on it!
>>>
>>> Can you please send a brief update about the any project related
>>> work that you are doing now? Please copy the wso2 dev list (
>>> dev@wso2.org) as well.
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* *
>>>
>>>
>>>
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
>
>>>
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Senior Technical Lead
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057
>>> W: http://imesh.io TW: @imesh
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Upgrading App Manager to user Carbon Kernel 4.4.5

2016-05-10 Thread Dinusha Senanayaka
Also, if we update to latest SNAPSHOT versions of identity dependencies
will that compatible with IS-5.1.0 too ? (we are using service calls to add
SP, XACML policies etc).

On Tue, May 10, 2016 at 7:41 PM, Dinusha Senanayaka 
wrote:

> Hi Johann,
>
> With the kernel-4.4.5 migration of AppM, we could not used released
> version of identity dependencies due to the issue,  Rushmin has originally
> mentioned. As per the offline discussion had with team, identity repo was
> going to release in a one week of time issue was reported. Hence we updated
> AppM p2-repo to use snapshot versions without requesting for a component
> repo release. But now, identity team has changed the versions of identity
> snapshot versions and it has caused AppManager build failure [1].
>
> We could check and change AppM identity dependencies to the snapshot
> versions that you are currently having, but if the release is not going to
> happen soon and there are considerable active developments going on
> identity repos, this won't be a solution for us. Can we get a separate
> identity component release or other solution for this  ASAP?
>
> [1] https://wso2.org/jenkins/job/product-app-manager/261/
>
> Cannot complete the install because one or more required items could not be 
> found.
>  Software being installed: WSO2 Carbon - APP Publisher Feature 1.1.4.SNAPSHOT 
> (org.wso2.carbon.appmgt.publisher.feature.group 1.1.4.SNAPSHOT)
>  Missing requirement: org.wso2.carbon.appmgt.impl 1.1.4.SNAPSHOT 
> (org.wso2.carbon.appmgt.impl 1.1.4.SNAPSHOT) requires 'package 
> org.wso2.carbon.identity.entitlement.proxy [5.0.7,5.1.0)' but it could not be 
> found
>
>
>
> Regards,
> Dinusha.
>
>
>
> On Tue, Apr 12, 2016 at 10:24 AM, Pushpalanka Jayawardhana  > wrote:
>
>>
>>
>> On Tue, Apr 12, 2016 at 6:58 AM, Johann Nallathamby 
>> wrote:
>>
>>> @Pushpalanka: Isn't the repo versions (all the repos, now that we have
>>> 46 IINM maintained by IS team) going to be 5.10.0 since we have backward
>>> compatible API additions ?
>>>
>> Yes my mistake.. Next release version will be *5.1.0.*
>>
>>>
>>> On Mon, Apr 11, 2016 at 3:40 AM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>


 On Mon, Apr 11, 2016 at 1:53 PM, Dinusha Senanayaka 
 wrote:

> Hi IS Team,
>
> Do you have release date for identity-5.0.9 ? This fix is critical for
> App manager release.
>
 We are working on to release the beta pack tomorrow.  Identity-5.0.9
 release will be done with the RC pack, which will be by 25th in best case.

>
> Regards,
> Dinusha.
>
> On Mon, Apr 4, 2016 at 10:34 AM, Rushmin Fernando 
> wrote:
>
>> Thanks Pulasthi !
>>
>> App Manager WIP code can be found in [1] and [2]
>>
>> Thanks
>> Rushmin
>>
>> [1] -
>> https://github.com/wso2/carbon-appmgt/tree/feature/kernel-4.4.5-upgrade
>>
>> [2]  -
>> https://github.com/wso2/product-app-manager/tree/feature/kernel-4.4.5-upgrade
>>
>> On Fri, Apr 1, 2016 at 4:52 PM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Yes, we no longer use the wso2/carbon-identity repo for development.
>>> We use the repos in 'wso2-extensions'. However the group ids, artifact 
>>> ids
>>> and versions follow the same from carbon-identity.
>>>
>>> On Fri, Apr 1, 2016 at 3:56 PM, Rushmin Fernando 
>>> wrote:
>>>
 Thanks Supun !

 So is [1] obsolete now since the connector code resides in
 'wso2-extensions' account now ?


 Thanks
 Rushmin

 [1] -
 https://github.com/wso2/carbon-identity/blob/master/features/provisioning/org.wso2.carbon.identity.provisioning.connector.salesforce.server.feature

 On Fri, Apr 1, 2016 at 3:47 PM, Pulasthi Mahawithana <
 pulast...@wso2.com> wrote:

> Hi Rushmin,
>
> This issue was due to that component being moved from
> carbon-commons to analytic commons. Isura fixed that issue with [1] 
> and
> [2]. Can you please try now?
>
> [1]
> https://github.com/wso2-extensions/identity-extension-parent/pull/6
> [2]
> https://github.com/wso2-extensions/identity-outbound-provisioning-salesforce/pull/6
>
> On Fri, Apr 1, 2016 at 12:21 PM, Rushmin Fernando <
> rush...@wso2.com> wrote:
>
>>
>> Hi Devs,
>>
>> We are in the process of upgrading the Carbon Kernel version to
>> 4.4.5
>>
>> During this upgrade we found out that
>> "org.wso2.carbon.identity.provisioning.connector.salesforce.server" 
>> feature
>> is dependenct on a non-existing feature version of
>> "org.wso2.carbon.databridge.commons.server"

Re: [Dev] Upgrading App Manager to user Carbon Kernel 4.4.5

2016-05-10 Thread Dinusha Senanayaka
Hi Johann,

With the kernel-4.4.5 migration of AppM, we could not used released version
of identity dependencies due to the issue,  Rushmin has originally
mentioned. As per the offline discussion had with team, identity repo was
going to release in a one week of time issue was reported. Hence we updated
AppM p2-repo to use snapshot versions without requesting for a component
repo release. But now, identity team has changed the versions of identity
snapshot versions and it has caused AppManager build failure [1].

We could check and change AppM identity dependencies to the snapshot
versions that you are currently having, but if the release is not going to
happen soon and there are considerable active developments going on
identity repos, this won't be a solution for us. Can we get a separate
identity component release or other solution for this  ASAP?

[1] https://wso2.org/jenkins/job/product-app-manager/261/

Cannot complete the install because one or more required items could
not be found.
 Software being installed: WSO2 Carbon - APP Publisher Feature
1.1.4.SNAPSHOT (org.wso2.carbon.appmgt.publisher.feature.group
1.1.4.SNAPSHOT)
 Missing requirement: org.wso2.carbon.appmgt.impl 1.1.4.SNAPSHOT
(org.wso2.carbon.appmgt.impl 1.1.4.SNAPSHOT) requires 'package
org.wso2.carbon.identity.entitlement.proxy [5.0.7,5.1.0)' but it could
not be found



Regards,
Dinusha.



On Tue, Apr 12, 2016 at 10:24 AM, Pushpalanka Jayawardhana 
wrote:

>
>
> On Tue, Apr 12, 2016 at 6:58 AM, Johann Nallathamby 
> wrote:
>
>> @Pushpalanka: Isn't the repo versions (all the repos, now that we have 46
>> IINM maintained by IS team) going to be 5.10.0 since we have backward
>> compatible API additions ?
>>
> Yes my mistake.. Next release version will be *5.1.0.*
>
>>
>> On Mon, Apr 11, 2016 at 3:40 AM, Pushpalanka Jayawardhana > > wrote:
>>
>>>
>>>
>>> On Mon, Apr 11, 2016 at 1:53 PM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi IS Team,

 Do you have release date for identity-5.0.9 ? This fix is critical for
 App manager release.

>>> We are working on to release the beta pack tomorrow.  Identity-5.0.9
>>> release will be done with the RC pack, which will be by 25th in best case.
>>>

 Regards,
 Dinusha.

 On Mon, Apr 4, 2016 at 10:34 AM, Rushmin Fernando 
 wrote:

> Thanks Pulasthi !
>
> App Manager WIP code can be found in [1] and [2]
>
> Thanks
> Rushmin
>
> [1] -
> https://github.com/wso2/carbon-appmgt/tree/feature/kernel-4.4.5-upgrade
>
> [2]  -
> https://github.com/wso2/product-app-manager/tree/feature/kernel-4.4.5-upgrade
>
> On Fri, Apr 1, 2016 at 4:52 PM, Pulasthi Mahawithana <
> pulast...@wso2.com> wrote:
>
>> Yes, we no longer use the wso2/carbon-identity repo for development.
>> We use the repos in 'wso2-extensions'. However the group ids, artifact 
>> ids
>> and versions follow the same from carbon-identity.
>>
>> On Fri, Apr 1, 2016 at 3:56 PM, Rushmin Fernando 
>> wrote:
>>
>>> Thanks Supun !
>>>
>>> So is [1] obsolete now since the connector code resides in
>>> 'wso2-extensions' account now ?
>>>
>>>
>>> Thanks
>>> Rushmin
>>>
>>> [1] -
>>> https://github.com/wso2/carbon-identity/blob/master/features/provisioning/org.wso2.carbon.identity.provisioning.connector.salesforce.server.feature
>>>
>>> On Fri, Apr 1, 2016 at 3:47 PM, Pulasthi Mahawithana <
>>> pulast...@wso2.com> wrote:
>>>
 Hi Rushmin,

 This issue was due to that component being moved from
 carbon-commons to analytic commons. Isura fixed that issue with [1] and
 [2]. Can you please try now?

 [1]
 https://github.com/wso2-extensions/identity-extension-parent/pull/6
 [2]
 https://github.com/wso2-extensions/identity-outbound-provisioning-salesforce/pull/6

 On Fri, Apr 1, 2016 at 12:21 PM, Rushmin Fernando  wrote:

>
> Hi Devs,
>
> We are in the process of upgrading the Carbon Kernel version to
> 4.4.5
>
> During this upgrade we found out that
> "org.wso2.carbon.identity.provisioning.connector.salesforce.server" 
> feature
> is dependenct on a non-existing feature version of
> "org.wso2.carbon.databridge.commons.server"
>
> I opened a Jira to track this. [1]
>
> Had a chat with Pulasthi and this will be fixed with IS 5.2.0
> release which will happen in the next week.
>
> Until this is fixed, I'm proceeding with the identity
> 5.0.9-SNAPSHOT having the issue fixed locally.
>
> Thanks
> Rushmin
>
> [1] - https://wso2.org/jira/browse/IDENTITY-4465

Re: [Dev] What should be the default port for analytics servers

2016-05-10 Thread Isabelle Mauny
Very good catch :) 

+1 to consistency. Let’s go for offset 1 for Analytics across the board if 
everybody is happy with that ..
__

Isabelle Mauny
VP, Product Management; WSO2, Inc.;  http://wso2.com/
> On May 10, 2016, at 2:41 PM, Asanka Vithanage  wrote:
> 
> Hi All,
> 
> As per the new strategy, Product is considered as a collection of runtime + 
> Analytics + tooling. So ideally users should be able to run and try both 
> runtime and analytics servers without any configuration changes.
> 
> ESB runtime and ESB analytics servers currently start on port 9443. So we 
> have to add port offset on one of the server.
> But in API Manager, Analytics server comes with port offset 1. so there is no 
> standard about $Subject.
> 
> Shouldn't we ship all the analytics servers with a standard port offset? WDYT?
> 
> 
> 
> -- 
> Asanka Vithanage
> Senior Software Engineer -QA
> Mobile: +94 0716286708
> Email: asan...@wso2.com 
> WSO2 Inc. www.wso2.com 
> 

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


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Bhathiya Jayasekara
Hi Chamila,

On Tue, May 10, 2016 at 1:15 PM, Abimaran Kugathasan 
wrote:

> Hi Chamila,
>
>
> Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
> BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?
>

Can you please fix this issue, so we can use framework 5.1.0 and
extenstions 5.0.9-snapshots, until you release?

Thanks,
Bhathiya


>
> The range should be from current major version to future major version
> like [5.0.0, 6.0.0).
>
>
>
>
> On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara 
> wrote:
>
>> Got it. Thanks for the clarification Chamila.
>>
>> Regards,
>> Bhathiya
>>
>> On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi Bathiya,
>>>
>>> We yesterday released carbon-identity-framework 5.1.0 and upgraded
>>> master version to 5.1.1-SNAPSHOT. Currently we are working on releasing
>>> 5.1.0 version 40+ identity-extension repos and currently they are still in
>>> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
>>> this issue should be fixed.
>>>
>>> Also since we have broken carbon-identity repo into number of sub repos,
>>> in future each of these repos will be using different versions. So all
>>> products which are using identity-features will have to keep different
>>> versions for each of these repos/features, for example different versions
>>> for saml and oauth.
>>>
>>> Thank You!
>>>
>>> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara >> > wrote:
>>>
 Hi IS team,

 We are experiencing this issue due to the restriction
 [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
 please have a look? Please consider this urgent as our build if failing due
 to this.

 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: BasicAuth Application Authenticator Server
 Feature 5.0.9.SNAPSHOT
 (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
 5.0.9.SNAPSHOT)
  Missing requirement: BasicAuth Application Authenticator Server
 Feature 5.0.9.SNAPSHOT
 (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
 5.0.9.SNAPSHOT) requires
 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
 [5.1.1.SNAPSHOT,6.0.0)' but it could not be found

 Thanks,
 --
 *Bhathiya Jayasekara*
 *Senior Software Engineer,*
 *WSO2 inc., http://wso2.com *

 *Phone: +94715478185 <%2B94715478185>*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 *
 *Twitter: https://twitter.com/bhathiyax *
 *Blog: http://movingaheadblog.blogspot.com
 *

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


>>>
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> Software Engineer
>>> Mobile:(+94)788193620
>>> WSO2 Inc., http://wso2.com/
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Human Task in wso2 bps

2016-05-10 Thread Lakshitha Warnakulasuriya
Thanx Milinda,

Here I have attached the ht file,wsdl file and output and response jsp
files. Can you please check and give me the solution. It's really helpful.

Thanx a lot.

Regards,
Lakshitha.
On 10 May 2016 18:13, "Milinda Perera"  wrote:

> Hi,
>
> To add another input to humantask you have to change humantask definition
> (.ht file) and WSDLs. only changing .jsp files doesn't work. If you have
> done relevant changes for humantask definition and WSDLs, please share the
> .jsp files.
>
> BTW which version of BPS are you using?, WSO2 BPS 3.5.0 onwards we support
> HT rendering which is easier with web app UI (humantask-explorer), you can
> create humantask without creating .jsp files.
>
> thanks,
> Milinda
>
> On Tue, May 10, 2016 at 5:44 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Hi All,
>>
>> I want to add another pair of radio buttions in output.jsp and get
>> response of these radio buttions to the response.jsp in Claim Approvel Task
>> project. I tried it but not successful. Is their any way to do this.
>> Any help can be really appreciated.
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milinda Perera
> Software Engineer;
> WSO2 Inc. http://wso2.com ,
> Mobile: (+94) 714 115 032
>
>


ApproveClaim-output.jsp
Description: Binary data


ApproveClaim-response.jsp
Description: Binary data


ClaimsApprovalTask.ht
Description: Binary data

http://www.example.com/claims/;
	xmlns:tns="http://www.example.com/claims/; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/;
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/; xmlns:tschema="http://www.example.com/claims/schema;
	xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype;>
	
		Example for WS-HumanTask 1.1 - WS-HumanTask Task Interface Definition
	
	
		http://www.example.com/claims/schema;
			xmlns:tns="http://www.example.com/claims/schema; xmlns:xsd="http://www.w3.org/2001/XMLSchema;
			elementFormDefault="qualified">
			
			

	
		
			






			
		
	

	
	
	

			
			
			

	
	

			
			
			
		
			
			
		
			
		


	
		
	

	
		
	

	
		
	

	
		
			
		

		
			
		
	

	
		
			
		
	

	
		
			
		
	

	
		http://schemas.xmlsoap.org/soap/http; />
		
			
			
http://www.example.com/claims/; />
			
		
		
			
			

			
		
	
	
		http://schemas.xmlsoap.org/soap/http; />
		
			
			

			
		
	
	
		http://schemas.xmlsoap.org/soap/http; />
		
			
			

			
			

			
		
	

	
		
			http://localhost:9763/services/ClaimService; />
		
	
	
		
			http://localhost:9763/services/ClaimReminderService; />
		
	
	
		
			http://localhost:9763/services/ClaimServiceCB; />
		




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


Re: [Dev] Releasing carbon-appmgt 1.1.3

2016-05-10 Thread Dinusha Senanayaka
Maheshika, Please drop the staging repo. We will let you know once issue is
fixed and ready to re-stage.

Regards,
Dinusha.

On Tue, May 10, 2016 at 6:42 PM, Thilini Shanika  wrote:

> Hi Hasunie,
>
> The issue is fixed and committed to release-1.1.3 branch [1].
>
> [1] -
> https://github.com/wso2/carbon-appmgt/commit/db32a4d989457066f38f77be16babd3f1926626f
>
> On Tue, May 10, 2016 at 6:23 PM, Inosh Perera  wrote:
>
>> +Dinusha
>>
>> On Tue, May 10, 2016 at 6:20 PM, Hasunie Adikari 
>> wrote:
>>
>>> Hi Dinusha,
>>>
>>> There was a issue in getting image of the Mobile App icon from get all
>>> assets option in AppStore( /store/assets), but its working properly while
>>> its getting from Mobile apps option( ./store/assets/mobileapp ). It seems
>>> instead of getting image path, it just takes the file name of the image.
>>>
>>> thanks.
>>>
>>> On Thu, May 5, 2016 at 8:35 AM, Dinusha Senanayaka 
>>> wrote:
>>>
 Thanks Maheshika.

 @EMM Team, please verify and confirm.

 Regards,
 Dinusha.

 On Thu, May 5, 2016 at 8:29 AM, Maheshika Goonetilleke <
 mahesh...@wso2.com> wrote:

> Hi Dinusha
>
> Staged
> https://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-1000/
>
> On Wed, May 4, 2016 at 11:37 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi Build team,
>>
>> Please stage carbon-appmgt-1.1.3.
>>
>> org.wso2.carbon.appmgt
>> carbon-appmgt
>> 1.1.3
>>
>> Regards,
>> Dinusha.
>>
>> --
>> Dinusha Dilrukshi
>> Associate Technical Lead
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
>
> Thanks & Best Regards,
>
> Maheshika Goonetilleke
> Engineering Process Coordinator
>
> *WSO2 Inc*
> *email   : mahesh...@wso2.com *
> *mobile : +94 773 596707 <%2B94%20773%20596707>*
> *www: :http://wso2.com *lean . enterprise .
> middleware
>
>
>
>
>


 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

 --
 You received this message because you are subscribed to the Google
 Groups "WSO2 Engineering Group" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to engineering-group+unsubscr...@wso2.com.
 For more options, visit https://groups.google.com/a/wso2.com/d/optout.

>>>
>>>
>>>
>>> --
>>> *Hasunie Adikari*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> blog http://hasuniea.blogspot.com
>>> Mobile:+94715139495
>>>
>>
>>
>>
>> --
>> Inosh Perera
>> Software Engineer, WSO2 Inc.
>> Tel: 077813 7285, 0785293686
>>
>
>
>
> --
> Thilini Shanika
> Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>


-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Releasing carbon-appmgt 1.1.3

2016-05-10 Thread Thilini Shanika
Hi Hasunie,

The issue is fixed and committed to release-1.1.3 branch [1].

[1] -
https://github.com/wso2/carbon-appmgt/commit/db32a4d989457066f38f77be16babd3f1926626f

On Tue, May 10, 2016 at 6:23 PM, Inosh Perera  wrote:

> +Dinusha
>
> On Tue, May 10, 2016 at 6:20 PM, Hasunie Adikari  wrote:
>
>> Hi Dinusha,
>>
>> There was a issue in getting image of the Mobile App icon from get all
>> assets option in AppStore( /store/assets), but its working properly while
>> its getting from Mobile apps option( ./store/assets/mobileapp ). It seems
>> instead of getting image path, it just takes the file name of the image.
>>
>> thanks.
>>
>> On Thu, May 5, 2016 at 8:35 AM, Dinusha Senanayaka 
>> wrote:
>>
>>> Thanks Maheshika.
>>>
>>> @EMM Team, please verify and confirm.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Thu, May 5, 2016 at 8:29 AM, Maheshika Goonetilleke <
>>> mahesh...@wso2.com> wrote:
>>>
 Hi Dinusha

 Staged
 https://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-1000/

 On Wed, May 4, 2016 at 11:37 PM, Dinusha Senanayaka 
 wrote:

> Hi Build team,
>
> Please stage carbon-appmgt-1.1.3.
>
> org.wso2.carbon.appmgt
> carbon-appmgt
> 1.1.3
>
> Regards,
> Dinusha.
>
> --
> Dinusha Dilrukshi
> Associate Technical Lead
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>



 --

 Thanks & Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator

 *WSO2 Inc*
 *email   : mahesh...@wso2.com *
 *mobile : +94 773 596707 <%2B94%20773%20596707>*
 *www: :http://wso2.com *lean . enterprise .
 middleware





>>>
>>>
>>> --
>>> Dinusha Dilrukshi
>>> Associate Technical Lead
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94725255071
>>> Blog: http://dinushasblog.blogspot.com/
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "WSO2 Engineering Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to engineering-group+unsubscr...@wso2.com.
>>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>>
>>
>>
>>
>> --
>> *Hasunie Adikari*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> blog http://hasuniea.blogspot.com
>> Mobile:+94715139495
>>
>
>
>
> --
> Inosh Perera
> Software Engineer, WSO2 Inc.
> Tel: 077813 7285, 0785293686
>



-- 
Thilini Shanika
Software Engineer
WSO2, Inc.; http://wso2.com
20, Palmgrove Avenue, Colombo 3

E-mail: tgtshan...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Bhathiya Jayasekara
Thanks Udara and Kasun.

On Tue, May 10, 2016 at 6:24 PM, KasunG Gajasinghe  wrote:

> Released.
>
> On Tue, May 10, 2016 at 6:02 PM, Udara Rathnayake  wrote:
>
>> Hi Kasun,
>>
>> Can you please release this?
>>
>> Thanks!
>>
>> On Tue, May 10, 2016 at 5:33 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi Udara,
>>>
>>> Jaggery feature installation completed successfully.
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Tue, May 10, 2016 at 5:18 PM, Udara Rathnayake 
>>> wrote:
>>>
 Thanks Kasun,

 @Bhathiya, Can you do a APIM build with this and confirm?

 On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe 
 wrote:

>
> Staged -
> https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004
>
> On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake 
> wrote:
>
>> Hi,
>>
>> Please close this and provide the repo URL.
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



 --
 Regards,
 UdaraR

>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Udara Rathnayake
thanks kasun

On Tue, May 10, 2016 at 6:24 PM, KasunG Gajasinghe  wrote:

> Released.
>
> On Tue, May 10, 2016 at 6:02 PM, Udara Rathnayake  wrote:
>
>> Hi Kasun,
>>
>> Can you please release this?
>>
>> Thanks!
>>
>> On Tue, May 10, 2016 at 5:33 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi Udara,
>>>
>>> Jaggery feature installation completed successfully.
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Tue, May 10, 2016 at 5:18 PM, Udara Rathnayake 
>>> wrote:
>>>
 Thanks Kasun,

 @Bhathiya, Can you do a APIM build with this and confirm?

 On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe 
 wrote:

>
> Staged -
> https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004
>
> On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake 
> wrote:
>
>> Hi,
>>
>> Please close this and provide the repo URL.
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



 --
 Regards,
 UdaraR

>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



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


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread KasunG Gajasinghe
Released.

On Tue, May 10, 2016 at 6:02 PM, Udara Rathnayake  wrote:

> Hi Kasun,
>
> Can you please release this?
>
> Thanks!
>
> On Tue, May 10, 2016 at 5:33 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi Udara,
>>
>> Jaggery feature installation completed successfully.
>>
>> Thanks,
>> Bhathiya
>>
>> On Tue, May 10, 2016 at 5:18 PM, Udara Rathnayake 
>> wrote:
>>
>>> Thanks Kasun,
>>>
>>> @Bhathiya, Can you do a APIM build with this and confirm?
>>>
>>> On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe 
>>> wrote:
>>>

 Staged -
 https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004

 On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake 
 wrote:

> Hi,
>
> Please close this and provide the repo URL.
>
> --
> Regards,
> UdaraR
>



 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



>>>
>>>
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Releasing carbon-appmgt 1.1.3

2016-05-10 Thread Inosh Perera
+Dinusha

On Tue, May 10, 2016 at 6:20 PM, Hasunie Adikari  wrote:

> Hi Dinusha,
>
> There was a issue in getting image of the Mobile App icon from get all
> assets option in AppStore( /store/assets), but its working properly while
> its getting from Mobile apps option( ./store/assets/mobileapp ). It seems
> instead of getting image path, it just takes the file name of the image.
>
> thanks.
>
> On Thu, May 5, 2016 at 8:35 AM, Dinusha Senanayaka 
> wrote:
>
>> Thanks Maheshika.
>>
>> @EMM Team, please verify and confirm.
>>
>> Regards,
>> Dinusha.
>>
>> On Thu, May 5, 2016 at 8:29 AM, Maheshika Goonetilleke <
>> mahesh...@wso2.com> wrote:
>>
>>> Hi Dinusha
>>>
>>> Staged
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-1000/
>>>
>>> On Wed, May 4, 2016 at 11:37 PM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi Build team,

 Please stage carbon-appmgt-1.1.3.

 org.wso2.carbon.appmgt
 carbon-appmgt
 1.1.3

 Regards,
 Dinusha.

 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & Best Regards,
>>>
>>> Maheshika Goonetilleke
>>> Engineering Process Coordinator
>>>
>>> *WSO2 Inc*
>>> *email   : mahesh...@wso2.com *
>>> *mobile : +94 773 596707 <%2B94%20773%20596707>*
>>> *www: :http://wso2.com *lean . enterprise . middleware
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Dinusha Dilrukshi
>> Associate Technical Lead
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "WSO2 Engineering Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to engineering-group+unsubscr...@wso2.com.
>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>
>
>
>
> --
> *Hasunie Adikari*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> blog http://hasuniea.blogspot.com
> Mobile:+94715139495
>



-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 077813 7285, 0785293686
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Releasing carbon-appmgt 1.1.3

2016-05-10 Thread Hasunie Adikari
Hi Dinusha,

There was a issue in getting image of the Mobile App icon from get all
assets option in AppStore( /store/assets), but its working properly while
its getting from Mobile apps option( ./store/assets/mobileapp ). It seems
instead of getting image path, it just takes the file name of the image.

thanks.

On Thu, May 5, 2016 at 8:35 AM, Dinusha Senanayaka  wrote:

> Thanks Maheshika.
>
> @EMM Team, please verify and confirm.
>
> Regards,
> Dinusha.
>
> On Thu, May 5, 2016 at 8:29 AM, Maheshika Goonetilleke  > wrote:
>
>> Hi Dinusha
>>
>> Staged
>> https://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-1000/
>>
>> On Wed, May 4, 2016 at 11:37 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi Build team,
>>>
>>> Please stage carbon-appmgt-1.1.3.
>>>
>>> org.wso2.carbon.appmgt
>>> carbon-appmgt
>>> 1.1.3
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> --
>>> Dinusha Dilrukshi
>>> Associate Technical Lead
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94725255071
>>> Blog: http://dinushasblog.blogspot.com/
>>>
>>
>>
>>
>> --
>>
>> Thanks & Best Regards,
>>
>> Maheshika Goonetilleke
>> Engineering Process Coordinator
>>
>> *WSO2 Inc*
>> *email   : mahesh...@wso2.com *
>> *mobile : +94 773 596707 <%2B94%20773%20596707>*
>> *www: :http://wso2.com *lean . enterprise . middleware
>>
>>
>>
>>
>>
>
>
> --
> Dinusha Dilrukshi
> Associate Technical Lead
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "WSO2 Engineering Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to engineering-group+unsubscr...@wso2.com.
> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>



-- 
*Hasunie Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
blog http://hasuniea.blogspot.com
Mobile:+94715139495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Udara Rathnayake
Hi Kasun,

Can you please release this?

Thanks!

On Tue, May 10, 2016 at 5:33 PM, Bhathiya Jayasekara 
wrote:

> Hi Udara,
>
> Jaggery feature installation completed successfully.
>
> Thanks,
> Bhathiya
>
> On Tue, May 10, 2016 at 5:18 PM, Udara Rathnayake  wrote:
>
>> Thanks Kasun,
>>
>> @Bhathiya, Can you do a APIM build with this and confirm?
>>
>> On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe 
>> wrote:
>>
>>>
>>> Staged -
>>> https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004
>>>
>>> On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake 
>>> wrote:
>>>
 Hi,

 Please close this and provide the repo URL.

 --
 Regards,
 UdaraR

>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>



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


Re: [Dev] Why we don't have latest carbon-identity release tags in github?

2016-05-10 Thread Udara Rathnayake
Thanks Darshana!

On Tue, May 10, 2016 at 5:51 PM, Darshana Gunawardana 
wrote:

> Hi Udara,
>
> Carbon-Identity repository is deprecated now and active development going
> on other repositories. Refer the README of the carbon-identity repo on
> exact details.
>
> [1] https://github.com/wso2/carbon-identity/blob/master/README.md
>
> Thanks,
>
> On Tue, May 10, 2016 at 5:25 PM, Udara Rathnayake  wrote:
>
>> or are we still on 5.0.9-SNAPSHOT?
>>
>> On Tue, May 10, 2016 at 5:20 PM, Udara Rathnayake 
>> wrote:
>>
>>> $subject?
>>>
>>> https://github.com/wso2/carbon-identity/releases
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Senior Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>



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


Re: [Dev] Why we don't have latest carbon-identity release tags in github?

2016-05-10 Thread Darshana Gunawardana
Hi Udara,

Carbon-Identity repository is deprecated now and active development going
on other repositories. Refer the README of the carbon-identity repo on
exact details.

[1] https://github.com/wso2/carbon-identity/blob/master/README.md

Thanks,

On Tue, May 10, 2016 at 5:25 PM, Udara Rathnayake  wrote:

> or are we still on 5.0.9-SNAPSHOT?
>
> On Tue, May 10, 2016 at 5:20 PM, Udara Rathnayake  wrote:
>
>> $subject?
>>
>> https://github.com/wso2/carbon-identity/releases
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> Regards,
> UdaraR
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,


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

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Human Task in wso2 bps

2016-05-10 Thread Lakshitha Warnakulasuriya
Hi All,

I want to add another pair of radio buttions in output.jsp and get response
of these radio buttions to the response.jsp in Claim Approvel Task project.
I tried it but not successful. Is their any way to do this.
Any help can be really appreciated.

Thanks and Regards,
Lakshitha.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread KasunG Gajasinghe
On Tue, May 10, 2016 at 5:15 PM, Chiranga Alwis  wrote:

> +1
>
> But shouldn't the naming of the module be more generic? Using "shaded"
> refers more towards the implementation where we have used the plugin
> Maven-Shade-Plugin. We have effectively relocated the classes.
>
> /modules/*relocated-libs*
>  |- slf4j
>  |- libthrift
>
> Isn't this a better naming convention?
>

What we will do is relocating classes. In the end, we will have is a *shaded
artifact*. This is the terminology used in the shade plugin documentation,
in my opinion, so shaded-libs matches better.


>
> Plus, this module will have to be the first to be built among all
> Application Server modules' sub-modules since all other modules require it.
>

+1.


>
> On Tue, May 10, 2016 at 4:14 PM, Manoj Kumara  wrote:
>
>> +1
>>
>> *Manoj Kumara*
>> WSO2 Inc. *| **lean. enterprise. middleware.*
>> *Mobile:* +94 713 448188
>>
>> On Tue, May 10, 2016 at 3:58 PM, KasunG Gajasinghe 
>> wrote:
>>
>>>
>>> Yes, we need to avoid having common logging frameworks such as SLF4J in
>>> the classpath since it has a good possibility to lead to classloading
>>> issues for webapp developers .
>>>
>>> Since slf4j could be used by multiple jars, it should be a separate
>>> shaded jar. I believe the *artifactId* should reflect that it is
>>> shaded. Otherwise, the jar name will be confusing. So, shall we use the
>>> name *slf4j-shaded*?
>>>
>>>
>>> On Tue, May 10, 2016 at 3:40 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 +1, let's use the AS repo and at build time, which can get installed
 during build time and this will also become part of release which will be
 deployed onto nexus.

 Is the naming is correct? Shouldn't it be "shaded"?

>>>
>>> +1.
>>>
>>> Thanks,
>>> KasunG
>>>
>>>

 On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:

> Hi Dev's,
>
> During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
> library available on the webapp libs directory as /lib also
> contain the same library to be used by libthrift library used during stat
> publishing. After analyzing the issue  with the team realized that this
> occurred as Tomcat has a flat class path and multiple package versions
> cannot be used as in OSGI runtime.
>
> To resolve this as per the recommendation provided by KasunG we used 
> '*Maven
> Shade Plugin* [1]' to shade package name (rename package structure
> and usages) as other open-source projects like Tomcat, Maven use similar
> patterns when using commonly used packages.
>
> As these shaded libraries required for AS distribution these libs need
> to be maintained inside product it self I suggest to maintain them as 
> below
> with '*org.wso2.shade*' prefix on groupID. Thoughts ?
>
> /modules/*shade-libs*
>  |- slf4j
>  |- libthrift
>
> [1] https://maven.apache.org/plugins/maven-shade-plugin/
>
>
> Regards,
> Manoj
>



 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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

>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>
>
> --
> Chiranga Alwis,
> Software Engineering Intern,
> +94 77 5930497
> +94 77 6368208
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Bhathiya Jayasekara
Hi Udara,

Jaggery feature installation completed successfully.

Thanks,
Bhathiya

On Tue, May 10, 2016 at 5:18 PM, Udara Rathnayake  wrote:

> Thanks Kasun,
>
> @Bhathiya, Can you do a APIM build with this and confirm?
>
> On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe 
> wrote:
>
>>
>> Staged -
>> https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004
>>
>> On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake 
>> wrote:
>>
>>> Hi,
>>>
>>> Please close this and provide the repo URL.
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why we don't have latest carbon-identity release tags in github?

2016-05-10 Thread Udara Rathnayake
or are we still on 5.0.9-SNAPSHOT?

On Tue, May 10, 2016 at 5:20 PM, Udara Rathnayake  wrote:

> $subject?
>
> https://github.com/wso2/carbon-identity/releases
>
> --
> Regards,
> UdaraR
>



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


[Dev] Why we don't have latest carbon-identity release tags in github?

2016-05-10 Thread Udara Rathnayake
$subject?

https://github.com/wso2/carbon-identity/releases

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


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Udara Rathnayake
Thanks Kasun,

@Bhathiya, Can you do a APIM build with this and confirm?

On Tue, May 10, 2016 at 5:16 PM, KasunG Gajasinghe  wrote:

>
> Staged -
> https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004
>
> On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake  wrote:
>
>> Hi,
>>
>> Please close this and provide the repo URL.
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



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


Re: [Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread KasunG Gajasinghe
Staged - https://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-1004

On Tue, May 10, 2016 at 5:04 PM, Udara Rathnayake  wrote:

> Hi,
>
> Please close this and provide the repo URL.
>
> --
> Regards,
> UdaraR
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread Chiranga Alwis
+1

But shouldn't the naming of the module be more generic? Using "shaded"
refers more towards the implementation where we have used the plugin
Maven-Shade-Plugin. We have effectively relocated the classes.

/modules/*relocated-libs*
 |- slf4j
 |- libthrift

Isn't this a better naming convention?

Plus, this module will have to be the first to be built among all
Application Server modules' sub-modules since all other modules require it.

On Tue, May 10, 2016 at 4:14 PM, Manoj Kumara  wrote:

> +1
>
> *Manoj Kumara*
> WSO2 Inc. *| **lean. enterprise. middleware.*
> *Mobile:* +94 713 448188
>
> On Tue, May 10, 2016 at 3:58 PM, KasunG Gajasinghe 
> wrote:
>
>>
>> Yes, we need to avoid having common logging frameworks such as SLF4J in
>> the classpath since it has a good possibility to lead to classloading
>> issues for webapp developers .
>>
>> Since slf4j could be used by multiple jars, it should be a separate
>> shaded jar. I believe the *artifactId* should reflect that it is shaded.
>> Otherwise, the jar name will be confusing. So, shall we use the name
>> *slf4j-shaded*?
>>
>>
>> On Tue, May 10, 2016 at 3:40 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> +1, let's use the AS repo and at build time, which can get installed
>>> during build time and this will also become part of release which will be
>>> deployed onto nexus.
>>>
>>> Is the naming is correct? Shouldn't it be "shaded"?
>>>
>>
>> +1.
>>
>> Thanks,
>> KasunG
>>
>>
>>>
>>> On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:
>>>
 Hi Dev's,

 During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
 library available on the webapp libs directory as /lib also
 contain the same library to be used by libthrift library used during stat
 publishing. After analyzing the issue  with the team realized that this
 occurred as Tomcat has a flat class path and multiple package versions
 cannot be used as in OSGI runtime.

 To resolve this as per the recommendation provided by KasunG we used 
 '*Maven
 Shade Plugin* [1]' to shade package name (rename package structure and
 usages) as other open-source projects like Tomcat, Maven use similar
 patterns when using commonly used packages.

 As these shaded libraries required for AS distribution these libs need
 to be maintained inside product it self I suggest to maintain them as below
 with '*org.wso2.shade*' prefix on groupID. Thoughts ?

 /modules/*shade-libs*
  |- slf4j
  |- libthrift

 [1] https://maven.apache.org/plugins/maven-shade-plugin/


 Regards,
 Manoj

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Associate Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>


-- 
Chiranga Alwis,
Software Engineering Intern,
+94 77 5930497
+94 77 6368208
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ClassNotFoundException on deserializing a custom message object in Hazelcast

2016-05-10 Thread Asitha Nanayakkara
Hi All,

We came across an issue with Hazelcast topics when passing custom message
objects (Can occur for Maps and all the other data structures in Hazelcast)
with C5 Hazelcast module. We have created an issue for this as well [1].
Use case

I'm working with Hazelcast reliable topics in an OSGi environment. I'm
using a custom message object with Hazelcast topics ClusterNotification

.

public class ClusterSubscriptionChangedListener implements
MessageListener {

/**
 * This method is triggered when a subscription is changed in
clustered environment.
 *
 * @param message contains the ClusterNotification
 */
@Override
public void onMessage(Message message) {
   // message handling logic
}
 }

I'm publishing/receiving messages to/from Hazelcast topics from another
OSGi bundle.
Issue

I can publish messages to the topic successfully. But I don't receive the
messages from the listener. This is because, when the Hazelcast topic ring
buffer runners try to pick the serialized message and de-serialize, it
throws a ClassNotFoundException. *And the exception is silently ignored*
and the message never received.
Root cause

Class loader of the Hazelcast bundle cannot see the classes of my bundle.
Therefore even though I can publish the message from my bundle, Within
Hazelcast it can't de-serialize the ClusterNotification

object since the class loader of Hazelcast bundle cannot see the class.
Solution, way forward?


   1. After having an offline discussion with Kishanthan we built the
   hazelcast bundle with * in
   the hazelcast pom.xml
    and
   we successfully received the messages (We didn't get the
   ClassNotFoundException). But we need a fix from Hazelcast.
   2. Another way Hazelcast has provided is to set the class loader for the
   HazelcastInstance. So Internally Hazelcast instance will use the provided
   class loader to deserialize the objects. If we provide our bundle class
   loader it will properly deserialize the object without an issue.


@Kishanthan I tried to set the class loader of the carbon-kernel hazelcast
module to the hazelcast instance (when creating the hazelcast instance[2])
and added dynamic imports * property (to get the solution 2 working from
the carbon kernel hazelcast module itself). Still I'm having issues in
loading the Andes classes thorough the carbon Hazelcast module class
loader.
[1] https://github.com/hazelcast/hazelcast/issues/8139
[2]
https://github.com/wso2/carbon-kernel/blob/hamming-release-poc/modules/carbon-hazelcast/component/src/main/java/org/wso2/carbon/hazelcast/internal/CarbonHazelcastComponent.java#L60

Regards,
Asitha

-- 
*Asitha Nanayakkara*
Software Engineer
WSO2, Inc. http://wso2.com/
Mob: +94 77 853 0682
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jaggery 0.12.5 released to staging

2016-05-10 Thread Udara Rathnayake
Hi,

Please close this and provide the repo URL.

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


Re: [Dev] How to deploy Jaggery application as web root context

2016-05-10 Thread Lahiru Manohara
Thanks. This solution is worked for Jaggery application as well.

On Tue, May 10, 2016 at 3:51 PM, KasunG Gajasinghe  wrote:

>
> You need to change the Management console's web context root to from / to
> something else, say, /as. Then, the webapp need to be deployed with the
> folder name ROOT. This works for generic webapps, need to test for Jaggery
> apps.
>
> On Tue, May 10, 2016 at 3:13 PM, Danushka Fernando 
> wrote:
>
>> +Kishanthan,KasunG
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Tue, May 10, 2016 at 3:10 PM, Lahiru Manohara 
>> wrote:
>>
>>> Hi All,
>>>
>>> We have requirement to deploy Jaggery application as web root context in
>>> AS 5.3.0. Is there any way do this?
>>>
>>> Thanks!
>>> --
>>> Best regards,
>>>
>>> *Lahiru Manohara*
>>> *Software Engineer*
>>> Mobile: +94716561576
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
Best regards,

*Lahiru Manohara*
*Software Engineer*
Mobile: +94716561576
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-05-10 Thread Chandana Napagoda
Hi Janaka,

Please note that, this fix will be available in the next kernel release.

Regards,
Chandana
On May 10, 2016 3:14 PM, "Thilini Cooray"  wrote:

> Hi,
>
> A public JIRA is raised in [1].
>
> [1] https://wso2.org/jira/browse/REGISTRY-3610
>
> Thanks.
>
> On Tue, May 10, 2016 at 12:11 PM, Janaka Ranabahu  wrote:
>
>> Hi Thushara
>>
>> On Tue, May 10, 2016 at 12:06 PM, Thushara Ranawaka 
>> wrote:
>>
>>> Hi Thilini,
>>>
>>> AFAIU you workaround need to be updated with the current
>>> timestamp[1][2]. Setting default value to zero is not nice. You might have
>>> to figure out the correct syntax for other DB types and test against them.
>>>
>> ​What Thilini is pointing is an issue in the Registry database creation
>> script. Hence we will create a public JIRA and assign it to you guys.
>> Please fix them.
>>
>> We can not modify the Registry database creation script since API Manager
>> would not capture the complete scenarios of G-Reg.
>>
>> Thanks,
>> Janaka​
>>
>>
>>>
>>>
>>> [1] - DEFAULT CURRENT_TIMESTAMP
>>> [2] -
>>> http://stackoverflow.com/questions/168736/how-do-you-set-a-default-value-for-a-mysql-datetime-column
>>>
>>> Thanks,
>>> Thushara.
>>>
>>> On Tue, May 10, 2016 at 11:52 AM, Thilini Cooray 
>>> wrote:
>>>
 Hi GReg team,

 We encounter following issue [1] while testing API Manager with MySQL
 5.7
 MySQL 5.7 has enabled NO_ZERO_IN_DATE, NO_ZERO_DATE policies by
 default. Therefore it does not allow 0 as a valid default value for
 date/time.

 As a workaround we can set MySQL server to accept 0 changing the
 default server settings if the database owner agrees on it.
 [2] contains the related table creation script.

 Appreciate your feedback on a fix for this.

 [1] https://wso2.org/jira/browse/APIMANAGER-4645

 [2] CREATE TABLE IF NOT EXISTS REG_RESOURCE (
 REG_PATH_ID INTEGER NOT NULL,
 REG_NAMEVARCHAR(256),
 REG_VERSION INTEGER NOT NULL AUTO_INCREMENT,
 REG_MEDIA_TYPE  VARCHAR(500),
 REG_CREATOR VARCHAR(31) NOT NULL,
 REG_CREATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
 REG_LAST_UPDATORVARCHAR(31),
 REG_LAST_UPDATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
 REG_DESCRIPTION VARCHAR(1000),
 REG_CONTENT_ID  INTEGER,
 REG_TENANT_ID INTEGER DEFAULT 0,
 REG_UUID VARCHAR(100) NOT NULL,
 CONSTRAINT PK_REG_RESOURCE PRIMARY KEY(REG_VERSION,
 REG_TENANT_ID)
 )ENGINE INNODB;

 Thanks.

 --
 Best Regards,

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

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

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


>>>
>>>
>>> --
>>> Thanks,
>>> Thushara Kasun Ranawaka
>>> Software Engineer
>>> WSO2 Inc.; 
>>> lean.enterprise.middleware
>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>> *thusha...@wso2.com *
>>>
>>
>>
>>
>> --
>> *Janaka Ranabahu*
>> Associate Technical Lead, WSO2 Inc.
>> http://wso2.com
>>
>>
>> *E-mail: jan...@wso2.com **M: **+94 718370861
>> <%2B94%20718370861>*
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread Manoj Kumara
+1

*Manoj Kumara*
WSO2 Inc. *| **lean. enterprise. middleware.*
*Mobile:* +94 713 448188

On Tue, May 10, 2016 at 3:58 PM, KasunG Gajasinghe  wrote:

>
> Yes, we need to avoid having common logging frameworks such as SLF4J in
> the classpath since it has a good possibility to lead to classloading
> issues for webapp developers .
>
> Since slf4j could be used by multiple jars, it should be a separate shaded
> jar. I believe the *artifactId* should reflect that it is shaded.
> Otherwise, the jar name will be confusing. So, shall we use the name
> *slf4j-shaded*?
>
>
> On Tue, May 10, 2016 at 3:40 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> +1, let's use the AS repo and at build time, which can get installed
>> during build time and this will also become part of release which will be
>> deployed onto nexus.
>>
>> Is the naming is correct? Shouldn't it be "shaded"?
>>
>
> +1.
>
> Thanks,
> KasunG
>
>
>>
>> On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:
>>
>>> Hi Dev's,
>>>
>>> During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
>>> library available on the webapp libs directory as /lib also
>>> contain the same library to be used by libthrift library used during stat
>>> publishing. After analyzing the issue  with the team realized that this
>>> occurred as Tomcat has a flat class path and multiple package versions
>>> cannot be used as in OSGI runtime.
>>>
>>> To resolve this as per the recommendation provided by KasunG we used '*Maven
>>> Shade Plugin* [1]' to shade package name (rename package structure and
>>> usages) as other open-source projects like Tomcat, Maven use similar
>>> patterns when using commonly used packages.
>>>
>>> As these shaded libraries required for AS distribution these libs need
>>> to be maintained inside product it self I suggest to maintain them as below
>>> with '*org.wso2.shade*' prefix on groupID. Thoughts ?
>>>
>>> /modules/*shade-libs*
>>>  |- slf4j
>>>  |- libthrift
>>>
>>> [1] https://maven.apache.org/plugins/maven-shade-plugin/
>>>
>>>
>>> Regards,
>>> Manoj
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread KasunG Gajasinghe
Yes, we need to avoid having common logging frameworks such as SLF4J in the
classpath since it has a good possibility to lead to classloading issues
for webapp developers .

Since slf4j could be used by multiple jars, it should be a separate shaded
jar. I believe the *artifactId* should reflect that it is shaded.
Otherwise, the jar name will be confusing. So, shall we use the name
*slf4j-shaded*?


On Tue, May 10, 2016 at 3:40 PM, Kishanthan Thangarajah  wrote:

> +1, let's use the AS repo and at build time, which can get installed
> during build time and this will also become part of release which will be
> deployed onto nexus.
>
> Is the naming is correct? Shouldn't it be "shaded"?
>

+1.

Thanks,
KasunG


>
> On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:
>
>> Hi Dev's,
>>
>> During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
>> library available on the webapp libs directory as /lib also
>> contain the same library to be used by libthrift library used during stat
>> publishing. After analyzing the issue  with the team realized that this
>> occurred as Tomcat has a flat class path and multiple package versions
>> cannot be used as in OSGI runtime.
>>
>> To resolve this as per the recommendation provided by KasunG we used '*Maven
>> Shade Plugin* [1]' to shade package name (rename package structure and
>> usages) as other open-source projects like Tomcat, Maven use similar
>> patterns when using commonly used packages.
>>
>> As these shaded libraries required for AS distribution these libs need to
>> be maintained inside product it self I suggest to maintain them as below
>> with '*org.wso2.shade*' prefix on groupID. Thoughts ?
>>
>> /modules/*shade-libs*
>>  |- slf4j
>>  |- libthrift
>>
>> [1] https://maven.apache.org/plugins/maven-shade-plugin/
>>
>>
>> Regards,
>> Manoj
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Supporting DB types for Statistical Database

2016-05-10 Thread Maneesha Wijesekara
Hi Rukshan,
Thanks for the quick reply. MSSQL script also missing in there. Please
update them soon.

Regards
Maneesha

On Tue, May 10, 2016 at 3:45 PM, Rukshan Premathunga 
wrote:

> Hi Maneesha,
>
> APIM support dbscript are available on [APIM_HOME}/dbscripts/apimgt. Thus
> in stat, only postgres and oracle_rac is missing. we will update them soon.
>
> Thanks.
>
>
> On Tue, May 10, 2016 at 3:21 PM, Maneesha Wijesekara 
> wrote:
>
>> In API Manager 2.0.0, only 4 types of db scripts (db2, h2, mysql and
>> oracle) are available in here [1] to create stat database when
>> configuring APIM Analytics 1.0.0.
>>
>> To create APIM databases in postgresql, derby, informix, oracle rac and
>> openedge, db scripts are also available in [2]. Can you please confirm the
>> reason for unavailability of those DB types when it comes to create stat db
>> ?
>>
>> [1] [APIM_HOME}/dbscripts/stat/sql
>> [2] [APIM_HOME}/dbscripts
>>
>> Regards
>> Maneesha
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - QA Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>



-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to deploy Jaggery application as web root context

2016-05-10 Thread KasunG Gajasinghe
You need to change the Management console's web context root to from / to
something else, say, /as. Then, the webapp need to be deployed with the
folder name ROOT. This works for generic webapps, need to test for Jaggery
apps.

On Tue, May 10, 2016 at 3:13 PM, Danushka Fernando 
wrote:

> +Kishanthan,KasunG
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Tue, May 10, 2016 at 3:10 PM, Lahiru Manohara 
> wrote:
>
>> Hi All,
>>
>> We have requirement to deploy Jaggery application as web root context in
>> AS 5.3.0. Is there any way do this?
>>
>> Thanks!
>> --
>> Best regards,
>>
>> *Lahiru Manohara*
>> *Software Engineer*
>> Mobile: +94716561576
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Supporting DB types for Statistical Database

2016-05-10 Thread Rukshan Premathunga
Hi Maneesha,

APIM support dbscript are available on [APIM_HOME}/dbscripts/apimgt. Thus
in stat, only postgres and oracle_rac is missing. we will update them soon.

Thanks.


On Tue, May 10, 2016 at 3:21 PM, Maneesha Wijesekara 
wrote:

> In API Manager 2.0.0, only 4 types of db scripts (db2, h2, mysql and
> oracle) are available in here [1] to create stat database when
> configuring APIM Analytics 1.0.0.
>
> To create APIM databases in postgresql, derby, informix, oracle rac and
> openedge, db scripts are also available in [2]. Can you please confirm the
> reason for unavailability of those DB types when it comes to create stat db
> ?
>
> [1] [APIM_HOME}/dbscripts/stat/sql
> [2] [APIM_HOME}/dbscripts
>
> Regards
> Maneesha
>
> --
> Maneesha Wijesekara
> Software Engineer - QA Team
> WSO2 Inc.
>
> Email: manee...@wso2.com
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] In multi node cluster on kubernetes loading the docker file in all minions

2016-05-10 Thread Anuruddha Liyanarachchi
Hi Irham,

When creating a multi node cluster on kubernetes, is it necessary to load
> the docker file in all nodes(minions) ?.

If you have not configured a docker registry or the images are not
available the dockerhub this is required.

I mean Is it possible to deploy a particular docker only in particular
> minion ?  If so, I just need to load that docker in that particular minion
> only. Now I am loading the docker file in all the minions.


According to [1] you can do this in the latest kubernetes version.

[1] http://kubernetes.io/docs/user-guide/node-selection/



On Tue, May 10, 2016 at 3:28 PM, Irham Iqbal  wrote:

> Hi All,
>
> When creating a multi node cluster on kubernetes, is it necessary to load
> the docker file in all nodes(minions) ?.
>
> I mean Is it possible to deploy a particular docker only in particular
> minion ?  If so, I just need to load that docker in that particular minion
> only. Now I am loading the docker file in all the minions.
>
> Also can I configure a minion to create only one pod on that minion using[1]
> which is in the doc[2].
>
> [1] resources:
>
> cpu: ""
> memory: ""
>
>
> [2] http://kubernetes.io/docs/user-guide/pods/multi-container/#YAML
>
>
> Thanks,
> Iqbal
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel  : +94 112 145 345
a nurudd...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread Kishanthan Thangarajah
+1, let's use the AS repo and at build time, which can get installed during
build time and this will also become part of release which will be deployed
onto nexus.

Is the naming is correct? Shouldn't it be "shaded"?

On Tue, May 10, 2016 at 3:00 PM, Manoj Kumara  wrote:

> Hi Dev's,
>
> During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j
> library available on the webapp libs directory as /lib also
> contain the same library to be used by libthrift library used during stat
> publishing. After analyzing the issue  with the team realized that this
> occurred as Tomcat has a flat class path and multiple package versions
> cannot be used as in OSGI runtime.
>
> To resolve this as per the recommendation provided by KasunG we used '*Maven
> Shade Plugin* [1]' to shade package name (rename package structure and
> usages) as other open-source projects like Tomcat, Maven use similar
> patterns when using commonly used packages.
>
> As these shaded libraries required for AS distribution these libs need to
> be maintained inside product it self I suggest to maintain them as below
> with '*org.wso2.shade*' prefix on groupID. Thoughts ?
>
> /modules/*shade-libs*
>  |- slf4j
>  |- libthrift
>
> [1] https://maven.apache.org/plugins/maven-shade-plugin/
>
>
> Regards,
> Manoj
>



-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Aruna Karunarathna
Thanks Ravi and Jagath for looking into this.

On Tue, May 10, 2016 at 3:35 PM, Ravi Undupitiya  wrote:

> In that case we should update the samples doc and document the system
> properties that can be updated. I've created doc JIRA [1] to track this.
>
> [1] https://wso2.org/jira/browse/DOCUMENTATION-3316
>
>
> Thanks,
>
> On Tue, May 10, 2016 at 2:49 PM, Jagath Sisirakumara Ariyarathne <
> jaga...@wso2.com> wrote:
>
>> Hi Ravi,
>>
>> Seems activemq is used by GenericJMSClient [1] by default.
>>
>> [1] -
>> https://github.com/wso2/product-esb/blob/master/modules/samples/product/src/main/java/samples/userguide/GenericJMSClient.java
>>
>> Thanks.
>>
>> On Tue, May 10, 2016 at 2:37 PM, Ravi Undupitiya  wrote:
>>
>>> Hi Aruna,
>>>
>>> ActiveMQ jars are not required to connect to MB. Would you happen to
>>> have ActiveMQ context factory set in some config file?
>>>
>>>
>>> On Tue, May 10, 2016 at 2:24 PM, Aruna Karunarathna 
>>> wrote:
>>>
 Hi Jagath,

 Thanks for the reply, No I haven't setup ActiveMQ, instead I've
 followed instructions in [1] to configure with WSO2MB, and it doesn't
 mention to add ActiveMQ jars,

 After adding the mentioned jars resolved the issue.

 Isn't it better to add as a prerequisite before configuring MB?.

 [1].
 https://docs.wso2.com/display/ESB490/Configure+with+WSO2+Message+Broker

 Regards,
 Aruna

 On Tue, May 10, 2016 at 2:01 PM, Jagath Sisirakumara Ariyarathne <
 jaga...@wso2.com> wrote:

> Hi Aruna,
>
> Did you add required jar files to lib folder as mentioned in[1].
>
> [1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ
>
> Thanks.
>
> On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna 
> wrote:
>
>> Hi ESB team,
>>
>> When trying to invoke the JMSClient [1] getting the below error.
>> Seems like the activemq jar is not present in the classpath.
>>
>>  ant jmsclient -Djms_type=pox
>> -Djms_dest=dynamicQueues/StockQuoteProxy -Djms_payload=MSFT
>> Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml
>>
>> init:
>>
>> compile:
>>
>> jmsclient:
>>  [java] Exception in thread "main"
>> javax.naming.NoInitialContextException: Cannot instantiate class:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
>> java.lang.ClassNotFoundException:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory]
>>  [java] at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>>  [java] at
>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>>  [java] at
>> javax.naming.InitialContext.init(InitialContext.java:242)
>>  [java] at
>> javax.naming.InitialContext.(InitialContext.java:216)
>>  [java] at samples.userguide.GenericJMSClient.connect(Unknown
>> Source)
>>  [java] at samples.userguide.GenericJMSClient.main(Unknown
>> Source)
>>  [java] Caused by: java.lang.ClassNotFoundException:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>  [java] at java.security.AccessController.doPrivileged(Native
>> Method)
>>  [java] at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>  [java] at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>  [java] at java.lang.Class.forName0(Native Method)
>>  [java] at java.lang.Class.forName(Class.java:270)
>>  [java] at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
>>  [java] at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
>>  [java] at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
>>  [java] ... 5 more
>>  [java] Java Result: 1
>>
>> BUILD SUCCESSFUL
>>
>> [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions
>>
>> Regards,
>> Aruna
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Jagath Ariyarathne
> Technical Lead
> WSO2 Inc.  http://wso2.com/

Re: [Dev] AppM bug

2016-05-10 Thread Jithendra Sirimanne
Hi Thilini,

Thanks for fixing this.

Best Regards
Jithendra

--
Jithendra Sirimanne
*Systems Engineer*
Mobile: +94 (0) 716 374696 <+94+(0)+716+374696>
Tel  : +94 112 145 345
Email  : jithen...@wso2.com

On Sun, May 8, 2016 at 10:31 AM, Thilini Shanika  wrote:

> Hi Jithendra,
>
> 2)  I published a app and then un-publish it to edit some settings and
> saved new settings. Now when I go to publish there's only "Delete" button.
>
> The above mentioned issue is fixed [1] in the staging setup and there's no
> need to use the workaround we provided anymore.
>
> [1] -https://wso2.org/jira/browse/APPM-1381
>
> On Fri, May 6, 2016 at 11:35 AM, Jithendra Sirimanne 
> wrote:
>
>> Hi Thilini,
>>
>> Yes but the published app not showing in the store was. Anyway now it is
>> fixed and we can continue.
>>
>> Best Regards
>> Jithendra
>>
>> --
>> Jithendra Sirimanne
>> *Systems Engineer*
>> Mobile: +94 (0) 716 374696 <+94+(0)+716+374696>
>> Tel  : +94 112 145 345
>> Email  : jithen...@wso2.com
>>
>> On Fri, May 6, 2016 at 10:50 AM, Thilini Shanika 
>> wrote:
>>
>>> Hi Jithendra,
>>>
>>> when we go to all apps carbon log shows below errors
>>> TID: [-1234] [] [2016-05-05 16:33:42,531] ERROR
>>> {JAGGERY.extensions.assets.webapp.pages.assets:jag} -
>>>  java.lang.NullPointerException: null
>>> {JAGGERY.extensions.assets.webapp.pages.assets:jag}
>>> TID: [-1234] [] [2016-05-05 16:33:42,533] ERROR
>>> {JAGGERY.extensions.assets.webapp.pages.assets:jag} -
>>>  java.lang.NullPointerException: null
>>> {JAGGERY.extensions.assets.webapp.pages.assets:jag}
>>>
>>> Above mentioned issue is already fixed in M4 release. This is not a
>>> blocker.
>>>
>>> Apart from the above, we have noticed issue [1] in staging deployment.
>>> This occurs due to an application tag filtering issue in carbon-governance
>>> components and this was also fixed in M4 by a governance component upgrade.
>>> Please refer to '*[Dev] [APPM/APIM] AuthorizationFailedException
>>> when getting tags where webapp/api visibility is restricted by **role*'
>>> for more information.
>>>
>>> [1] - https://wso2.org/jira/browse/APPM-1380
>>>
>>> Thanks
>>> Thilini
>>>
>>> On Fri, May 6, 2016 at 1:07 AM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi Jithendra,

 There are couple of other mail threads from GayanG and Chanuka related
 to publishing some new apps that they have written. Issues that you have
 mentioned here, won't block their application testing. Can you get these
 two applications published into staging deployment and let them continue
 with the application testing while Thilini look into these issues.

 Regards,
 Dinusha.

 On Thu, May 5, 2016 at 4:36 PM, Jithendra Sirimanne  wrote:

> Hi Thilini,
>
> Yes, the patch(patch) fixed the big exception but now when we go
> to all apps carbon log shows below errors
> TID: [-1234] [] [2016-05-05 16:33:42,531] ERROR
> {JAGGERY.extensions.assets.webapp.pages.assets:jag} -
>  java.lang.NullPointerException: null
> {JAGGERY.extensions.assets.webapp.pages.assets:jag}
> TID: [-1234] [] [2016-05-05 16:33:42,533] ERROR
> {JAGGERY.extensions.assets.webapp.pages.assets:jag} -
>  java.lang.NullPointerException: null
> {JAGGERY.extensions.assets.webapp.pages.assets:jag}
>
> And we published a app with a tag it is not shown in the "All Apps"
> page and even it is not shown in the search only way to access is going 
> via
> the tag.
>
> Best Regards
> Jithendra
>
> --
> Jithendra Sirimanne
> *Systems Engineer*
> Mobile: +94 (0) 716 374696 <+94+(0)+716+374696>
> Tel  : +94 112 145 345
> Email  : jithen...@wso2.com
>
> On Thu, May 5, 2016 at 3:32 PM, Thilini Shanika 
> wrote:
>
>> Hi Jithendra,
>>
>> 2) Now I can create the app and publish. But it does not shown in the
>> store. In the publisher wso2carbon.log it shows as below
>>
>> This is the same issue we encountered in the production deployment
>> and I will apply the same patch in staging setup also. This issue is
>> already fixed in M4.
>>
>>
>> On Thu, May 5, 2016 at 3:23 PM, Jithendra Sirimanne <
>> jithen...@wso2.com> wrote:
>>
>>> hi Thilini,
>>>
>>> Thanks for the quick reply.  Will be waiting for the patch for the
>>> issue after editing the app. Now i have below problems.
>>>
>>> 1) I have now enabled the messageFormatters and messageBuilders in
>>> the axis2 but im facing issues viewing the app. Please refer below [2]
>>>
>>> 2) Now I can create the app and publish. But it does not shown in
>>> the store. In the publisher wso2carbon.log it shows as below
>>>
>>> TID: [-1234] [] [2016-05-05 15:11:45,357] ERROR
>>> {JAGGERY.extensions.assets.webapp.pages.assets:jag} 

Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Ravi Undupitiya
In that case we should update the samples doc and document the system
properties that can be updated. I've created doc JIRA [1] to track this.

[1] https://wso2.org/jira/browse/DOCUMENTATION-3316


Thanks,

On Tue, May 10, 2016 at 2:49 PM, Jagath Sisirakumara Ariyarathne <
jaga...@wso2.com> wrote:

> Hi Ravi,
>
> Seems activemq is used by GenericJMSClient [1] by default.
>
> [1] -
> https://github.com/wso2/product-esb/blob/master/modules/samples/product/src/main/java/samples/userguide/GenericJMSClient.java
>
> Thanks.
>
> On Tue, May 10, 2016 at 2:37 PM, Ravi Undupitiya  wrote:
>
>> Hi Aruna,
>>
>> ActiveMQ jars are not required to connect to MB. Would you happen to have
>> ActiveMQ context factory set in some config file?
>>
>>
>> On Tue, May 10, 2016 at 2:24 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Hi Jagath,
>>>
>>> Thanks for the reply, No I haven't setup ActiveMQ, instead I've followed
>>> instructions in [1] to configure with WSO2MB, and it doesn't mention to add
>>> ActiveMQ jars,
>>>
>>> After adding the mentioned jars resolved the issue.
>>>
>>> Isn't it better to add as a prerequisite before configuring MB?.
>>>
>>> [1].
>>> https://docs.wso2.com/display/ESB490/Configure+with+WSO2+Message+Broker
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Tue, May 10, 2016 at 2:01 PM, Jagath Sisirakumara Ariyarathne <
>>> jaga...@wso2.com> wrote:
>>>
 Hi Aruna,

 Did you add required jar files to lib folder as mentioned in[1].

 [1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ

 Thanks.

 On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna 
 wrote:

> Hi ESB team,
>
> When trying to invoke the JMSClient [1] getting the below error. Seems
> like the activemq jar is not present in the classpath.
>
>  ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
> -Djms_payload=MSFT
> Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml
>
> init:
>
> compile:
>
> jmsclient:
>  [java] Exception in thread "main"
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
> java.lang.ClassNotFoundException:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory]
>  [java] at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>  [java] at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>  [java] at
> javax.naming.InitialContext.init(InitialContext.java:242)
>  [java] at
> javax.naming.InitialContext.(InitialContext.java:216)
>  [java] at samples.userguide.GenericJMSClient.connect(Unknown
> Source)
>  [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
>  [java] Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>  [java] at java.security.AccessController.doPrivileged(Native
> Method)
>  [java] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>  [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>  [java] at java.lang.Class.forName0(Native Method)
>  [java] at java.lang.Class.forName(Class.java:270)
>  [java] at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
>  [java] at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
>  [java] at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
>  [java] ... 5 more
>  [java] Java Result: 1
>
> BUILD SUCCESSFUL
>
> [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions
>
> Regards,
> Aruna
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Jagath Ariyarathne
 Technical Lead
 WSO2 Inc.  http://wso2.com/
 Email: jaga...@wso2.com
 Mob  : +94 77 386 7048


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: 

[Dev] In multi node cluster on kubernetes loading the docker file in all minions

2016-05-10 Thread Irham Iqbal
Hi All,

When creating a multi node cluster on kubernetes, is it necessary to load
the docker file in all nodes(minions) ?.

I mean Is it possible to deploy a particular docker only in particular
minion ?  If so, I just need to load that docker in that particular minion
only. Now I am loading the docker file in all the minions.

Also can I configure a minion to create only one pod on that minion using[1]
which is in the doc[2].

[1] resources:

cpu: ""
memory: ""


[2] http://kubernetes.io/docs/user-guide/pods/multi-container/#YAML


Thanks,
Iqbal

-- 
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] [APIM] Supporting DB types for Statistical Database

2016-05-10 Thread Maneesha Wijesekara
In API Manager 2.0.0, only 4 types of db scripts (db2, h2, mysql and
oracle) are available in here [1] to create stat database when configuring
APIM Analytics 1.0.0.

To create APIM databases in postgresql, derby, informix, oracle rac and
openedge, db scripts are also available in [2]. Can you please confirm the
reason for unavailability of those DB types when it comes to create stat db
?

[1] [APIM_HOME}/dbscripts/stat/sql
[2] [APIM_HOME}/dbscripts

Regards
Maneesha

-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to deploy Jaggery application as web root context

2016-05-10 Thread Danushka Fernando
+Kishanthan,KasunG

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

On Tue, May 10, 2016 at 3:10 PM, Lahiru Manohara  wrote:

> Hi All,
>
> We have requirement to deploy Jaggery application as web root context in
> AS 5.3.0. Is there any way do this?
>
> Thanks!
> --
> Best regards,
>
> *Lahiru Manohara*
> *Software Engineer*
> Mobile: +94716561576
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>
> ___
> 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] How to deploy Jaggery application as web root context

2016-05-10 Thread Lahiru Manohara
Hi All,

We have requirement to deploy Jaggery application as web root context in AS
5.3.0. Is there any way do this?

Thanks!
-- 
Best regards,

*Lahiru Manohara*
*Software Engineer*
Mobile: +94716561576
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Java LinkageError on AS 6.0.0 when webapp's contain libraries exist on server lib directory

2016-05-10 Thread Manoj Kumara
Hi Dev's,

During testing WSO2AS 6.0.0 we encounters $Subject error when SLF4j library
available on the webapp libs directory as /lib also contain the
same library to be used by libthrift library used during stat publishing.
After analyzing the issue  with the team realized that this occurred as
Tomcat has a flat class path and multiple package versions cannot be used
as in OSGI runtime.

To resolve this as per the recommendation provided by KasunG we used '*Maven
Shade Plugin* [1]' to shade package name (rename package structure and
usages) as other open-source projects like Tomcat, Maven use similar
patterns when using commonly used packages.

As these shaded libraries required for AS distribution these libs need to
be maintained inside product it self I suggest to maintain them as below
with '*org.wso2.shade*' prefix on groupID. Thoughts ?

/modules/*shade-libs*
 |- slf4j
 |- libthrift

[1] https://maven.apache.org/plugins/maven-shade-plugin/


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


Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Jagath Sisirakumara Ariyarathne
Hi Ravi,

Seems activemq is used by GenericJMSClient [1] by default.

[1] -
https://github.com/wso2/product-esb/blob/master/modules/samples/product/src/main/java/samples/userguide/GenericJMSClient.java

Thanks.

On Tue, May 10, 2016 at 2:37 PM, Ravi Undupitiya  wrote:

> Hi Aruna,
>
> ActiveMQ jars are not required to connect to MB. Would you happen to have
> ActiveMQ context factory set in some config file?
>
>
> On Tue, May 10, 2016 at 2:24 PM, Aruna Karunarathna 
> wrote:
>
>> Hi Jagath,
>>
>> Thanks for the reply, No I haven't setup ActiveMQ, instead I've followed
>> instructions in [1] to configure with WSO2MB, and it doesn't mention to add
>> ActiveMQ jars,
>>
>> After adding the mentioned jars resolved the issue.
>>
>> Isn't it better to add as a prerequisite before configuring MB?.
>>
>> [1].
>> https://docs.wso2.com/display/ESB490/Configure+with+WSO2+Message+Broker
>>
>> Regards,
>> Aruna
>>
>> On Tue, May 10, 2016 at 2:01 PM, Jagath Sisirakumara Ariyarathne <
>> jaga...@wso2.com> wrote:
>>
>>> Hi Aruna,
>>>
>>> Did you add required jar files to lib folder as mentioned in[1].
>>>
>>> [1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ
>>>
>>> Thanks.
>>>
>>> On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna 
>>> wrote:
>>>
 Hi ESB team,

 When trying to invoke the JMSClient [1] getting the below error. Seems
 like the activemq jar is not present in the classpath.

  ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
 -Djms_payload=MSFT
 Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml

 init:

 compile:

 jmsclient:
  [java] Exception in thread "main"
 javax.naming.NoInitialContextException: Cannot instantiate class:
 org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
 java.lang.ClassNotFoundException:
 org.apache.activemq.jndi.ActiveMQInitialContextFactory]
  [java] at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
  [java] at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
  [java] at
 javax.naming.InitialContext.init(InitialContext.java:242)
  [java] at
 javax.naming.InitialContext.(InitialContext.java:216)
  [java] at samples.userguide.GenericJMSClient.connect(Unknown
 Source)
  [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.activemq.jndi.ActiveMQInitialContextFactory
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  [java] at java.lang.Class.forName0(Native Method)
  [java] at java.lang.Class.forName(Class.java:270)
  [java] at
 com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
  [java] at
 com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
  [java] at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
  [java] ... 5 more
  [java] Java Result: 1

 BUILD SUCCESSFUL

 [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions

 Regards,
 Aruna
 --

 *Aruna Sujith Karunarathna *
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


>>>
>>>
>>> --
>>> Jagath Ariyarathne
>>> Technical Lead
>>> WSO2 Inc.  http://wso2.com/
>>> Email: jaga...@wso2.com
>>> Mob  : +94 77 386 7048
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ravi Undupitiya*
> Senior Software Engineer; WSO2 http://wso2.com
>
>
> *E-mail: r...@wso2.com **M: **+94 772 930 712
> <%2B94%C2%A0772%20930%20712>*
>
> Lean . Enterprise . Middleware
>



-- 
Jagath Ariyarathne
Technical Lead
WSO2 Inc.  

Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Ravi Undupitiya
Hi Aruna,

ActiveMQ jars are not required to connect to MB. Would you happen to have
ActiveMQ context factory set in some config file?


On Tue, May 10, 2016 at 2:24 PM, Aruna Karunarathna  wrote:

> Hi Jagath,
>
> Thanks for the reply, No I haven't setup ActiveMQ, instead I've followed
> instructions in [1] to configure with WSO2MB, and it doesn't mention to add
> ActiveMQ jars,
>
> After adding the mentioned jars resolved the issue.
>
> Isn't it better to add as a prerequisite before configuring MB?.
>
> [1].
> https://docs.wso2.com/display/ESB490/Configure+with+WSO2+Message+Broker
>
> Regards,
> Aruna
>
> On Tue, May 10, 2016 at 2:01 PM, Jagath Sisirakumara Ariyarathne <
> jaga...@wso2.com> wrote:
>
>> Hi Aruna,
>>
>> Did you add required jar files to lib folder as mentioned in[1].
>>
>> [1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ
>>
>> Thanks.
>>
>> On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Hi ESB team,
>>>
>>> When trying to invoke the JMSClient [1] getting the below error. Seems
>>> like the activemq jar is not present in the classpath.
>>>
>>>  ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
>>> -Djms_payload=MSFT
>>> Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml
>>>
>>> init:
>>>
>>> compile:
>>>
>>> jmsclient:
>>>  [java] Exception in thread "main"
>>> javax.naming.NoInitialContextException: Cannot instantiate class:
>>> org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
>>> java.lang.ClassNotFoundException:
>>> org.apache.activemq.jndi.ActiveMQInitialContextFactory]
>>>  [java] at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>>>  [java] at
>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>>>  [java] at javax.naming.InitialContext.init(InitialContext.java:242)
>>>  [java] at
>>> javax.naming.InitialContext.(InitialContext.java:216)
>>>  [java] at samples.userguide.GenericJMSClient.connect(Unknown
>>> Source)
>>>  [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
>>>  [java] Caused by: java.lang.ClassNotFoundException:
>>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>  [java] at java.security.AccessController.doPrivileged(Native
>>> Method)
>>>  [java] at
>>> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>>  [java] at
>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>>  [java] at java.lang.Class.forName0(Native Method)
>>>  [java] at java.lang.Class.forName(Class.java:270)
>>>  [java] at
>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
>>>  [java] at
>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
>>>  [java] at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
>>>  [java] ... 5 more
>>>  [java] Java Result: 1
>>>
>>> BUILD SUCCESSFUL
>>>
>>> [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions
>>>
>>> Regards,
>>> Aruna
>>> --
>>>
>>> *Aruna Sujith Karunarathna *
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Jagath Ariyarathne
>> Technical Lead
>> WSO2 Inc.  http://wso2.com/
>> Email: jaga...@wso2.com
>> Mob  : +94 77 386 7048
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ravi Undupitiya*
Senior Software Engineer; WSO2 http://wso2.com


*E-mail: r...@wso2.com **M: **+94 772 930 712*

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


Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Aruna Karunarathna
Hi Jagath,

Thanks for the reply, No I haven't setup ActiveMQ, instead I've followed
instructions in [1] to configure with WSO2MB, and it doesn't mention to add
ActiveMQ jars,

After adding the mentioned jars resolved the issue.

Isn't it better to add as a prerequisite before configuring MB?.

[1]. https://docs.wso2.com/display/ESB490/Configure+with+WSO2+Message+Broker

Regards,
Aruna

On Tue, May 10, 2016 at 2:01 PM, Jagath Sisirakumara Ariyarathne <
jaga...@wso2.com> wrote:

> Hi Aruna,
>
> Did you add required jar files to lib folder as mentioned in[1].
>
> [1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ
>
> Thanks.
>
> On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna 
> wrote:
>
>> Hi ESB team,
>>
>> When trying to invoke the JMSClient [1] getting the below error. Seems
>> like the activemq jar is not present in the classpath.
>>
>>  ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
>> -Djms_payload=MSFT
>> Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml
>>
>> init:
>>
>> compile:
>>
>> jmsclient:
>>  [java] Exception in thread "main"
>> javax.naming.NoInitialContextException: Cannot instantiate class:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
>> java.lang.ClassNotFoundException:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory]
>>  [java] at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>>  [java] at
>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>>  [java] at javax.naming.InitialContext.init(InitialContext.java:242)
>>  [java] at
>> javax.naming.InitialContext.(InitialContext.java:216)
>>  [java] at samples.userguide.GenericJMSClient.connect(Unknown Source)
>>  [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
>>  [java] Caused by: java.lang.ClassNotFoundException:
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>  [java] at java.security.AccessController.doPrivileged(Native Method)
>>  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>  [java] at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>  [java] at java.lang.Class.forName0(Native Method)
>>  [java] at java.lang.Class.forName(Class.java:270)
>>  [java] at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
>>  [java] at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
>>  [java] at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
>>  [java] ... 5 more
>>  [java] Java Result: 1
>>
>> BUILD SUCCESSFUL
>>
>> [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions
>>
>> Regards,
>> Aruna
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Jagath Ariyarathne
> Technical Lead
> WSO2 Inc.  http://wso2.com/
> Email: jaga...@wso2.com
> Mob  : +94 77 386 7048
>
>


-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] OOM Issues and HazelCast behaviour

2016-05-10 Thread Afkham Azeez
System.exit(121) triggers a restart in Carbon. This was there in Carbon 4,
but we can add it to Carbon 5 as well.

On Tue, May 10, 2016 at 2:18 PM, Srinath Perera  wrote:

> +1, when server hits an issue it cannot recover and continue to work
> meaningfully, it is best to shut down or restart. That approximate crash
> failure behaviour ( which is a good thing).
>
> On Tue, May 10, 2016 at 11:40 AM, Ramith Jayasinghe 
> wrote:
>
>> HI Azeez/Sameera,
>>
>>  Having encountered some OOM issues (relating to HZ) I looked at what
>> Hazelcast does in face of GC errors [1]. It will drop all connections,
>> threads, and shuts it self down.
>>
>> Now, Think about one of our server's ( say MB) face a OOM and embedded HZ
>> instance shuts it self down. I propose when this happens entire server
>> should stop its processing intelligently ( if not shutting down).
>> Rational is one of the sub-system in the server shutdown while other
>> parts of the server don't care, which is wrong. As for MB, it tries to stop
>> processing in a meaningful manner and I argue this should be something any
>> server should do if they use HZ clustering.
>>
>> thoughts?
>>
>>
>> [1]
>> https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/instance/DefaultOutOfMemoryHandler.java
>>
>> --
>> Ramith Jayasinghe
>> Technical Lead
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> E: ram...@wso2.com
>> P: +94 772534930
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> 
> Srinath Perera, Ph.D.
>http://people.apache.org/~hemapani/
>http://srinathsview.blogspot.com/
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


Re: [Dev] OOM Issues and HazelCast behaviour

2016-05-10 Thread Srinath Perera
+1, when server hits an issue it cannot recover and continue to work
meaningfully, it is best to shut down or restart. That approximate crash
failure behaviour ( which is a good thing).

On Tue, May 10, 2016 at 11:40 AM, Ramith Jayasinghe  wrote:

> HI Azeez/Sameera,
>
>  Having encountered some OOM issues (relating to HZ) I looked at what
> Hazelcast does in face of GC errors [1]. It will drop all connections,
> threads, and shuts it self down.
>
> Now, Think about one of our server's ( say MB) face a OOM and embedded HZ
> instance shuts it self down. I propose when this happens entire server
> should stop its processing intelligently ( if not shutting down).
> Rational is one of the sub-system in the server shutdown while other parts
> of the server don't care, which is wrong. As for MB, it tries to stop
> processing in a meaningful manner and I argue this should be something any
> server should do if they use HZ clustering.
>
> thoughts?
>
>
> [1]
> https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/instance/DefaultOutOfMemoryHandler.java
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
> P: +94 772534930
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Srinath Perera, Ph.D.
   http://people.apache.org/~hemapani/
   http://srinathsview.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Jagath Sisirakumara Ariyarathne
Hi Aruna,

Did you add required jar files to lib folder as mentioned in[1].

[1] - https://docs.wso2.com/display/ESB490/Configure+with+ActiveMQ

Thanks.

On Tue, May 10, 2016 at 1:39 PM, Aruna Karunarathna  wrote:

> Hi ESB team,
>
> When trying to invoke the JMSClient [1] getting the below error. Seems
> like the activemq jar is not present in the classpath.
>
>  ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
> -Djms_payload=MSFT
> Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml
>
> init:
>
> compile:
>
> jmsclient:
>  [java] Exception in thread "main"
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
> java.lang.ClassNotFoundException:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory]
>  [java] at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>  [java] at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>  [java] at javax.naming.InitialContext.init(InitialContext.java:242)
>  [java] at javax.naming.InitialContext.(InitialContext.java:216)
>  [java] at samples.userguide.GenericJMSClient.connect(Unknown Source)
>  [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
>  [java] Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>  [java] at java.security.AccessController.doPrivileged(Native Method)
>  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>  [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>  [java] at java.lang.Class.forName0(Native Method)
>  [java] at java.lang.Class.forName(Class.java:270)
>  [java] at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
>  [java] at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
>  [java] at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
>  [java] ... 5 more
>  [java] Java Result: 1
>
> BUILD SUCCESSFUL
>
> [1]. https://docs.wso2.com/display/ESB490/JMS+Transactions
>
> Regards,
> Aruna
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Jagath Ariyarathne
Technical Lead
WSO2 Inc.  http://wso2.com/
Email: jaga...@wso2.com
Mob  : +94 77 386 7048
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB 4.9.0 JSM client error

2016-05-10 Thread Aruna Karunarathna
Hi ESB team,

When trying to invoke the JMSClient [1] getting the below error. Seems like
the activemq jar is not present in the classpath.

 ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/StockQuoteProxy
-Djms_payload=MSFT
Buildfile: /home/aruna//wso2esb-4.9.0/samples/axis2Client/build.xml

init:

compile:

jmsclient:
 [java] Exception in thread "main"
javax.naming.NoInitialContextException: Cannot instantiate class:
org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.apache.activemq.jndi.ActiveMQInitialContextFactory]
 [java] at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
 [java] at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
 [java] at javax.naming.InitialContext.init(InitialContext.java:242)
 [java] at javax.naming.InitialContext.(InitialContext.java:216)
 [java] at samples.userguide.GenericJMSClient.connect(Unknown Source)
 [java] at samples.userguide.GenericJMSClient.main(Unknown Source)
 [java] Caused by: java.lang.ClassNotFoundException:
org.apache.activemq.jndi.ActiveMQInitialContextFactory
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
 [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 [java] at java.lang.Class.forName0(Native Method)
 [java] at java.lang.Class.forName(Class.java:270)
 [java] at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)
 [java] at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)
 [java] at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
 [java] ... 5 more
 [java] Java Result: 1

BUILD SUCCESSFUL

[1]. https://docs.wso2.com/display/ESB490/JMS+Transactions

Regards,
Aruna
-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][Puppet Modules] Finalizing wso2/puppet-modules 2.0.0 release

2016-05-10 Thread Chamila De Alwis
I added a GitHub wiki page including this range information [1].

[1] -
https://github.com/wso2/puppet-modules/wiki/Proxy-Port-Range-Use-for-Kubernetes-Platform



Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, May 10, 2016 at 12:44 PM, Imesh Gunaratne  wrote:

>
>
> On Tue, May 10, 2016 at 10:02 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi,
>>
>> Please find the node port ranges used in puppet modules. We should add
>> this to wiki.
>>
>
> Thanks for listing this out Anuruddha! We might need to mention that this
> is specifically for the Kubernetes platform.
>
> Thanks
>
>>
>> Product
>> Port Range
>> Min Port Max Port
>> wso2am 32000 32020
>> wso2as 32021 32030
>> wso2bps 32031 32040
>> wso2brs 32041 32050
>> wso2cep 32051 32060
>> wso2das 32061 32070
>> wso2dss 32071 32080
>> wso2es 32081 32090
>> wso2esb 32091 32100
>> wso2greg 32101 32110
>> wso2is 32110 32120
>> wso2mb 32120 32130
>>
>>
>>
>> On Tue, May 10, 2016 at 6:19 AM, Chamila De Alwis 
>> wrote:
>>
>>> Hi Akila,
>>>
>>> On Tue, May 10, 2016 at 6:14 AM, Akila Ravihansa Perera <
>>> raviha...@wso2.com> wrote:
>>>
 WARNING: class inherits across module namespaces
 WARNING: line has more than 80 characters

>>>
>>> I think we can ignore these as they were considered in the decision
>>> process. I'll change the release notes to amend the line about vm_type.
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Committer and PMC Member - Apache Stratos
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel  : +94 112 145 345
>> a nurudd...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io TW: @imesh
> Lean . Enterprise . Middleware
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Abimaran Kugathasan
Hi Chamila,


Do you have any reason to put this range  [5.1.1.SNAPSHOT,6.0.0). for
BasicAuth Application Authenticator Server Feature 5.0.9.SNAPSHOT?

The range should be from current major version to future major version like
[5.0.0, 6.0.0).




On Tue, May 10, 2016 at 12:33 PM, Bhathiya Jayasekara 
wrote:

> Got it. Thanks for the clarification Chamila.
>
> Regards,
> Bhathiya
>
> On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna 
> wrote:
>
>> Hi Bathiya,
>>
>> We yesterday released carbon-identity-framework 5.1.0 and upgraded master
>> version to 5.1.1-SNAPSHOT. Currently we are working on releasing 5.1.0
>> version 40+ identity-extension repos and currently they are still in
>> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
>> this issue should be fixed.
>>
>> Also since we have broken carbon-identity repo into number of sub repos,
>> in future each of these repos will be using different versions. So all
>> products which are using identity-features will have to keep different
>> versions for each of these repos/features, for example different versions
>> for saml and oauth.
>>
>> Thank You!
>>
>> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi IS team,
>>>
>>> We are experiencing this issue due to the restriction
>>> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
>>> please have a look? Please consider this urgent as our build if failing due
>>> to this.
>>>
>>> Installation failed.
>>> Cannot complete the install because one or more required items could not
>>> be found.
>>>  Software being installed: BasicAuth Application Authenticator Server
>>> Feature 5.0.9.SNAPSHOT
>>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>>> 5.0.9.SNAPSHOT)
>>>  Missing requirement: BasicAuth Application Authenticator Server Feature
>>> 5.0.9.SNAPSHOT
>>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>>> 5.0.9.SNAPSHOT) requires
>>> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>>> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>>>
>>> Thanks,
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan

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


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


Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-05-10 Thread Thilini Cooray
Hi,

A public JIRA is raised in [1].

[1] https://wso2.org/jira/browse/REGISTRY-3610

Thanks.

On Tue, May 10, 2016 at 12:11 PM, Janaka Ranabahu  wrote:

> Hi Thushara
>
> On Tue, May 10, 2016 at 12:06 PM, Thushara Ranawaka 
> wrote:
>
>> Hi Thilini,
>>
>> AFAIU you workaround need to be updated with the current timestamp[1][2].
>> Setting default value to zero is not nice. You might have to figure out the
>> correct syntax for other DB types and test against them.
>>
> ​What Thilini is pointing is an issue in the Registry database creation
> script. Hence we will create a public JIRA and assign it to you guys.
> Please fix them.
>
> We can not modify the Registry database creation script since API Manager
> would not capture the complete scenarios of G-Reg.
>
> Thanks,
> Janaka​
>
>
>>
>>
>> [1] - DEFAULT CURRENT_TIMESTAMP
>> [2] -
>> http://stackoverflow.com/questions/168736/how-do-you-set-a-default-value-for-a-mysql-datetime-column
>>
>> Thanks,
>> Thushara.
>>
>> On Tue, May 10, 2016 at 11:52 AM, Thilini Cooray 
>> wrote:
>>
>>> Hi GReg team,
>>>
>>> We encounter following issue [1] while testing API Manager with MySQL 5.7
>>> MySQL 5.7 has enabled NO_ZERO_IN_DATE, NO_ZERO_DATE policies by
>>> default. Therefore it does not allow 0 as a valid default value for
>>> date/time.
>>>
>>> As a workaround we can set MySQL server to accept 0 changing the default
>>> server settings if the database owner agrees on it.
>>> [2] contains the related table creation script.
>>>
>>> Appreciate your feedback on a fix for this.
>>>
>>> [1] https://wso2.org/jira/browse/APIMANAGER-4645
>>>
>>> [2] CREATE TABLE IF NOT EXISTS REG_RESOURCE (
>>> REG_PATH_ID INTEGER NOT NULL,
>>> REG_NAMEVARCHAR(256),
>>> REG_VERSION INTEGER NOT NULL AUTO_INCREMENT,
>>> REG_MEDIA_TYPE  VARCHAR(500),
>>> REG_CREATOR VARCHAR(31) NOT NULL,
>>> REG_CREATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
>>> REG_LAST_UPDATORVARCHAR(31),
>>> REG_LAST_UPDATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
>>> REG_DESCRIPTION VARCHAR(1000),
>>> REG_CONTENT_ID  INTEGER,
>>> REG_TENANT_ID INTEGER DEFAULT 0,
>>> REG_UUID VARCHAR(100) NOT NULL,
>>> CONSTRAINT PK_REG_RESOURCE PRIMARY KEY(REG_VERSION,
>>> REG_TENANT_ID)
>>> )ENGINE INNODB;
>>>
>>> Thanks.
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : thili...@wso2.com
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Thushara Kasun Ranawaka
>> Software Engineer
>> WSO2 Inc.; 
>> lean.enterprise.middleware
>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>> *thusha...@wso2.com *
>>
>
>
>
> --
> *Janaka Ranabahu*
> Associate Technical Lead, WSO2 Inc.
> http://wso2.com
>
>
> *E-mail: jan...@wso2.com **M: **+94 718370861
> <%2B94%20718370861>*
>
> Lean . Enterprise . Middleware
>



-- 
Best Regards,

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

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][Puppet Modules] Finalizing wso2/puppet-modules 2.0.0 release

2016-05-10 Thread Imesh Gunaratne
On Tue, May 10, 2016 at 10:02 AM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi,
>
> Please find the node port ranges used in puppet modules. We should add
> this to wiki.
>

Thanks for listing this out Anuruddha! We might need to mention that this
is specifically for the Kubernetes platform.

Thanks

>
> Product
> Port Range
> Min Port Max Port
> wso2am 32000 32020
> wso2as 32021 32030
> wso2bps 32031 32040
> wso2brs 32041 32050
> wso2cep 32051 32060
> wso2das 32061 32070
> wso2dss 32071 32080
> wso2es 32081 32090
> wso2esb 32091 32100
> wso2greg 32101 32110
> wso2is 32110 32120
> wso2mb 32120 32130
>
>
>
> On Tue, May 10, 2016 at 6:19 AM, Chamila De Alwis 
> wrote:
>
>> Hi Akila,
>>
>> On Tue, May 10, 2016 at 6:14 AM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> WARNING: class inherits across module namespaces
>>> WARNING: line has more than 80 characters
>>>
>>
>> I think we can ignore these as they were considered in the decision
>> process. I'll change the release notes to amend the line about vm_type.
>>
>>
>> Regards,
>> Chamila de Alwis
>> Committer and PMC Member - Apache Stratos
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a nurudd...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] BPS Server startup hangs after a NPE.

2016-05-10 Thread Niranjan Karunanandham
Hi Hasitha,

I am currently making the changes to msf4j with the improvement startup
resolver changes which is done in C 5.1.0-alpha2.

Regards,
Nira

On Tue, May 10, 2016 at 12:02 PM, Hasitha Aravinda  wrote:

> Hi Kernel team,
>
> I am getting following NPE when server startup. Please have a look.
>
> [2016-05-10 11:52:55,080]  INFO
> {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are
> available
> [2016-05-10 11:52:55,081]  INFO
> {org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent}
> - All CarbonNettyServerInitializers are available
> [2016-05-10 11:52:55,082]  INFO
> {org.wso2.carbon.transport.http.netty.listener.NettyListener} - Starting
> Netty Http Transport Listener
> [2016-05-10 11:52:55,301]  INFO
> {org.wso2.carbon.transport.http.netty.listener.NettyListener} - Netty
> Listener starting on port 
> [2016-05-10 11:52:55,302]  INFO
> {org.wso2.carbon.transport.http.netty.listener.NettyListener} - Starting
> Netty Http Transport Listener
> [2016-05-10 11:52:55,352]  INFO
> {org.wso2.carbon.transport.http.netty.listener.NettyListener} - Netty
> Listener starting on port 
> *Exception in thread "Timer-1" java.lang.NullPointerException*
> at
> org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$2.lambda$run$7(StartupOrderResolver.java:239)
> at java.util.ArrayList.forEach(ArrayList.java:1249)
> at
> org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$2.run(StartupOrderResolver.java:236)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
>
>
> Thanks,
> Hasitha.
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Bhathiya Jayasekara
Got it. Thanks for the clarification Chamila.

Regards,
Bhathiya

On Tue, May 10, 2016 at 12:30 PM, Chamila Wijayarathna 
wrote:

> Hi Bathiya,
>
> We yesterday released carbon-identity-framework 5.1.0 and upgraded master
> version to 5.1.1-SNAPSHOT. Currently we are working on releasing 5.1.0
> version 40+ identity-extension repos and currently they are still in
> 5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
> this issue should be fixed.
>
> Also since we have broken carbon-identity repo into number of sub repos,
> in future each of these repos will be using different versions. So all
> products which are using identity-features will have to keep different
> versions for each of these repos/features, for example different versions
> for saml and oauth.
>
> Thank You!
>
> On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara 
> wrote:
>
>> Hi IS team,
>>
>> We are experiencing this issue due to the restriction
>> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
>> please have a look? Please consider this urgent as our build if failing due
>> to this.
>>
>> Installation failed.
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: BasicAuth Application Authenticator Server
>> Feature 5.0.9.SNAPSHOT
>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>> 5.0.9.SNAPSHOT)
>>  Missing requirement: BasicAuth Application Authenticator Server Feature
>> 5.0.9.SNAPSHOT
>> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
>> 5.0.9.SNAPSHOT) requires
>> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>>
>> Thanks,
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>



-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Feature installation error with latest identity features

2016-05-10 Thread Chamila Wijayarathna
Hi Bathiya,

We yesterday released carbon-identity-framework 5.1.0 and upgraded master
version to 5.1.1-SNAPSHOT. Currently we are working on releasing 5.1.0
version 40+ identity-extension repos and currently they are still in
5.0.9-SNAPSHOT. We are planning to finish it off by EOD today and by then
this issue should be fixed.

Also since we have broken carbon-identity repo into number of sub repos, in
future each of these repos will be using different versions. So all
products which are using identity-features will have to keep different
versions for each of these repos/features, for example different versions
for saml and oauth.

Thank You!

On Tue, May 10, 2016 at 11:47 AM, Bhathiya Jayasekara 
wrote:

> Hi IS team,
>
> We are experiencing this issue due to the restriction
> [5.1.1.SNAPSHOT,6.0.0). Do you have a 5.1.1-SNAPSHOT version? Can you
> please have a look? Please consider this urgent as our build if failing due
> to this.
>
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: BasicAuth Application Authenticator Server
> Feature 5.0.9.SNAPSHOT
> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
> 5.0.9.SNAPSHOT)
>  Missing requirement: BasicAuth Application Authenticator Server Feature
> 5.0.9.SNAPSHOT
> (org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
> 5.0.9.SNAPSHOT) requires
> 'org.wso2.carbon.identity.application.authentication.framework.server.feature.group
> [5.1.1.SNAPSHOT,6.0.0)' but it could not be found
>
> Thanks,
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Recent changes causing errors in DB Scripts

2016-05-10 Thread Dileesha Rajapakse
   - MSSQL.sql Script caused following errors

Msg 128, Level 15, State 1, Line 5
The name "FALSE" is not permitted in this context. Valid expressions are
constants, constant expressions, and (in some contexts) variables. Column
names are not permitted.
Msg 156, Level 15, State 1, Line 409
Incorrect syntax near the keyword 'IF'.
Msg 156, Level 15, State 1, Line 426
Incorrect syntax near the keyword 'IF'.
Msg 156, Level 15, State 1, Line 450
Incorrect syntax near the keyword 'IF'.


On Tue, May 10, 2016 at 11:44 AM, Dileesha Rajapakse 
wrote:

> +dev@
>
> On Tue, May 10, 2016 at 11:38 AM, Dileesha Rajapakse 
> wrote:
>
>> Hi Guys,
>>
>> A bunch of errors found in MSSQL and Oracle DB scripts of the core due to
>> some recent changes.
>>
>> --
>> Dileesha Rajapakse
>> *Intern - Engineering*
>> Mobile : +94 (0) 772 555 933
>> Tel  : +94 112 741 505
>> dilee...@wso2.com
>>
>
>
>
> --
> Dileesha Rajapakse
> *Intern - Engineering*
> Mobile : +94 (0) 772 555 933
> Tel  : +94 112 741 505
> dilee...@wso2.com
>



-- 
Dileesha Rajapakse
*Intern - Engineering*
Mobile : +94 (0) 772 555 933
Tel  : +94 112 741 505
dilee...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-05-10 Thread Janaka Ranabahu
Hi Thushara

On Tue, May 10, 2016 at 12:06 PM, Thushara Ranawaka 
wrote:

> Hi Thilini,
>
> AFAIU you workaround need to be updated with the current timestamp[1][2].
> Setting default value to zero is not nice. You might have to figure out the
> correct syntax for other DB types and test against them.
>
​What Thilini is pointing is an issue in the Registry database creation
script. Hence we will create a public JIRA and assign it to you guys.
Please fix them.

We can not modify the Registry database creation script since API Manager
would not capture the complete scenarios of G-Reg.

Thanks,
Janaka​


>
>
> [1] - DEFAULT CURRENT_TIMESTAMP
> [2] -
> http://stackoverflow.com/questions/168736/how-do-you-set-a-default-value-for-a-mysql-datetime-column
>
> Thanks,
> Thushara.
>
> On Tue, May 10, 2016 at 11:52 AM, Thilini Cooray 
> wrote:
>
>> Hi GReg team,
>>
>> We encounter following issue [1] while testing API Manager with MySQL 5.7
>> MySQL 5.7 has enabled NO_ZERO_IN_DATE, NO_ZERO_DATE policies by default.
>> Therefore it does not allow 0 as a valid default value for date/time.
>>
>> As a workaround we can set MySQL server to accept 0 changing the default
>> server settings if the database owner agrees on it.
>> [2] contains the related table creation script.
>>
>> Appreciate your feedback on a fix for this.
>>
>> [1] https://wso2.org/jira/browse/APIMANAGER-4645
>>
>> [2] CREATE TABLE IF NOT EXISTS REG_RESOURCE (
>> REG_PATH_ID INTEGER NOT NULL,
>> REG_NAMEVARCHAR(256),
>> REG_VERSION INTEGER NOT NULL AUTO_INCREMENT,
>> REG_MEDIA_TYPE  VARCHAR(500),
>> REG_CREATOR VARCHAR(31) NOT NULL,
>> REG_CREATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
>> REG_LAST_UPDATORVARCHAR(31),
>> REG_LAST_UPDATED_TIMETIMESTAMP NOT NULL *DEFAULT 0*,
>> REG_DESCRIPTION VARCHAR(1000),
>> REG_CONTENT_ID  INTEGER,
>> REG_TENANT_ID INTEGER DEFAULT 0,
>> REG_UUID VARCHAR(100) NOT NULL,
>> CONSTRAINT PK_REG_RESOURCE PRIMARY KEY(REG_VERSION,
>> REG_TENANT_ID)
>> )ENGINE INNODB;
>>
>> Thanks.
>>
>> --
>> Best Regards,
>>
>> *Thilini Cooray*
>> Software Engineer
>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>> E-mail : thili...@wso2.com
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks,
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; 
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *thusha...@wso2.com *
>



-- 
*Janaka Ranabahu*
Associate Technical Lead, WSO2 Inc.
http://wso2.com


*E-mail: jan...@wso2.com **M: **+94 718370861*

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


  1   2   >