Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-05-06 Thread Upul Bandara
+1 for maintaining a blog.

Regarding DL4J, no need to go very deep. Please familiar with its API and
you should be able to build common NN architectures such as fully connected
networks, convolution networks and recurrent networks using DL4J.

So try to build few models using publically available datasets such as
MNIST, CIFAR-10.

Regarding front-end development: Please do some research and find out few
libraries that we can use for building our drag & drop UI.

Thanks,
Upul

On Fri, May 6, 2016 at 10:14 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi all,
>
> I have gone through the Machine Learner source code[1][2].I am still
> reading DL4J and ND4J documentations.Do I need to understand and study the
> DL4J in deep?
> Do I need to maintain a blog about my GSoC project?
>
> Could you please give me further guidance and the next steps to follow?
>
> [1] https://github.com/wso2/carbon-ml
> [2] https://github.com/wso2/product-ml
>
> Thank you.
> Lakini Senanayaka.
>
> On Tue, May 3, 2016 at 2:30 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi all,
>>
>> Thank you very much.I will go through these links.
>>
>> On Tue, May 3, 2016 at 2:00 PM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Thank you for the response Supun.I thought I am out from the competition
>>> as no one replied  me at least for my first mail.
>>> Thank you so much.
>>>
>>> On Tue, May 3, 2016 at 9:43 AM, Supun Sethunga  wrote:
>>>
 Hi Lakini,

 Sorry for the delay in getting back to you. While you are reading about
 DL4J, you can setup your dev environment and get familiarized with the
 Machine Learner source code. For that, you can fork the following two
 repos [1] [2] and try to build from the source (when you do some code
 change to [1], you have to build the two repos in order). Implementations
 of the existing algorithms can be found at [3]. You can refer those to get
 an idea on the code conventions and the implementation patterns used.
 Please feel free o ask if you have any questions.

 Meantime, Upul will give you the steps on how to proceed with the
 project.

 [1] https://github.com/wso2/carbon-ml
 [2] https://github.com/wso2/product-ml
 [3]
 https://github.com/wso2/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.core/src/main/java/org/wso2/carbon/ml/core/spark/algorithms

 Regards,
 Supun

 On Mon, May 2, 2016 at 8:26 AM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> Thank you very much for accepting my project proposal and all the
> comments,feedback and help, you did to prepare a good proposal.
>
> I have started the project as in my project time line.
> These days I am reading DL4J concepts and it's documentation and
> started to learn Jaggery as it will be useful in front end development.As
> well as I have started learning REST APIs.
>
> I like to know WSO2 coding conventions and other information related
> to my project.I'm looking forward for further guidance.
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 http://wso2.com/
 lean | enterprise | middleware
 Mobile : +94 716546324

>>>
>>>
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>


-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] docs.wso2.com will not be accessible 2016/05/08:6:00 AM (LK Time)

2016-05-06 Thread Chamara Thilina
HI All,

Please refer $subject due to hardware upgrade and maximum down time will be
10 minutes.

Sorry for any inconvenience causing.

Regards,
ChamaraT

-- 
Chamara Thilina Samarakoon
Senior Systems Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94772929487
blog: http://mageconfig.blogspot.com/
linkedin: https://www.linkedin.com/pub/chamara-samarakoon
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 06/05/2016

2016-05-06 Thread Harsha Kumara
On Fri, May 6, 2016 at 11:23 PM, Harsha Kumara  wrote:

>
>
> On Fri, May 6, 2016 at 11:22 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi all,
>>
>> Please find APIM 2.0.0 SNAPSHOT nightly build here[1].
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/scratch/2016/apim-2.0.0/wso2am-2.0.0-SNAPSHOT-06-05-2016.zip
>>
>> 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
>> *
>>
>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



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


Re: [Dev] GSOC 2016 - Project 21 : Review Proposal

2016-05-06 Thread Asantha Thilina
Hi Tharindu,

i have done some coding in my user store ,does mongodb contain a
parameterized query mechanism such as prepared statements in sql?
i search through mongodb documentation and i didn't find any related idea
therefore i create my own class to do that job and i tested it with sample
data for all 4 CRUDS and it worked. my logic will be as follows,
first it will read the query as json input,
then as same as in prepared statement when function calling has to pass
what are the parameters as example i can define the template query as
follows
{'UM_USER_NAME': '?'}
then has to convert this query to DBObject and parse to find function with
parameters and respective collection name as follows
find("UM_USER",object,"test");
so that then in find function i mapping the corresponding parameter to
suitable query position but the problem in how would i  sanitize the user
input parameters to avoid security threats as in prepared statements? do i
have to write regular expressions or is their any other way of doing? is
sql injections kind of thing possible with mongodb if so how would i escape
it?
i would be thankful if you can review my code and give me a feedback
whether my logic is correct and also is there are a way to write schema in
mongodb like in sql?

all my works up to this is added to my repository in here [1]

[1]. https://github.com/asanthamax/mongodbuserstore

Thanks,
Asantha

On Thu, May 5, 2016 at 11:24 AM, Asantha Thilina 
wrote:

> -- Forwarded message --
> From: Asantha Thilina 
> Date: Mon, May 2, 2016 at 12:46 AM
> Subject: Re: [Dev] GSOC 2016 - Project 21 : Review Proposal
> To: Tharindu Edirisinghe , dev@wso2.org
>
>
> Hi Tharindu,
>
> as you adviced i started creating corresponding mongodb database structure
> for IS user store i done the user store database script and share it in
> here [1] and identity script still writing  before further progress on
> identity script i would be very thankful if i can get your comment about my
> user store script whether it correct or need to improve while i mapping
> mysql script to mongodb i faced on following issue
> MongoDB is not supporting to multikey hashed indexes according to their
> documentation in here [2] therefore i create one hash index per document
> which are need hash indexes
> for mapping foreign keys i used the manual way than db refs or embeded
> documents to avoid data repition for that i refer their documentation in
> here [3]
> For storage engine i used the default engine called wired tiger according
> to their documentation in here [4]
> waiting for your feedback about my works,
> [1].
> https://github.com/asanthamax/mongodbuserstore/blob/master/identity_server.js
> [2]. https://docs.mongodb.org/v3.0/tutorial/create-a-hashed-index/
> [3]. https://docs.mongodb.org/manual/reference/database-references/
> [4]. https://docs.mongodb.org/manual/core/wiredtiger/
>
> Thanks,
> Asantha
>
> On Sat, Apr 30, 2016 at 4:02 AM, Asantha Thilina  > wrote:
>
>> Hi Tharindu,
>>
>> thanks for the guidance sure i'll do that way and update you as i progress
>>
>> Thanks,
>> Asantha
>>
>> On Fri, Apr 29, 2016 at 10:00 PM, Tharindu Edirisinghe <
>> tharin...@wso2.com> wrote:
>>
>>> Hi Asantha,
>>>
>>> Great work ! Yes, you will have to manually create the database with the
>>> tables. Then once you create the userstore in Identity Server and point to
>>> the particular database, it should work properly.
>>>
>>> Then what you can do here is converting the relational db schema to
>>> collections in mongodb. You can refer the IS_5.1.0_HOME/dbscripts/ location
>>> where all the database scripts are stored. You need to look at only 2 sql
>>> files for the moment. They are the IS_5.1.0_HOME/dbscripts/mysql.sql and
>>> IS_5.1.0_HOME/dbscripts/identity/mysql.sql . Referring these two files, you
>>> can write 2 sql files for mongodb.
>>>
>>> Later we can do some modifications to automatically create the database
>>> (if the mongodb userstore is selected to be the PRIMARY userstore)
>>> referring the schema in above 2 files.
>>>
>>> Regards,
>>> TharinduE
>>>
>>> On Fri, Apr 29, 2016 at 10:22 PM, Asantha Thilina <
>>> asanthathil...@gmail.com> wrote:
>>>
 Hi Tharindu,

 Thanks for the instructions As you described in mail i followed all the
 steps and i  have been now able to see my new user store service is started
 and shown in IS as you suggested i have changed the username and password
 fields to mandatory and updated code i shared in here [1] after adding new
 mongodb user store under new user store section in IS it gives the success
 message but nothing showing at the user store list in admin console here i
 attached screenshots of my IS console ,would i need to create database with
 all the necessary tables to add new user store?

 [1]. https://github.com/asanthamax/mongodbuserstore

 Thanks,
 Asantha

 On Thu, Apr 28, 2016 at 7:48 PM, Asantha Thilina <
 asanthathil...@g

[Dev] Meeting minutes on GSoC Dockerfiles

2016-05-06 Thread Abhishek Tiwari
Hi all,

Here are the notes from our meeting on Integration test framework for
Dockerfiles GSoC project.
https://docs.google.com/document/d/1hxx4isNnCx7YQGbZpnsx-ToAD-Vze6s40tm43akWrMY/edit?usp=sharing


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


[Dev] APIM 2.0.0-SNAPSHOT Nightly build - 06/05/2016

2016-05-06 Thread Bhathiya Jayasekara
Hi all,

Please find APIM 2.0.0 SNAPSHOT nightly build here[1].

[1]
https://svn.wso2.org/repos/wso2/scratch/2016/apim-2.0.0/wso2am-2.0.0-SNAPSHOT-06-05-2016.zip

Thanks,

-- 
*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] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-06 Thread Willian Antunes
It's done.

Sorry for the missing headers. I edited the files from Developer Studio, it
erases the XML file to a new one every time you open it. So even when a
comment is inserted, the file will be erased again in the design view.

Thanks!

On Fri, May 6, 2016 at 2:16 PM, Malaka Silva  wrote:

> Hi Willian,
>
> Thank you for the fix and your contribution.
>
> I went through the fix. Added few comments.
>
> Please send the pr. We will review again and merge. Fix will be available
> via store afterwards.
>
>
>
> On Fri, May 6, 2016 at 5:19 PM, Willian Antunes <
> willian.lima.antu...@gmail.com> wrote:
>
>> Guys,
>>
>> I implemented a solution
>> 
>> for this issue.
>>
>> The details can be found here:
>> https://wso2.org/jira/browse/ESBCONNECT-92?focusedCommentId=119727&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-119727
>>
>> Can I submit a pull request?
>>
>> On Thu, Apr 28, 2016 at 12:39 PM, Willian Antunes <
>> willian.lima.antu...@gmail.com> wrote:
>>
>>> It's created: https://wso2.org/jira/browse/ESBCONNECT-92
>>>
>>> Thank you!
>>>
>>> On Thu, Apr 28, 2016 at 12:52 AM, Malaka Silva  wrote:
>>>
 Hi Willian,

 Please report the issue in [1]. Our team will follow it.

 [1] https://wso2.org/jira/browse/ESBCONNECT

 On Thu, Apr 28, 2016 at 12:44 AM, Willian Antunes <
 willian.lima.antu...@gmail.com> wrote:

> Hello community,
>
> I can connect smoothly using port 389 through LDAP Connector. There is
> no restrictions in a scenario where my route engine uses a non-secure 
> port,
> but as far as I can see the component does not support SSL connection (as
> informed in the links below). Is it true?
>
>- Component GitHub project
>
>- LDAP in WSO2 Store
>
> 
>
> If so do I need to open an issue in GitHub?
>
> Thank you!
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 
 https://store.wso2.com/store/

 Save a tree -Conserve nature & Save the world for your future. Print
 this email only if it is absolutely necessary.

>>>
>>>
>>>
>>> --
>>> Yours sincerely,
>>>
>>> Willian Antunes
>>>
>>
>>
>>
>> --
>> Yours sincerely,
>>
>> Willian Antunes
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
Atenciosamente,

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


Re: [Dev] GSOC 2016: Proposal 7

2016-05-06 Thread Dinanjana Gunaratne
[1]https://github.com/dinanjana/ESBMonitor

On Fri, May 6, 2016 at 10:42 PM, Dinanjana Gunaratne <
dinanjanagunara...@gmail.com> wrote:

> Hello all,
> I have started working on the project. You can have a look on what I am
> doing from this repo [1]. Currently I am implementing heap dump creator for
> this project. Can you explain me how currently heap dump analyzing take
> place with ESB OOM events ? In the current implementation of the flight
> recorder this method creates a .bin file with a snapshot of heap memory.
>
> On Sun, May 1, 2016 at 10:01 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hello all,
>> I have started working on the project. You can have a look on what i will
>> be doing on this [1]  repo.
>> Meanwhile let me know if there is any coding convention I must adhere to.
>> And I chose Jasper reports as the reporting frame work. Hope it is okay.
>> [1] https://github.com/dinanjana/ESBMonitor
>>
>> On Wed, Apr 27, 2016 at 8:07 AM, Dinanjana Gunaratne <
>> dinanjanagunara...@gmail.com> wrote:
>>
>>> Hi all,
>>> Thanks for accepting my project proposal. :) Thank you very much on
>>> helping me to prepare a good proposal. I am looking forward to get started
>>> with the project ASAP
>>>
>>> On Sat, Mar 26, 2016 at 12:16 PM, Isuru Udana  wrote:
>>>
 Hi Dinanjana,



 On Sat, Mar 26, 2016 at 8:31 AM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Hi Kasun,
> So shall I update the draft ? What do you think. I think the best
> approach is to make this a separate application. Otherwise it will anyways
> have an effect on the performance of ESB. Because this tool includes some
> serious IO operations
>
 Even though we built it as a separate application while we are taking
 thread-dumps, etc, can lead to a degrade in performance to a great extent,
 that's why we need to design it carefully.

 Thanks.

>
> On Sat, Mar 26, 2016 at 8:25 AM, Kasun Indrasiri 
> wrote:
>
>> It's fine. But just want to make sure this is added to the project
>> plan as we move forward.
>>
>> On Sat, Mar 26, 2016 at 8:01 AM, Dinanjana Gunaratne <
>> dinanjanagunara...@gmail.com> wrote:
>>
>>> Hi Kasun ,
>>> It's now I saw this mail. Can I do the change now ? I guess it's too
>>> late now. Anyway on your second point I have said that making flight
>>> recorder a separate application will stop applying any performance
>>> degradation on ESB. Anyway it would have been better if I have added the
>>> comparison.Can I do those changes now ?And i am really sorry for the 
>>> late
>>> reply.
>>>
>>> On Fri, Mar 25, 2016 at 11:54 PM, Kasun Indrasiri 
>>> wrote:
>>>
 Dinanjana, can you please include several use cases related to
 possible production issues in an ESB (such as out of memory, CPU 
 spinning,
 deadlock etc.). Also, running the ESB flight recorder should have 
 minimal
 impact on the ESB performance. Hence your proposal should include an 
 ESB
 performance comparison with and without flight recorder.

 The proposal looks good.

 Thanks,
 Kasun

 On Fri, Mar 25, 2016 at 6:37 PM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Hi Isuru ,
> Thanks for the input :)
>
> On Fri, Mar 25, 2016 at 6:37 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi Isuru ,
>> Thanks for the input :)
>>
>> On Fri, Mar 25, 2016 at 6:34 PM, Isuru Udana 
>> wrote:
>>
>>> Hi Dinanjana,
>>>
>>> Proposal looks really good to me. Added several comments as well.
>>>
>>> On Fri, Mar 25, 2016 at 8:21 AM, Dinanjana Gunaratne <
>>> dinanjanagunara...@gmail.com> wrote:
>>>
 Hello all,
 I submitted my proposal to gsoc site and shared the draft with
 WSO2 earlier this week. Any thoughts on my proposal ?

 On Sun, Mar 20, 2016 at 7:04 PM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Hi all,
> Can i have the location of source of carbondump tool ?
>
> On Wed, Mar 9, 2016 at 12:05 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi all,
>> I went through webinar and actually through the code of ESB.
>> I couldn't grasped much with the code though. Now I have a high 
>> level
>> understanding on what ESB does. I assumed that the esb is built 
>> on carbon
>> kernel. So we can have our monitoring service there inside the 
>>

Re: [Dev] GSOC 2016: Proposal 7

2016-05-06 Thread Dinanjana Gunaratne
Hello all,
I have started working on the project. You can have a look on what I am
doing from this repo [1]. Currently I am implementing heap dump creator for
this project. Can you explain me how currently heap dump analyzing take
place with ESB OOM events ? In the current implementation of the flight
recorder this method creates a .bin file with a snapshot of heap memory.

On Sun, May 1, 2016 at 10:01 PM, Dinanjana Gunaratne <
dinanjanagunara...@gmail.com> wrote:

> Hello all,
> I have started working on the project. You can have a look on what i will
> be doing on this [1]  repo.
> Meanwhile let me know if there is any coding convention I must adhere to.
> And I chose Jasper reports as the reporting frame work. Hope it is okay.
> [1] https://github.com/dinanjana/ESBMonitor
>
> On Wed, Apr 27, 2016 at 8:07 AM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi all,
>> Thanks for accepting my project proposal. :) Thank you very much on
>> helping me to prepare a good proposal. I am looking forward to get started
>> with the project ASAP
>>
>> On Sat, Mar 26, 2016 at 12:16 PM, Isuru Udana  wrote:
>>
>>> Hi Dinanjana,
>>>
>>>
>>>
>>> On Sat, Mar 26, 2016 at 8:31 AM, Dinanjana Gunaratne <
>>> dinanjanagunara...@gmail.com> wrote:
>>>
 Hi Kasun,
 So shall I update the draft ? What do you think. I think the best
 approach is to make this a separate application. Otherwise it will anyways
 have an effect on the performance of ESB. Because this tool includes some
 serious IO operations

>>> Even though we built it as a separate application while we are taking
>>> thread-dumps, etc, can lead to a degrade in performance to a great extent,
>>> that's why we need to design it carefully.
>>>
>>> Thanks.
>>>

 On Sat, Mar 26, 2016 at 8:25 AM, Kasun Indrasiri 
 wrote:

> It's fine. But just want to make sure this is added to the project
> plan as we move forward.
>
> On Sat, Mar 26, 2016 at 8:01 AM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi Kasun ,
>> It's now I saw this mail. Can I do the change now ? I guess it's too
>> late now. Anyway on your second point I have said that making flight
>> recorder a separate application will stop applying any performance
>> degradation on ESB. Anyway it would have been better if I have added the
>> comparison.Can I do those changes now ?And i am really sorry for the late
>> reply.
>>
>> On Fri, Mar 25, 2016 at 11:54 PM, Kasun Indrasiri 
>> wrote:
>>
>>> Dinanjana, can you please include several use cases related to
>>> possible production issues in an ESB (such as out of memory, CPU 
>>> spinning,
>>> deadlock etc.). Also, running the ESB flight recorder should have 
>>> minimal
>>> impact on the ESB performance. Hence your proposal should include an ESB
>>> performance comparison with and without flight recorder.
>>>
>>> The proposal looks good.
>>>
>>> Thanks,
>>> Kasun
>>>
>>> On Fri, Mar 25, 2016 at 6:37 PM, Dinanjana Gunaratne <
>>> dinanjanagunara...@gmail.com> wrote:
>>>
 Hi Isuru ,
 Thanks for the input :)

 On Fri, Mar 25, 2016 at 6:37 PM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Hi Isuru ,
> Thanks for the input :)
>
> On Fri, Mar 25, 2016 at 6:34 PM, Isuru Udana 
> wrote:
>
>> Hi Dinanjana,
>>
>> Proposal looks really good to me. Added several comments as well.
>>
>> On Fri, Mar 25, 2016 at 8:21 AM, Dinanjana Gunaratne <
>> dinanjanagunara...@gmail.com> wrote:
>>
>>> Hello all,
>>> I submitted my proposal to gsoc site and shared the draft with
>>> WSO2 earlier this week. Any thoughts on my proposal ?
>>>
>>> On Sun, Mar 20, 2016 at 7:04 PM, Dinanjana Gunaratne <
>>> dinanjanagunara...@gmail.com> wrote:
>>>
 Hi all,
 Can i have the location of source of carbondump tool ?

 On Wed, Mar 9, 2016 at 12:05 PM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Hi all,
> I went through webinar and actually through the code of ESB. I
> couldn't grasped much with the code though. Now I have a high 
> level
> understanding on what ESB does. I assumed that the esb is built 
> on carbon
> kernel. So we can have our monitoring service there inside the 
> carbon or
> else we can have a seperate microservice which can remotely 
> monitor the
> mbean server of the relevant JVM and extract metrics we require
>
> On Thu, Mar 3, 2016 at 5:35 PM, Isuru Ranawaka <
> is

Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-05-06 Thread Lakini Senanayaka
Hi all,

I have gone through the Machine Learner source code[1][2].I am still
reading DL4J and ND4J documentations.Do I need to understand and study the
DL4J in deep?
Do I need to maintain a blog about my GSoC project?

Could you please give me further guidance and the next steps to follow?

[1] https://github.com/wso2/carbon-ml
[2] https://github.com/wso2/product-ml

Thank you.
Lakini Senanayaka.

On Tue, May 3, 2016 at 2:30 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi all,
>
> Thank you very much.I will go through these links.
>
> On Tue, May 3, 2016 at 2:00 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Thank you for the response Supun.I thought I am out from the competition
>> as no one replied  me at least for my first mail.
>> Thank you so much.
>>
>> On Tue, May 3, 2016 at 9:43 AM, Supun Sethunga  wrote:
>>
>>> Hi Lakini,
>>>
>>> Sorry for the delay in getting back to you. While you are reading about
>>> DL4J, you can setup your dev environment and get familiarized with the
>>> Machine Learner source code. For that, you can fork the following two
>>> repos [1] [2] and try to build from the source (when you do some code
>>> change to [1], you have to build the two repos in order). Implementations
>>> of the existing algorithms can be found at [3]. You can refer those to get
>>> an idea on the code conventions and the implementation patterns used.
>>> Please feel free o ask if you have any questions.
>>>
>>> Meantime, Upul will give you the steps on how to proceed with the
>>> project.
>>>
>>> [1] https://github.com/wso2/carbon-ml
>>> [2] https://github.com/wso2/product-ml
>>> [3]
>>> https://github.com/wso2/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.core/src/main/java/org/wso2/carbon/ml/core/spark/algorithms
>>>
>>> Regards,
>>> Supun
>>>
>>> On Mon, May 2, 2016 at 8:26 AM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Hi,

 Thank you very much for accepting my project proposal and all the
 comments,feedback and help, you did to prepare a good proposal.

 I have started the project as in my project time line.
 These days I am reading DL4J concepts and it's documentation and
 started to learn Jaggery as it will be useful in front end development.As
 well as I have started learning REST APIs.

 I like to know WSO2 coding conventions and other information related to
 my project.I'm looking forward for further guidance.


 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


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


>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> http://wso2.com/
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding new Project Natures to Developer Studio vie extension point

2016-05-06 Thread Awanthika Senarath
- Engineering
[removing Engineering]

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, May 6, 2016 at 1:55 PM, Awanthika Senarath 
wrote:

> Hello all,
>
> We have facilitated adding of new project natures to developer studio via
> an extension point without manipulating developer studio kernel source code.
>
>
> You can add your new project natures as below,
>
>
>point="org.wso2.developerstudio.project.nature.provider">
>  id="org.wso2.developerstudio.eclipse.maven.features"
>
>  projectnature="org.wso2.developerstudio.eclipse.maven.project.nature"
>  ismultipleartifact="true"
>  iscappsupported="false">
>  
> 
>
> [1] associated JIRA : https://wso2.org/jira/browse/TOOLS-3403
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-06 Thread Malaka Silva
Hi Willian,

Thank you for the fix and your contribution.

I went through the fix. Added few comments.

Please send the pr. We will review again and merge. Fix will be available
via store afterwards.



On Fri, May 6, 2016 at 5:19 PM, Willian Antunes <
willian.lima.antu...@gmail.com> wrote:

> Guys,
>
> I implemented a solution
> 
> for this issue.
>
> The details can be found here:
> https://wso2.org/jira/browse/ESBCONNECT-92?focusedCommentId=119727&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-119727
>
> Can I submit a pull request?
>
> On Thu, Apr 28, 2016 at 12:39 PM, Willian Antunes <
> willian.lima.antu...@gmail.com> wrote:
>
>> It's created: https://wso2.org/jira/browse/ESBCONNECT-92
>>
>> Thank you!
>>
>> On Thu, Apr 28, 2016 at 12:52 AM, Malaka Silva  wrote:
>>
>>> Hi Willian,
>>>
>>> Please report the issue in [1]. Our team will follow it.
>>>
>>> [1] https://wso2.org/jira/browse/ESBCONNECT
>>>
>>> On Thu, Apr 28, 2016 at 12:44 AM, Willian Antunes <
>>> willian.lima.antu...@gmail.com> wrote:
>>>
 Hello community,

 I can connect smoothly using port 389 through LDAP Connector. There is
 no restrictions in a scenario where my route engine uses a non-secure port,
 but as far as I can see the component does not support SSL connection (as
 informed in the links below). Is it true?

- Component GitHub project

- LDAP in WSO2 Store

 

 If so do I need to open an issue in GitHub?

 Thank you!

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


>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>>
>> --
>> Yours sincerely,
>>
>> Willian Antunes
>>
>
>
>
> --
> Yours sincerely,
>
> Willian Antunes
>



-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-06 Thread Willian Antunes
Guys,

I implemented a solution

for this issue.

The details can be found here:
https://wso2.org/jira/browse/ESBCONNECT-92?focusedCommentId=119727&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-119727

Can I submit a pull request?

On Thu, Apr 28, 2016 at 12:39 PM, Willian Antunes <
willian.lima.antu...@gmail.com> wrote:

> It's created: https://wso2.org/jira/browse/ESBCONNECT-92
>
> Thank you!
>
> On Thu, Apr 28, 2016 at 12:52 AM, Malaka Silva  wrote:
>
>> Hi Willian,
>>
>> Please report the issue in [1]. Our team will follow it.
>>
>> [1] https://wso2.org/jira/browse/ESBCONNECT
>>
>> On Thu, Apr 28, 2016 at 12:44 AM, Willian Antunes <
>> willian.lima.antu...@gmail.com> wrote:
>>
>>> Hello community,
>>>
>>> I can connect smoothly using port 389 through LDAP Connector. There is
>>> no restrictions in a scenario where my route engine uses a non-secure port,
>>> but as far as I can see the component does not support SSL connection (as
>>> informed in the links below). Is it true?
>>>
>>>- Component GitHub project
>>>
>>>- LDAP in WSO2 Store
>>>
>>> 
>>>
>>> If so do I need to open an issue in GitHub?
>>>
>>> Thank you!
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
> Yours sincerely,
>
> Willian Antunes
>



-- 
Yours sincerely,

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


[Dev] WSO2 Dockerfiles 1.1.0 Released!

2016-05-06 Thread Vishanth Balasubramaniam
WSO2 PaaS team is pleased to announce the release of *WSO2 *
*Dockerfiles 1.1.0.*

WSO2 Dockerfiles 1.1.0 is the successor of 1.0.0. The main changes for this
release:


   -

   An option flag in build script to skip confirmation for image overwriting
   -

   An option flag in build script to provide platform as an argument to
   build
   -

   An option flag in build script to tag name param in the build script
   -

   Fixing ‘IP command not found’ issue in puppet provisioning
   -

   Fixing ‘IP command not found’ issue by adding iproute2 to apt-get install
   -

   Added a root build script to build all docker images with default
   provisioning
   -

   Added a script to clean all the docker images built with default
   provisioning
   -

   Export CARBON_HOME before calling the profile init script
   -

   Option to prompt container logs in docker run script
   -

   Pick port between 8000 - 8010 for the http server
   - Corrected container_id variable name


Release artifacts:

https://github.com/wso2/dockerfiles/releases/tag/v1.1.0


Documentation:

https://docs.wso2.com/display/DF110/WSO2+Dockerfiles+Documentation


Known Issues:

https://github.com/wso2/dockerfiles/issues



Thank you,
Vishanth on behalf of WSO2 PaaS Team.

-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94 77 17 377 18*
about me: *http://about.me/vishanth *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Dockerfiles 1.1.0 RC1

2016-05-06 Thread Vishanth Balasubramaniam
Hi,

Thank you for taking your time to test and verify WSO2 Dockerfiles
 1.1.0 RC1.

The vote is been closed now. The vote passes with 8 'stable' votes and no
votes for 'broken'.
It will now be prepared for the release of WSO2 Dockerfiles 1.1.0.

Regards,
Vishanth

On Fri, May 6, 2016 at 2:58 PM, Akila Ravihansa Perera 
wrote:

> [x] Stable - Go ahead and release.
>
> Verified the following with Docker images built via WSO2 Dockerfiles;
> - WSO2 IS 5.1.0 on Kubernetes
> - WSO2 APIM 1.10.0 on Kubernetes
>
>
> On Mon, May 2, 2016 at 5:42 PM, Vishanth Balasubramaniam <
> vishan...@wso2.com> wrote:
>
>> Hi Devs,
>>
>>
>> This is the first release candidate (RC1) of WSO2 Dockerfiles 1.1.0
>> release.
>>
>> Tag to be voted upon:
>>
>> https://github.com/wso2/dockerfiles/tree/v1.1.0-rc1
>>
>> Source and distribution packages:
>>
>> https://github.com/wso2/dockerfiles/releases/tag/v1.1.0-rc1
>>
>> Please download, test, and vote. The README file under the distribution
>> contains guide and instructions on how to try it out locally.
>>
>> [ ] Broken - Do not release (explain why)
>>
>> [ ] Stable - Go ahead and release
>>
>> This vote will be open for 72 hours or as needed.
>>
>> Regards,
>> Vishanth
>> --
>> *Vishanth Balasubramaniam*
>> Committer & PMC Member, Apache Stratos,
>> Software Engineer, WSO2 Inc.; http://wso2.com
>>
>> mobile: *+94 77 17 377 18*
>> about me: *http://about.me/vishanth *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94 77 17 377 18*
about me: *http://about.me/vishanth *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM Automations tests are disabled

2016-05-06 Thread Aparna Karunarathna
Observed duplicate automation test cases [1] [2].

[1]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/APIInvocationFailureTestCase.java

[2]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/token/InvalidTokenTestCase.java

Regards,
Aparna.


On Tue, May 3, 2016 at 9:46 AM, Nuwan Dias  wrote:

>
>
> On Mon, May 2, 2016 at 10:44 PM, Aparna Karunarathna 
> wrote:
>
>> Hi Nuwan,
>>
>> We have seen a lot of discrepancies in the automation test, so it would
>> be good if you guys can fix those before the release.
>>
>
> If you can report whatever discrepancies you encounter that would be easy
> for us to fix. Yes, we need to fix them, but its always a battle between
> time and priorities. Right now we won't be putting a lot of focused effort
> on validating ~500 test cases because in a few months time we anyway have
> to re-write these tests to be on top of C5.
>
>>
>> Regards,
>> Aparna
>>
>> On Mon, May 2, 2016 at 6:36 PM, Nuwan Dias  wrote:
>>
>>> Not sure why this was disabled. Maybe its because it uses the deprecated
>>> YouTube API (it no longer works). These are very old tests coming even
>>> before the wso2-dev repo days. So can't recall its entire history.
>>>
>>> However, there is a new test case called CopyNewVersionTestCase that
>>> covers this scenario. So we haven't lost on coverage by disabling it.
>>>
>>> We have ~500 tests in the product now. And some of these are pretty old.
>>> Yes, we need to refine and remove obsolete ones and we do that as we
>>> encounter them. We will do this refining as priorities allow us to.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Mon, May 2, 2016 at 5:59 PM, Dharshana Warusavitharana <
>>> dharsha...@wso2.com> wrote:
>>>
 Hi APIM team,

 Please add comments when you are disabling tests like this. Or remove
 test completely if they are obsolete please remove them from the suite.
 And i see invalid test method description here.

 Please fix these ASAP.

 Thank you,
 Dharshana.

 On Mon, May 2, 2016 at 5:19 PM, Yasassri Ratnayake 
 wrote:

> Hi APIM Team,
>
> Observed the following test case at [1]. As shown below most test
> mrethods are disabled except for 2  in this test class and I couldn't find
> any comment explaining why these tests were disabled. Can we look into
> these and get them enabled?
>
>
> @Test(groups = {"wso2.am"}, description = "API visibility", enabled =
> false)
> public void copyAPILifeCycleTestCase() throws Exception {
>
>
> [1] -
> https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/APIApplicationLifeCycleTestCase.java#L363
>
>
> With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blogs : http://yasassriratnayake.blogspot.com
> *
> *http://wso2logs.blogspot.com
> *
>



 --

 Dharshana Warusavitharana
 Senior Software Engineer , Test Automation
 WSO2 Inc. http://wso2.com
 email : dharsha...@wso2.com 
 Tel  : +94 11 214 5345
 Fax :+94 11 2145300
 cell : +94770342233
 blog : http://dharshanaw.blogspot.com

 lean . enterprise . middleware

>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Technical Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> *Regards,*
>>
>> *Aparna Karunarathna.*
>>
>>
>> *Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>
>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
*Regards,*

*Aparna Karunarathna.*


*Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC] [ES] Cannot retrieve feature details of searchHistory error after moving to latest store version

2016-05-06 Thread Denuwanthi De Silva
Hi Waruna,

Can you specify the store and registry versions you are using?
We have introduced new element
"searchHistory": {
"enabled": true,
"keys": {
"maxCount": 5
}
}

to store-tenant.json in carbon-store [1].
If that element is not present the above mentioned error will occur when
try to log in to the store.
You can check whether this element is present in your set up by visiting
management console and browse to '/_system/config/store/configs/store.json'
file and check for the above element.

[1]
https://github.com/wso2/carbon-store/blob/master/apps/store/config/store-tenant.json#L17-22

Thanks

On Fri, May 6, 2016 at 3:14 PM, Waruna Jayaweera  wrote:

> Hi,
> We are following getting error and warnings[1] after moving to latest
> registry and store versions. Every time we browse process( asset) in the
> store, following warnings and errors can be seen. I found a similar issue
> in [2].
> Appreciate any help on how to solve this.
>
> [1]
> [2016-05-06 14:20:25,936] ERROR {app-core} -  Cannot retrieve feature
>  details of searchHistory as it does not exist in the feature block.
> [2016-05-06 14:20:25,937]  WARN {app-core} -  Could not locate feature
> details of : searchHistory.The feature will be assumed to be disabled.
> [2016-05-06 14:21:00,343] ERROR {app-core} -  Cannot retrieve feature
>  details of searchHistory as it does not exist in the feature block.
> [2016-05-06 14:21:00,345]  WARN {app-core} -  Could not locate feature
> details of : searchHistory.The feature will be assumed to be disabled.
> [2016-05-06 14:21:12,158] ERROR {app-core} -  Cannot retrieve feature
>  details of searchHistory as it does not exist in the feature block.
> [2016-05-06 14:21:12,160]  WARN {app-core} -  Could not locate feature
> details of : searchHistory.The feature will be assumed to be disabled.
> [2016-05-06 14:21:13,015] ERROR {app-core} -  Cannot retrieve feature
>  details of searchHistory as it does not exist in the feature block.
> [2016-05-06 14:21:13,016]  WARN {app-core} -  Could not locate feature
> details of : searchHistory.The feature will be assumed to be disabled.
> [2016-05-06 14:51:36,447] ERROR {app-core} -  Cannot retrieve feature
>  details of searchHistory as it does not exist in the feature block.
> [2016-05-06 14:51:36,448]  WARN {app-core} -  Could not locate feature
> details of : searchHistory.The feature will be assumed to be disabled.
>
> [2] https://wso2.org/jira/browse/REGISTRY-3528
>
>
> Thanks,
> Waruna
> --
> Regards,
>
> Waruna Lakshitha Jayaweera
> Software Engineer
> WSO2 Inc; http://wso2.com
> phone: +94713255198
>



-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deployment notifier Error at startup

2016-05-06 Thread Nandika Jayawardana
Hi Kasun,

Thanks for the PR.

Regards
Nandika

On Fri, May 6, 2016 at 3:17 PM, KasunG Gajasinghe  wrote:

>
> This has happened because of the changes in dependencies in
> carbon-deployment. I have locally tested product-bps with correct
> dependencies, and it works with that. I have sent a PR to product-bps. [1]
>
> [1] https://github.com/wso2/product-bps/pull/119
>
> On Fri, May 6, 2016 at 1:37 PM, KasunG Gajasinghe  wrote:
>
>> Hi Nandika,
>>
>> Sorry for the late update, just noticed the issue. We add the
>> commons-pool via the notifier feature. So, the notifier component should be
>> able to see this class. Can you provide with a pack to re-produce this
>> issue?
>>
>> On Fri, May 6, 2016 at 12:33 PM, Nandika Jayawardana 
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> Any update on this.
>>>
>>> Regards
>>> Nandika
>>>
>>> On Wed, May 4, 2016 at 11:24 AM, Nandika Jayawardana 
>>> wrote:
>>>
 Hi Kasun,

 Getting the following error from deployment notifier component.

   ERROR {org.eclipse.equinox.ds} - [SCR] Exception while activating
 instance
 org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent@78c815f5
 of component DeploymentNotifierListenerComponent
  java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:497)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
 at
 org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
 at
 org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
 at
 org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
 at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
 at
 org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
 Caused by: java.lang.NoClassDefFoundError:
 org/apache/commons/pool/PoolableObjectFactory
 at
 org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.getConnectionFactory(DeploymentNotifierLifecycleListener.java:152)
 at
 org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.(DeploymentNotifierLifecycleListener.java:65)
 at
 org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent.start(DeploymentNotifierListenerComponent.java:53)
 ... 15 more
 Caused by: java.lang.ClassNotFoundException:
 org.apache.commons.pool.PoolableObjectFactory cannot be found by
 org.wso2.carbon.deployment.notifier_5.0.0.SNAPSHOT
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
 at
 org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 18 more


 Regards
 Nandika
 --
 Nandika Jayawardana
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

>>>
>>>
>>>
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>>
>> *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
>>
>>
>>
>
>
>
> --
>
> *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
>
>
>



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


Re: [Dev] Deployment notifier Error at startup

2016-05-06 Thread KasunG Gajasinghe
This has happened because of the changes in dependencies in
carbon-deployment. I have locally tested product-bps with correct
dependencies, and it works with that. I have sent a PR to product-bps. [1]

[1] https://github.com/wso2/product-bps/pull/119

On Fri, May 6, 2016 at 1:37 PM, KasunG Gajasinghe  wrote:

> Hi Nandika,
>
> Sorry for the late update, just noticed the issue. We add the commons-pool
> via the notifier feature. So, the notifier component should be able to see
> this class. Can you provide with a pack to re-produce this issue?
>
> On Fri, May 6, 2016 at 12:33 PM, Nandika Jayawardana 
> wrote:
>
>> Hi Kasun,
>>
>> Any update on this.
>>
>> Regards
>> Nandika
>>
>> On Wed, May 4, 2016 at 11:24 AM, Nandika Jayawardana 
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> Getting the following error from deployment notifier component.
>>>
>>>   ERROR {org.eclipse.equinox.ds} - [SCR] Exception while activating
>>> instance
>>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent@78c815f5
>>> of component DeploymentNotifierListenerComponent
>>>  java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:497)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
>>> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
>>> Caused by: java.lang.NoClassDefFoundError:
>>> org/apache/commons/pool/PoolableObjectFactory
>>> at
>>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.getConnectionFactory(DeploymentNotifierLifecycleListener.java:152)
>>> at
>>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.(DeploymentNotifierLifecycleListener.java:65)
>>> at
>>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent.start(DeploymentNotifierListenerComponent.java:53)
>>> ... 15 more
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.commons.pool.PoolableObjectFactory cannot be found by
>>> org.wso2.carbon.deployment.notifier_5.0.0.SNAPSHOT
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>>> at
>>> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> ... 18 more
>>>
>>>
>>> Regards
>>> Nandika
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
>
> *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
>
>
>



-- 

*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


[Dev] [PC] [ES] Cannot retrieve feature details of searchHistory error after moving to latest store version

2016-05-06 Thread Waruna Jayaweera
Hi,
We are following getting error and warnings[1] after moving to latest
registry and store versions. Every time we browse process( asset) in the
store, following warnings and errors can be seen. I found a similar issue
in [2].
Appreciate any help on how to solve this.

[1]
[2016-05-06 14:20:25,936] ERROR {app-core} -  Cannot retrieve feature
 details of searchHistory as it does not exist in the feature block.
[2016-05-06 14:20:25,937]  WARN {app-core} -  Could not locate feature
details of : searchHistory.The feature will be assumed to be disabled.
[2016-05-06 14:21:00,343] ERROR {app-core} -  Cannot retrieve feature
 details of searchHistory as it does not exist in the feature block.
[2016-05-06 14:21:00,345]  WARN {app-core} -  Could not locate feature
details of : searchHistory.The feature will be assumed to be disabled.
[2016-05-06 14:21:12,158] ERROR {app-core} -  Cannot retrieve feature
 details of searchHistory as it does not exist in the feature block.
[2016-05-06 14:21:12,160]  WARN {app-core} -  Could not locate feature
details of : searchHistory.The feature will be assumed to be disabled.
[2016-05-06 14:21:13,015] ERROR {app-core} -  Cannot retrieve feature
 details of searchHistory as it does not exist in the feature block.
[2016-05-06 14:21:13,016]  WARN {app-core} -  Could not locate feature
details of : searchHistory.The feature will be assumed to be disabled.
[2016-05-06 14:51:36,447] ERROR {app-core} -  Cannot retrieve feature
 details of searchHistory as it does not exist in the feature block.
[2016-05-06 14:51:36,448]  WARN {app-core} -  Could not locate feature
details of : searchHistory.The feature will be assumed to be disabled.

[2] https://wso2.org/jira/browse/REGISTRY-3528


Thanks,
Waruna
-- 
Regards,

Waruna Lakshitha Jayaweera
Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Dockerfiles 1.1.0 RC1

2016-05-06 Thread Akila Ravihansa Perera
[x] Stable - Go ahead and release.

Verified the following with Docker images built via WSO2 Dockerfiles;
- WSO2 IS 5.1.0 on Kubernetes
- WSO2 APIM 1.10.0 on Kubernetes


On Mon, May 2, 2016 at 5:42 PM, Vishanth Balasubramaniam  wrote:

> Hi Devs,
>
>
> This is the first release candidate (RC1) of WSO2 Dockerfiles 1.1.0
> release.
>
> Tag to be voted upon:
>
> https://github.com/wso2/dockerfiles/tree/v1.1.0-rc1
>
> Source and distribution packages:
>
> https://github.com/wso2/dockerfiles/releases/tag/v1.1.0-rc1
>
> Please download, test, and vote. The README file under the distribution
> contains guide and instructions on how to try it out locally.
>
> [ ] Broken - Do not release (explain why)
>
> [ ] Stable - Go ahead and release
>
> This vote will be open for 72 hours or as needed.
>
> Regards,
> Vishanth
> --
> *Vishanth Balasubramaniam*
> Committer & PMC Member, Apache Stratos,
> Software Engineer, WSO2 Inc.; http://wso2.com
>
> mobile: *+94 77 17 377 18*
> about me: *http://about.me/vishanth *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

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


Re: [Dev] [VOTE] Release WSO2 Dockerfiles 1.1.0 RC1

2016-05-06 Thread Irham Iqbal
[x] Stable - Go ahead and release. I worked with the following without any
problems:

   - wso2as
   - wso2esb


On Fri, May 6, 2016 at 1:56 PM, Dimuthu De Lanerolle 
wrote:

> [x] Stable- Go ahead and release
>
> Worked and tested with building docker images for AS & ESB with default
> provisioning.
>
> Regards
>
> On Fri, May 6, 2016 at 12:02 PM, Imesh Gunaratne  wrote:
>
>> [x] Stable - Go ahead and release. I verified following and did not see
>> any problems:
>>
>>- Distributions
>>- License headers using Apache Rat tool
>>- Docker images were built using default provisioning and smoke
>>tested:
>>   - API-M, AS, BPS, BRS, CEP, DAS, DSS, ES, ESB, G-REG, IS & MB
>>- Docker images were built using Puppet provisioning and tested on
>>Kubernetes
>>   - API-M and ESB (distributed)
>>
>> Thanks
>>
>> On Mon, May 2, 2016 at 5:42 PM, Vishanth Balasubramaniam <
>> vishan...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>>
>>> This is the first release candidate (RC1) of WSO2 Dockerfiles 1.1.0
>>> release.
>>>
>>> Tag to be voted upon:
>>>
>>> https://github.com/wso2/dockerfiles/tree/v1.1.0-rc1
>>>
>>> Source and distribution packages:
>>>
>>> https://github.com/wso2/dockerfiles/releases/tag/v1.1.0-rc1
>>>
>>> Please download, test, and vote. The README file under the distribution
>>> contains guide and instructions on how to try it out locally.
>>>
>>> [ ] Broken - Do not release (explain why)
>>>
>>> [ ] Stable - Go ahead and release
>>>
>>> This vote will be open for 72 hours or as needed.
>>>
>>> Regards,
>>> Vishanth
>>> --
>>> *Vishanth Balasubramaniam*
>>> Committer & PMC Member, Apache Stratos,
>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>>
>>> mobile: *+94 77 17 377 18*
>>> about me: *http://about.me/vishanth *
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
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] [VOTE] Release WSO2 Dockerfiles 1.1.0 RC1

2016-05-06 Thread Dimuthu De Lanerolle
[x] Stable- Go ahead and release

Worked and tested with building docker images for AS & ESB with default
provisioning.

Regards

On Fri, May 6, 2016 at 12:02 PM, Imesh Gunaratne  wrote:

> [x] Stable - Go ahead and release. I verified following and did not see
> any problems:
>
>- Distributions
>- License headers using Apache Rat tool
>- Docker images were built using default provisioning and smoke tested:
>   - API-M, AS, BPS, BRS, CEP, DAS, DSS, ES, ESB, G-REG, IS & MB
>- Docker images were built using Puppet provisioning and tested on
>Kubernetes
>   - API-M and ESB (distributed)
>
> Thanks
>
> On Mon, May 2, 2016 at 5:42 PM, Vishanth Balasubramaniam <
> vishan...@wso2.com> wrote:
>
>> Hi Devs,
>>
>>
>> This is the first release candidate (RC1) of WSO2 Dockerfiles 1.1.0
>> release.
>>
>> Tag to be voted upon:
>>
>> https://github.com/wso2/dockerfiles/tree/v1.1.0-rc1
>>
>> Source and distribution packages:
>>
>> https://github.com/wso2/dockerfiles/releases/tag/v1.1.0-rc1
>>
>> Please download, test, and vote. The README file under the distribution
>> contains guide and instructions on how to try it out locally.
>>
>> [ ] Broken - Do not release (explain why)
>>
>> [ ] Stable - Go ahead and release
>>
>> This vote will be open for 72 hours or as needed.
>>
>> Regards,
>> Vishanth
>> --
>> *Vishanth Balasubramaniam*
>> Committer & PMC Member, Apache Stratos,
>> Software Engineer, WSO2 Inc.; http://wso2.com
>>
>> mobile: *+94 77 17 377 18*
>> about me: *http://about.me/vishanth *
>>
>> ___
>> 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
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Adding new Project Natures to Developer Studio vie extension point

2016-05-06 Thread Awanthika Senarath
Hello all,

We have facilitated adding of new project natures to developer studio via
an extension point without manipulating developer studio kernel source code.


You can add your new project natures as below,



   
 


[1] associated JIRA : https://wso2.org/jira/browse/TOOLS-3403


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deployment notifier Error at startup

2016-05-06 Thread KasunG Gajasinghe
Hi Nandika,

Sorry for the late update, just noticed the issue. We add the commons-pool
via the notifier feature. So, the notifier component should be able to see
this class. Can you provide with a pack to re-produce this issue?

On Fri, May 6, 2016 at 12:33 PM, Nandika Jayawardana 
wrote:

> Hi Kasun,
>
> Any update on this.
>
> Regards
> Nandika
>
> On Wed, May 4, 2016 at 11:24 AM, Nandika Jayawardana 
> wrote:
>
>> Hi Kasun,
>>
>> Getting the following error from deployment notifier component.
>>
>>   ERROR {org.eclipse.equinox.ds} - [SCR] Exception while activating
>> instance
>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent@78c815f5
>> of component DeploymentNotifierListenerComponent
>>  java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:497)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
>> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
>> at
>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/commons/pool/PoolableObjectFactory
>> at
>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.getConnectionFactory(DeploymentNotifierLifecycleListener.java:152)
>> at
>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.(DeploymentNotifierLifecycleListener.java:65)
>> at
>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent.start(DeploymentNotifierListenerComponent.java:53)
>> ... 15 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.commons.pool.PoolableObjectFactory cannot be found by
>> org.wso2.carbon.deployment.notifier_5.0.0.SNAPSHOT
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>> at
>> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> ... 18 more
>>
>>
>> Regards
>> Nandika
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 

*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] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Isuru Perera
Hi Sameera,

Thanks for confirming!

So, the products also should not try to implement this feature. (This is
what I wanted to confirm. Not just implementing -Dsetup support in C5).

On Fri, May 6, 2016 at 1:24 PM, Sameera Jayasoma  wrote:

> Hi Isuru,
>
> As I've explained earlier. We will not implement -Dsetup support in C5.
>
> Thanks,
> Sameera.
>
> On Fri, May 6, 2016 at 1:11 PM, Isuru Perera  wrote:
>
>> Yes. -Dsetup is easier, but let's avoid setting up database from the
>> server. In Wiki, we can give instructions on setting up databases for each
>> vendor.
>>
>> Carbon Team, could you please let us know your conclusion on this?
>>
>> On Wed, May 4, 2016 at 4:55 PM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Sagara,
>>>
>>> On Fri, Apr 29, 2016 at 5:31 PM, Sagara Gunathunga 
>>> wrote:
>>>


 On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera  wrote:

> Hi Sameera,
>
> As Thilini mentioned, most of the products need a database to keep
> data. With -Dsetup we could execute scripts based on the vendor. We need
> some way of setting up the database in C5 as well.
>
> I'm sorry I couldn't create a JIRA for $subject yet.
>
> In C5, what is the recommended way to setup a database (by creating
> required tables) for a WSO2 product?
>
> On Fri, Apr 29, 2016 at 3:45 PM, Thilini Cooray 
> wrote:
>
>> Hi,
>>
>> In many of our carbon 4.x.x based products, we use -Dsetup option
>> allowing users to create databases on their preferred vendor (instead of
>> our inbuilt H2 database).
>> Without this option, users will have to run database scripts against
>> each of the databases by themselves prior to server startup.
>>
>> Therefor I think it is a useful option to have in C5.
>>
>
  I'm -1 to include this option into C5 products due to following
 reasons.

 1.) This option available with C4 product is just a demoware only,
 nobody use this option to populate databases in production systems.
 Recommended practise for production environments is  DB admin/team populate
 databases manually and create user with limited privileges so that
 applications use this limited-privileged user to access the database
 server.

>>>
 2.) In production systems, those admin rights are not anyway assign to
 generic users hence not usable feature even if we include this option it
 will use for demos only. Also previously we found some lazy practises where
 developer assumed DB user always got admin rights and try to perform DB
 admin tasks through our Java codes[1].

 3.) Having this option in production systems increase security risks.

>>> Fully agreed that this should not be the recommended method for creating
>>> DB tables in production environments. However IMHO the ease of trying
>>> out/demonstrating is very important.
>>>
>>> As an example scenario, we are focusing more and more on making wso2
>>> products container friendly and easy to try out. A user trying out a
>>> distributed deployment deployment on a containerized environment (docker,
>>> kubernetes, etc.) will expect to deploy it with minimal steps: start a
>>> mysql container and start the products pointing to the mysql container. If
>>> a method similar to -Dsetup is available, it will make the life of the user
>>> much easier, rather than having to run the DB scripts manually.
>>>
>>>
>>> [1] - "TrustedIdPDBInitializer Class should not create any tables,
>>> indexes when -Dsetup is not given"
>>>
>>>
>>> Thanks !
>>>

> Thanks.
>
> On Fri, Apr 29, 2016 at 3:24 PM, Sameera Jayasoma 
> wrote:
>
>> Hi Isuru,
>>
>> Can you explain the need to have a -Dsetup option? Can we simply
>> remove this in C5?
>>
>> Thanks,
>> Sameera.
>>
>>
>> On Fri, Mar 25, 2016 at 1:45 PM, Isuru Perera 
>> wrote:
>>
>>> Hi,
>>>
>>> In Carbon 4.x.x, we extend [1]
>>> org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the 
>>> same
>>> in Carbon 5?
>>>
>>> Thanks!
>>>
>>> [1]
>>> https://github.com/search?l=&q=DatabaseCreator++user%3Awso2&ref=advsearch&type=Code&utf8=%E2%9C%93
>>> [2]
>>> https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Sameera Jayasoma
Hi Isuru,

As I've explained earlier. We will not implement -Dsetup support in C5.

Thanks,
Sameera.

On Fri, May 6, 2016 at 1:11 PM, Isuru Perera  wrote:

> Yes. -Dsetup is easier, but let's avoid setting up database from the
> server. In Wiki, we can give instructions on setting up databases for each
> vendor.
>
> Carbon Team, could you please let us know your conclusion on this?
>
> On Wed, May 4, 2016 at 4:55 PM, Isuru Haththotuwa  wrote:
>
>> Hi Sagara,
>>
>> On Fri, Apr 29, 2016 at 5:31 PM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>>
>>> On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera  wrote:
>>>
 Hi Sameera,

 As Thilini mentioned, most of the products need a database to keep
 data. With -Dsetup we could execute scripts based on the vendor. We need
 some way of setting up the database in C5 as well.

 I'm sorry I couldn't create a JIRA for $subject yet.

 In C5, what is the recommended way to setup a database (by creating
 required tables) for a WSO2 product?

 On Fri, Apr 29, 2016 at 3:45 PM, Thilini Cooray 
 wrote:

> Hi,
>
> In many of our carbon 4.x.x based products, we use -Dsetup option
> allowing users to create databases on their preferred vendor (instead of
> our inbuilt H2 database).
> Without this option, users will have to run database scripts against
> each of the databases by themselves prior to server startup.
>
> Therefor I think it is a useful option to have in C5.
>

>>>  I'm -1 to include this option into C5 products due to following
>>> reasons.
>>>
>>> 1.) This option available with C4 product is just a demoware only,
>>> nobody use this option to populate databases in production systems.
>>> Recommended practise for production environments is  DB admin/team populate
>>> databases manually and create user with limited privileges so that
>>> applications use this limited-privileged user to access the database
>>> server.
>>>
>>
>>> 2.) In production systems, those admin rights are not anyway assign to
>>> generic users hence not usable feature even if we include this option it
>>> will use for demos only. Also previously we found some lazy practises where
>>> developer assumed DB user always got admin rights and try to perform DB
>>> admin tasks through our Java codes[1].
>>>
>>> 3.) Having this option in production systems increase security risks.
>>>
>> Fully agreed that this should not be the recommended method for creating
>> DB tables in production environments. However IMHO the ease of trying
>> out/demonstrating is very important.
>>
>> As an example scenario, we are focusing more and more on making wso2
>> products container friendly and easy to try out. A user trying out a
>> distributed deployment deployment on a containerized environment (docker,
>> kubernetes, etc.) will expect to deploy it with minimal steps: start a
>> mysql container and start the products pointing to the mysql container. If
>> a method similar to -Dsetup is available, it will make the life of the user
>> much easier, rather than having to run the DB scripts manually.
>>
>>
>> [1] - "TrustedIdPDBInitializer Class should not create any tables,
>> indexes when -Dsetup is not given"
>>
>>
>> Thanks !
>>
>>>
 Thanks.

 On Fri, Apr 29, 2016 at 3:24 PM, Sameera Jayasoma 
 wrote:

> Hi Isuru,
>
> Can you explain the need to have a -Dsetup option? Can we simply
> remove this in C5?
>
> Thanks,
> Sameera.
>
>
> On Fri, Mar 25, 2016 at 1:45 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> In Carbon 4.x.x, we extend [1]
>> org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the 
>> same
>> in Carbon 5?
>>
>> Thanks!
>>
>> [1]
>> https://github.com/search?l=&q=DatabaseCreator++user%3Awso2&ref=advsearch&type=Code&utf8=%E2%9C%93
>> [2]
>> https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Isuru Perera
Yes. -Dsetup is easier, but let's avoid setting up database from the
server. In Wiki, we can give instructions on setting up databases for each
vendor.

Carbon Team, could you please let us know your conclusion on this?

On Wed, May 4, 2016 at 4:55 PM, Isuru Haththotuwa  wrote:

> Hi Sagara,
>
> On Fri, Apr 29, 2016 at 5:31 PM, Sagara Gunathunga 
> wrote:
>
>>
>>
>> On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera  wrote:
>>
>>> Hi Sameera,
>>>
>>> As Thilini mentioned, most of the products need a database to keep data.
>>> With -Dsetup we could execute scripts based on the vendor. We need some way
>>> of setting up the database in C5 as well.
>>>
>>> I'm sorry I couldn't create a JIRA for $subject yet.
>>>
>>> In C5, what is the recommended way to setup a database (by creating
>>> required tables) for a WSO2 product?
>>>
>>> On Fri, Apr 29, 2016 at 3:45 PM, Thilini Cooray 
>>> wrote:
>>>
 Hi,

 In many of our carbon 4.x.x based products, we use -Dsetup option
 allowing users to create databases on their preferred vendor (instead of
 our inbuilt H2 database).
 Without this option, users will have to run database scripts against
 each of the databases by themselves prior to server startup.

 Therefor I think it is a useful option to have in C5.

>>>
>>  I'm -1 to include this option into C5 products due to following reasons.
>>
>> 1.) This option available with C4 product is just a demoware only, nobody
>> use this option to populate databases in production systems. Recommended
>> practise for production environments is  DB admin/team populate databases
>> manually and create user with limited privileges so that applications use
>> this limited-privileged user to access the database server.
>>
>
>> 2.) In production systems, those admin rights are not anyway assign to
>> generic users hence not usable feature even if we include this option it
>> will use for demos only. Also previously we found some lazy practises where
>> developer assumed DB user always got admin rights and try to perform DB
>> admin tasks through our Java codes[1].
>>
>> 3.) Having this option in production systems increase security risks.
>>
> Fully agreed that this should not be the recommended method for creating
> DB tables in production environments. However IMHO the ease of trying
> out/demonstrating is very important.
>
> As an example scenario, we are focusing more and more on making wso2
> products container friendly and easy to try out. A user trying out a
> distributed deployment deployment on a containerized environment (docker,
> kubernetes, etc.) will expect to deploy it with minimal steps: start a
> mysql container and start the products pointing to the mysql container. If
> a method similar to -Dsetup is available, it will make the life of the user
> much easier, rather than having to run the DB scripts manually.
>
>
> [1] - "TrustedIdPDBInitializer Class should not create any tables, indexes
> when -Dsetup is not given"
>
>
> Thanks !
>
>>
>>> Thanks.
>>>
>>> On Fri, Apr 29, 2016 at 3:24 PM, Sameera Jayasoma 
>>> wrote:
>>>
 Hi Isuru,

 Can you explain the need to have a -Dsetup option? Can we simply remove
 this in C5?

 Thanks,
 Sameera.


 On Fri, Mar 25, 2016 at 1:45 PM, Isuru Perera  wrote:

> Hi,
>
> In Carbon 4.x.x, we extend [1]
> org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the 
> same
> in Carbon 5?
>
> Thanks!
>
> [1]
> https://github.com/search?l=&q=DatabaseCreator++user%3Awso2&ref=advsearch&type=Code&utf8=%E2%9C%93
> [2]
> https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


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


>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : thili...@wso2.com
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> 

[Dev] Identity Server 5.0.0 as API-M Key Manager

2016-05-06 Thread rohit
Hi All,

 I'm currently evaluating WSO2 Identity Server 5.0.0 and WSO2 API
Manager 1.8.0 and I would like to implement an architecture based on
oAuth2(Authorization Grant Type). I'm following this guide  link

 
.

However it so happens that when I try to generate an authorization code, i.e
when a request is generated from API-M to
//authorize?response_type=code&client_id=&redirect_uri=/the
 
request gets forwarded to
/https://localhost:9443/authenticationendpoint/oauth2_authz.do?loggedInUser=<>&application=DefaultApplication&scope=&sessionDataKeyConsent=&spQueryParams=/(i.e
tries to connect to wso2 identity server), but my wso2 identity server is
running on a different machine. so when i try to replace localhost with the
actual ip, everything works fine. So how do I acheive this? (WSO2IS and WSO2
API-M are running on a linux machine and I'm trying to access them from my
local machine)
Any help will be greatly appreciated



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Identity-Server-5-0-0-as-API-M-Key-Manager-tp136062.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deployment notifier Error at startup

2016-05-06 Thread Nandika Jayawardana
Hi Kasun,

Any update on this.

Regards
Nandika

On Wed, May 4, 2016 at 11:24 AM, Nandika Jayawardana 
wrote:

> Hi Kasun,
>
> Getting the following error from deployment notifier component.
>
>   ERROR {org.eclipse.equinox.ds} - [SCR] Exception while activating
> instance
> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent@78c815f5
> of component DeploymentNotifierListenerComponent
>  java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> at
> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
> at
> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
> at
> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
> at
> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
> at
> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/commons/pool/PoolableObjectFactory
> at
> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.getConnectionFactory(DeploymentNotifierLifecycleListener.java:152)
> at
> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.(DeploymentNotifierLifecycleListener.java:65)
> at
> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent.start(DeploymentNotifierListenerComponent.java:53)
> ... 15 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.pool.PoolableObjectFactory cannot be found by
> org.wso2.carbon.deployment.notifier_5.0.0.SNAPSHOT
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 18 more
>
>
> Regards
> Nandika
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



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