[Dev] Commit to kernel for CARBON-15014

2014-10-12 Thread Darshana Gunawardana
Hi Kernel Team, Please commit patch for https://wso2.org/jira/browse/CARBON-15014. Relavant PR is https://github.com/wso2-dev/carbon4-kernel/pull/128 Thanks, Darshana -- Regards, *Darshana Gunawardana*Software Engineer WSO2 Inc.; http://wso2.com *E-mail: darsh...@wso2.com * *Mobile: +9471856

Re: [Dev] Add Cassandra "1.2.13.wso2v4" into Orbit repository

2014-10-12 Thread Prabath Abeysekera
Let me check on this and get back to you. Cheers, Prabath On Mon, Oct 13, 2014 at 12:05 PM, Maheshika Goonetilleke wrote: > Hi Prabath > > Release of cassandra-driver/1.0.5.wso2v was success. However the following > error occurred while trying to release cassandra/1.2.13wso2v4; > > [INFO] > ---

Re: [Dev] Add Cassandra "1.2.13.wso2v4" into Orbit repository

2014-10-12 Thread Maheshika Goonetilleke
Hi Prabath Release of cassandra-driver/1.0.5.wso2v was success. However the following error occurred while trying to release cassandra/1.2.13wso2v4; [INFO] [INFO] BUILD FAILURE [INFO] --

Re: [Dev] Add Cassandra "1.2.13.wso2v4" into Orbit repository

2014-10-12 Thread Prabath Abeysekera
This is done! On Mon, Oct 13, 2014 at 11:39 AM, Maheshika Goonetilleke wrote: > Hi Prabath > > Added you to the orbit member list, therefore you would have the required > privileges to merge. > > Please inform once done, will release it. > > > On Mon, Oct 13, 2014 at 11:14 AM, Prabath Abeysekera

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-12 Thread Harshan Liyanage
Hi Pasanthi, AFAIK there could not be any issue for this scenario. We have tested it. Do you get any errors in server when enrolling the new device to the EMM? Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.

Re: [Dev] Add Cassandra "1.2.13.wso2v4" into Orbit repository

2014-10-12 Thread Maheshika Goonetilleke
Hi Prabath Added you to the orbit member list, therefore you would have the required privileges to merge. Please inform once done, will release it. On Mon, Oct 13, 2014 at 11:14 AM, Prabath Abeysekera wrote: > Hi Maheshika, > > Please review and merge [2]. > > [2] https://github.com/wso2/orbi

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-12 Thread Hasitha Amal De Silva
Hi all, In terms of the andes component, we need to upgrade the guava dependencies to 14 from version 13 and verify. I'm working on this. On Mon, Oct 13, 2014 at 11:19 AM, Prabath Abeysekera wrote: > Hi Ramith/MB team, > > This is all fixed. Let me know if you guys happen to run into any other

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-12 Thread Prabath Abeysekera
Hi Ramith/MB team, This is all fixed. Let me know if you guys happen to run into any other problem further to this. Cheers, Prabath On Tue, Oct 7, 2014 at 11:41 AM, Prabath Abeysekera wrote: > To give you guys an update on what's been done so far, I've managed to > make both Cassandra as well

Re: [Dev] Add Cassandra "1.2.13.wso2v4" into Orbit repository

2014-10-12 Thread Prabath Abeysekera
Hi Maheshika, Please review and merge [2]. [2] https://github.com/wso2/orbit/pull/29 Cheers, Prabath On Tue, Oct 7, 2014 at 10:10 AM, Prabath Abeysekera wrote: > Hi Maheshika, > > Just spotted some issue in the pull request sent. Let me fix it and > resubmit. > > Cheers, > Prabath > > > On Tu

Re: [Dev] Which is the correct username that we should set, when we start the tenant flow

2014-10-12 Thread Danushka Fernando
Hi Sameera We are looking for the best practice here. Say we have the username and we want to set it to Carbon Context. Which is the correct one. Tenant aware or full qualified? Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Oct 13, 2

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-12 Thread Pasanthi Amarasekera
On Sun, Oct 12, 2014 at 11:57 PM, Pasanthi Amarasekera wrote: > Hi, > > Last week I created a user to the EMM running in my localhost and then > enrolled an android phone, with the username and the password given in the > user enrollment email. > > Today I tried to add an android tab to the same

Re: [Dev] Error sending rest call to jax-rs web service in wso2 cloud

2014-10-12 Thread Tharindu Dharmarathna
Hi Danushka, Issue has been resolved by applying changes to pom file according to your advice. Reason is we are using jars in lib file that been shipped with AS 5.2.1 . we have to exclude that dependencies from build war file. Thanks. On Fri, Oct 10, 2014 at 9:10 AM, Tharindu Dharmarathna wrote:

Re: [Dev] Which is the correct username that we should set, when we start the tenant flow

2014-10-12 Thread Sameera Jayasoma
We don't normally set the username in such situations. It depends on the code block that you are trying to execute. Sometimes username is not available . On Sat, Oct 11, 2014 at 7:08 PM, Samith Dassanayake wrote: > Hi, > > When we start the tenant flow which is the correct username that we shoul

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Isuru Ranawaka
Congratz!!! On Mon, Oct 13, 2014 at 10:39 AM, Shazni Nazeer wrote: > Congratz!!! > > Shazni Nazeer > > Senior Software Engineer > > Mob : +94 37331 > LinkedIn : http://lk.linkedin.com/in/shazninazeer > Blog : http://shazninazeer.blogspot.com > > On Mon, Oct 13, 2014 at 10:36 AM, Hasintha In

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Shazni Nazeer
Congratz!!! Shazni Nazeer Senior Software Engineer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Mon, Oct 13, 2014 at 10:36 AM, Hasintha Indrajee wrote: > Congratulations Sameera > > On Mon, Oct 13, 2014 at 10:27 AM, Priyadars

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

2014-10-12 Thread Shazni Nazeer
Congratz!!! Shazni Nazeer Senior Software Engineer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Mon, Oct 13, 2014 at 10:35 AM, Hasintha Indrajee wrote: > Congratulations Denuwanthi > > On Mon, Oct 13, 2014 at 10:27 AM, Priyad

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

2014-10-12 Thread Kala Weerawardana
Congratulations! :) On Fri, Oct 10, 2014 at 9:36 AM, Subash Chaturanga wrote: > Hi all, > It's our pleasure to welcome Denuwanthi De Silva as a WSO2 Committer. > Denuwanthi has contributed immensely to WSO2 Governance Registry and > platform and shown great commitment. In recognition of her cont

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Hasintha Indrajee
Congratulations Sameera On Mon, Oct 13, 2014 at 10:27 AM, Priyadarssini Kishokumar < priyadarss...@wso2.com> wrote: > Congratulations Sameera !!! > > On Mon, Oct 13, 2014 at 10:24 AM, Pulasthi Supun > wrote: > >> Congrats!! >> >> On Mon, Oct 13, 2014 at 9:33 AM, Abimaran Kugathasan

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

2014-10-12 Thread Hasintha Indrajee
Congratulations Denuwanthi On Mon, Oct 13, 2014 at 10:27 AM, Priyadarssini Kishokumar < priyadarss...@wso2.com> wrote: > Congratulations Denuwanthi! > > On Mon, Oct 13, 2014 at 10:24 AM, Pulasthi Supun > wrote: > >> Congrats!! >> >> On Mon, Oct 13, 2014 at 9:36 AM, Abimaran Kugathasa

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Priyadarssini Kishokumar
Congratulations Sameera !!! On Mon, Oct 13, 2014 at 10:24 AM, Pulasthi Supun wrote: > Congrats!! > > On Mon, Oct 13, 2014 at 9:33 AM, Abimaran Kugathasan > wrote: > >> Congrats! >> >> On Sun, Oct 12, 2014 at 11:49 PM, Pirinthapan Mahendran < >> pirintha...@wso2.com> wrote: >> >>> Co

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

2014-10-12 Thread Priyadarssini Kishokumar
Congratulations Denuwanthi! On Mon, Oct 13, 2014 at 10:24 AM, Pulasthi Supun wrote: > Congrats!! > > On Mon, Oct 13, 2014 at 9:36 AM, Abimaran Kugathasan > wrote: > >> Congrats! >> >> On Sun, Oct 12, 2014 at 5:04 PM, Manula Chathurika Thantriwatte < >> manu...@wso2.com> wrote: >> >>

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

2014-10-12 Thread Pulasthi Supun
Congrats!! On Mon, Oct 13, 2014 at 9:36 AM, Abimaran Kugathasan wrote: > Congrats! > > On Sun, Oct 12, 2014 at 5:04 PM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Congratulations !!! >> >> On Sun, Oct 12, 2014 at 3:29 AM, KasunG Gajasinghe >> wrote: >> >>> >>>

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Pulasthi Supun
Congrats!! On Mon, Oct 13, 2014 at 9:33 AM, Abimaran Kugathasan wrote: > Congrats! > > On Sun, Oct 12, 2014 at 11:49 PM, Pirinthapan Mahendran < > pirintha...@wso2.com> wrote: > >> Congratulations Sameera !! >> >> >> >> Mahendran Pirinthapan >> Software Engineer | WSO2 Inc. >> Mobile

Re: [Dev] ERROR 1071 (42000) at line 57: Specified key was too long; max key length is 767 bytes

2014-10-12 Thread Mahesh Chinthaka
Thanks Tharindu, Awanthika and Rajith. Rajith you are correct, problem was with db collation. I got it fixed!! On Mon, Oct 13, 2014 at 8:52 AM, Rajith Siriwardena wrote: > Hi Mahesh*,* > > I think It's because of the default collation of your database. I assume > your default collation uses the

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

2014-10-12 Thread Abimaran Kugathasan
Congrats! On Sun, Oct 12, 2014 at 5:04 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Congratulations !!! > > On Sun, Oct 12, 2014 at 3:29 AM, KasunG Gajasinghe > wrote: > >> >> Congratulations!! >> >> On Sat, Oct 11, 2014 at 11:10 PM, Buddhima Wijeweera >> wrote: >> >>> Congra

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Abimaran Kugathasan
Congrats! On Sun, Oct 12, 2014 at 11:49 PM, Pirinthapan Mahendran < pirintha...@wso2.com> wrote: > Congratulations Sameera !! > > > > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > > On Sat, Oct 11, 2014 at 11:09 PM, Buddhima Wijeweera > wrote: > >> Congratulation

Re: [Dev] ERROR 1071 (42000) at line 57: Specified key was too long; max key length is 767 bytes

2014-10-12 Thread Rajith Siriwardena
Hi Mahesh*,* I think It's because of the default collation of your database. I assume your default collation uses the UTF8 character set. in that case MySQL limits the length of keys by bytes, not characters. Since the UTF8 implementation MySQL uses allows for 3 bytes per character, the max length

Re: [Dev] ERROR 1071 (42000) at line 57: Specified key was too long; max key length is 767 bytes

2014-10-12 Thread Awanthika Senarath
Hi Please see whether [1] sheds any light. [1] http://wso2.com/library/articles/2013/04/deploying-wso2-platform-mysql-cluster/ thanks and regards Awanthika On Fri, Oct 10, 2014 at 5:58 PM, Tharindu Edirisinghe wrote: > Hi Mahesh, > > I checked [1] but couldn't find much information. You can t

Re: [Dev] What is the standard way of handling exceptions

2014-10-12 Thread Roshan Deniyage
Hi, I think we need to catch exceptions, only if we can handle it or if we need to add more contextual information to the exception. In second case, creating new exception with more contextual information and throw it is okay. But, in that scenario, should not log and let the message is being logge

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Pirinthapan Mahendran
Congratulations Sameera !! Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Sat, Oct 11, 2014 at 11:09 PM, Buddhima Wijeweera wrote: > Congratulations Sameera !!! > > On Sat, Oct 11, 2014 at 10:58 PM, Rajith Vitharana > wrote: > >> Congratulations Sameera :) >

Re: [Dev] What is the standard way of handling exceptions

2014-10-12 Thread Firzhan Naqash
Hi, As a standard practice we either throw the exception or log an error and continue the operation. If that exception will cause serious inconsistency in the entire functionality as a best practice we threw the exception. Other wise we can log error and continue the operation. As Dinesh mention

Re: [Dev] Re- implemented OnFlightMessageTracker

2014-10-12 Thread Hasitha Hiranya
Following is the Jconsole output for 60,000 messages publish by 20 threads, received by 20 threads mode: in-memory, direct All ran in local machine, Linux CPU consumption was high, mem was not accumulated. [image: Inline image 1] Need to see who use CPU. Thanks On Sun, Oct 12, 2014 at 7:47 PM,

[Dev] Re- implemented OnFlightMessageTracker

2014-10-12 Thread Hasitha Hiranya
Hi MB Team, Problems we had previously with OnFlightMessageTracker class (class responsible for tracking all message deliveries) >> OnFlightMessageTracker had many complex methods (not grouped well to methods) >> It had AMQP specific stuff >> It had time based checks >> It had synchronization iss

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

2014-10-12 Thread Manula Chathurika Thantriwatte
Congratulations !!! On Sun, Oct 12, 2014 at 3:29 AM, KasunG Gajasinghe wrote: > > Congratulations!! > > On Sat, Oct 11, 2014 at 11:10 PM, Buddhima Wijeweera > wrote: > >> Congratulations Denuwanthi !!! >> >> On Sat, Oct 11, 2014 at 10:57 PM, Rajith Vitharana >> wrote: >> >>> Congratulations De

Re: [Dev] WSO2 MB 3.0.0 - TODOs in store aspect

2014-10-12 Thread Asitha Nanayakkara
At start up we can see a log [1] saying we are using both direct storing and asynchronous storing. Even when asynchronous storing is enabled. Reason for this log is we have used MessageStoreManager within Disruptor to call the MessageStore functionality. It's much better if we use the MessageStore

Re: [Dev] IntelliJ Idea Configure - [for users newer to Intellij Idea]

2014-10-12 Thread Pubudu Dissanayake
Hi folks Take a look at some useful plugins provided by Idea. [1] [1] http://blog.afkham.org/2011/10/my-top-10-third-party-intellij-idea.html On Sun, Oct 12, 2014 at 11:39 AM, Chamila De Alwis wrote: > I constantly use ctrl+alt+F7 (show usages) shortcut, but this is the > shortcut to switch to