Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Afkham Azeez
Yes, I need to add that as well as comments for the Generic membership scheme. Thanks. On Fri, Aug 21, 2015 at 11:10 PM, Sajith Abeywardhana wrote: > Please add AWS to the comment in line no 28-40 > > *Sajith Abeywardhana* | Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Pa

Re: [Dev] EMM - Cannot Add Device - Illegal access attempt

2015-08-21 Thread Samim Pezeshki
Dear Kasun, I followed the steps. I can successfully authenticate using the tenant username and password, I see the policy agreement, but after entering the PIN and while the device is displaying "Enrolling" I have the mentioned error. Regards, Samim On Fri, Aug 21, 2015 at 9:40 AM Kasun Dananja

Re: [Dev] [ML] Error when deserializing model summary

2015-08-21 Thread Madawa Soysa
Hi Nirmal, outPath is correct and the directory gets created, but the process becomes idle after that. Attached the only part that was written to a file. Also the method doesn't throw an exception as well. On 21 August 2015 at 21:31, Nirmal Fernando wrote: > Hi Madawa, > > According to Spark A

Re: [Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Imesh Gunaratne
On Fri, Aug 21, 2015 at 3:23 PM, Afkham Azeez wrote: > With the proper elements & a proper schema, with JAXB, we have a proper > object model for the known membership schemes. > +1 Will go ahead with the suggested approach. On Fri, Aug 21, 2015 at 3:23 PM, Afkham Azeez wrote: > With the prope

[Dev] [Architecture] WSO2 EMM 2.0.0 Milestone - 6 Released

2015-08-21 Thread Milan Perera
Hi All, WSO2 EMM 2.0.0 Milestone - 6 Released ! This is the sixth milestone of WSO2 EMM version 2.0.0. You can download the milestone at [1]. Milestone - 6 specifically contains following features and improvements. Features: Enhancements to policy management framework and compliance monito

Re: [Dev] Greg5.0.0 Integration test execute with Cluster Deployment

2015-08-21 Thread Deependra Ariyadewa
On Thu, Aug 20, 2015 at 6:50 PM, Chaminda Jayawardena wrote: > Hi All, > > Is $Subject possible? AFAIK still this is possible only for some of wso2 > products. Please advice and guide to do this(Share any document if exist). > > Please find the cluster details below, which we currently have. > -2

Re: [Dev] Please close the repo 'product-es'

2015-08-21 Thread Rushmin Fernando
Yes Kasun, Let's have a chat on this on Monday with ES team. Thanks for the opinion. On Fri, Aug 21, 2015 at 11:49 PM, KasunG Gajasinghe wrote: > Hi Rushmin, > > This repo uses the groupId org.wso2.carbon. But this is reserved for > Carbon kernel. Your repo need to use its own groupId. > > It lo

Re: [Dev] Please close the repo 'product-es'

2015-08-21 Thread KasunG Gajasinghe
Hi Rushmin, This repo uses the groupId org.wso2.carbon. But this is reserved for Carbon kernel. Your repo need to use its own groupId. It looks like maintaining this code under product-es adds lot of complexity. The store components and features has already been moved to carbon-store. So, it's be

Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Sajith Abeywardhana
Please add AWS to the comment in line no 28-40 *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com | Web: www.wso2.com On Fri, Aug 21, 2015 at 10:05 PM, Afkham Azeez wrote: > Her

[Dev] Please close the repo 'product-es'

2015-08-21 Thread Rushmin Fernando
Hi KasunG, Please note that 'product-es' acts as a carbon repo for app-manager branch due to historical reasons. This branch will be moved to carbon-store from the next release. Thanks Rushmin -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. - Lean . Enterprise . Middleware

Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Afkham Azeez
Here is the cluster.xml. Hope it is self explanatory. https://github.com/wso2/carbon-kernel/blob/master/distribution/carbon-home/repository/conf/cluster.xml On Fri, Aug 21, 2015 at 8:19 PM, Sajith Abeywardhana wrote: > Hi Azeez, > > In C5 are we moving wka and multicast configurations to cluste

Re: [Dev] [ML] Error when deserializing model summary

2015-08-21 Thread Nirmal Fernando
Hi Madawa, According to Spark API [1], outPath shouldn't be exist. [1] https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/recommendation/MatrixFactorizationModel.scala#L200 On Fri, Aug 21, 2015 at 1:59 PM, Niranda Perera wrote: > I don't think it's correct.

[Dev] Proxy Service vs. REST API for REST Client and REST Service

2015-08-21 Thread Arif Ali
Hi WSO2 Folks, We've a REST Client and REST Service, and two options to get them communicated thru ESB. * REST using Proxy Service * REST API Just wanted to know which one to use and why? My first take is REST using Proxy Service, because it gives me flexibility to switch my

Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Sajith Abeywardhana
Hi Azeez, In C5 are we moving wka and multicast configurations to cluster.xml file as well? Or are we moving whole element? *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com | W

Re: [Dev] carbon-deployment 4.5.1 release

2015-08-21 Thread Kalpa Welivitigoda
Hi Kasun, I tested with the CApps test cases and lazy loading test module. From AS side, it is good to release. On Fri, Aug 21, 2015 at 6:19 PM, KasunG Gajasinghe wrote: > Hi, > > Please find the staging repo for carbon-deployment 4.5.1. > > > http://maven.wso2.org/nexus/content/repositories/or

[Dev] Don't we use db scripts in dbscripts/identity anymore?

2015-08-21 Thread Sajith Ravindra
Hi, With the latest build[1] of CEP we observed that dbscripts/identity directory is not created. Don't we use db scripts in dbscripts/identity directory anymore? [1] - https://wso2.org/jenkins/view/product-builds/job/product-cep/lastSuccessfulBuild/org.wso2.cep$wso2cep/ Thanks *,Sajith Ravindra

Re: [Dev] [Status update] Adding single tenant cartridge support to appfactory

2015-08-21 Thread Punnadi Gunarathna
Hi All, You can add below system properties to client side and it will solve the problem: Since we have self signed server certificate please point wso2carbn.jks file to TS. System.setProperty("javax.net.ssl.keyStore", prop.getProperty("trust_store_path")); System.setProperty("javax.net.ssl.k

[Dev] carbon-deployment 4.5.1 release

2015-08-21 Thread KasunG Gajasinghe
Hi, Please find the staging repo for carbon-deployment 4.5.1. http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-043/ Thanks. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog:

Re: [Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Kishanthan Thangarajah
On Fri, Aug 21, 2015 at 2:59 PM, Afkham Azeez wrote: > I have changed the Generic/MembershipScheme tag to Generic/Name. > +1 for the config with "Generic/Name". > On Fri, Aug 21, 2015 at 2:55 PM, Afkham Azeez wrote: > >> In addition to the 3 membership schemes, multicast, WKA & AWS, for >> St

Re: [Dev] [App Factory] UX/UI Incorporation

2015-08-21 Thread Imesh Chandrasiri
Hi All, We've added a new page to the git. app_logs.html On Mon, Jul 27, 2015 at 8:22 PM, Mahesh Chinthaka wrote: > Adding Anuruddha and Samith > > On Mon, Jul 27, 2015 at 5:48 PM, Dakshika Jayathilaka > wrote:

[Dev] Intermittent Classloading issue in WebApp

2015-08-21 Thread Madhawa Gunasekara
Hi all, I'm finding intermittent class-loading issue, when accessing a class where it bundled in dss from a web-app. I'm using Carbon Environment in my web app class-loading.xml. Please find the below ClassNotFound Exception below. [2015-08-21 16:35:30,763] ERROR {org.apache.catalina.core.Standar

Re: [Dev] C5 with clustering enabled on Java 8 throws an error on startup

2015-08-21 Thread Afkham Azeez
Solution: Add org.osgi.framework.system.packages.extra=sun.misc to the launch.properties On Fri, Aug 21, 2015 at 4:37 PM, Afkham Azeez wrote: > Same issue can be seen on JDK 1.7 as well. > > On Fri, Aug 21, 2015 at 4:16 PM, Afkham Azeez wrote: > >> Caused by: java.lang.NoClassDefFoundError: sun

Re: [Dev] C5 with clustering enabled on Java 8 throws an error on startup

2015-08-21 Thread Afkham Azeez
Same issue can be seen on JDK 1.7 as well. On Fri, Aug 21, 2015 at 4:16 PM, Afkham Azeez wrote: > Caused by: java.lang.NoClassDefFoundError: sun/misc/Unsafe > > at com.hazelcast.nio.UnsafeHelper.findUnsafe(UnsafeHelper.java:122) > > at com.hazelcast.nio.UnsafeHelper.(UnsafeHelper.java:65) > > at

[Dev] C5 with clustering enabled on Java 8 throws an error on startup

2015-08-21 Thread Afkham Azeez
Caused by: java.lang.NoClassDefFoundError: sun/misc/Unsafe at com.hazelcast.nio.UnsafeHelper.findUnsafe(UnsafeHelper.java:122) at com.hazelcast.nio.UnsafeHelper.(UnsafeHelper.java:65) at com.hazelcast.hibernate.serialization.Hibernate3CacheKeySerializerHook.(Hibernate3CacheKeySerializerHook.java

Re: [Dev] [Greg 5.0.0 Beta] Cannot create Rest Service using publisher

2015-08-21 Thread Shazni Nazeer
Since in G-Reg we have a separate place to add tags (under options menu), we thought that we would get rid of the tags section (which is anyway not available in the original rxt of restservice and soap service). The fix for this is done in the following and tags section will not be available in th

Re: [Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Afkham Azeez
With the proper elements & a proper schema, with JAXB, we have a proper object model for the known membership schemes. On Fri, Aug 21, 2015 at 3:16 PM, Imesh Gunaratne wrote: > IMO it would be better if we can specify membership scheme information as > parameters rather than using XML elements w

Re: [Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Imesh Gunaratne
IMO it would be better if we can specify membership scheme information as parameters rather than using XML elements with their names, WDYT? ... Multicast 228.0.0.4 45564 100 60

Re: [Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Afkham Azeez
I have changed the Generic/MembershipScheme tag to Generic/Name. On Fri, Aug 21, 2015 at 2:55 PM, Afkham Azeez wrote: > In addition to the 3 membership schemes, multicast, WKA & AWS, for Stratos > sort of deployments we will need to support other membership management > schemes. In order to supp

[Dev] Hazelcast generic membership scheme in Carbon 5 kernel

2015-08-21 Thread Afkham Azeez
In addition to the 3 membership schemes, multicast, WKA & AWS, for Stratos sort of deployments we will need to support other membership management schemes. In order to support this, I am introducing the following configuration into the cluster.xml foo xxx-val yyy-val zzz-val Th

[Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Afkham Azeez
Please note $subject. The configuration in the cluster.xml file is as follows. Docs will have to be updated. xx yy a_group_name us-east-1 a_tag_key a_tag_value -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Softwa

Re: [Dev] Releasing ES App Manager branch

2015-08-21 Thread Rushmin Fernando
Udara, I updated the versions and sent a pull request [1] [1] - https://github.com/wso2/product-es/pull/190 On Fri, Aug 21, 2015 at 1:20 PM, Rushmin Fernando wrote: > Thanks Kasun and Udara, > > So are we going with 1.3.0 for every component including social ? > > Thanks > Rushmin > > On Fri,

Re: [Dev] [BPS] Please merge the pull request

2015-08-21 Thread Milinda Perera
Hi sharon, There is a conflict. can you please update your repo with latest updates in wso2/carbon-business-process and make PR. Thanks, Milinda On Fri, Aug 21, 2015 at 2:03 PM, Sharon David wrote: > Hi, > > Please review and merge the pull request [1 >

[Dev] [BPS] Please merge the pull request

2015-08-21 Thread Sharon David
Hi, Please review and merge the pull request [1 ], I have done some changed to the markup, let me know if you have any issues. [1] https://github.com/wso2/carbon-business-process/pull/152

Re: [Dev] Error in salesforce rest api connector test case

2015-08-21 Thread Hariprasath Thanarajah
Thank you all for your help. Now it's working. On Fri, Aug 21, 2015 at 12:57 PM, Kesavan Yogarajah wrote: > Hi Hariprasath* ,* > > As Elilmatha said syntax errors in your configurations causing this > error.Closing tag is missing in queryAllMore and queryMore proxy > configurations . > > Thank

Re: [Dev] [ML] Error when deserializing model summary

2015-08-21 Thread Niranda Perera
I don't think it's correct. Scala version is 2.10.4 even in the mvn repo On Fri, Aug 21, 2015, 13:46 Madawa Soysa wrote: > Also I asked this question in StackOverflow[1] > > and there th

Re: [Dev] [ML] Error when deserializing model summary

2015-08-21 Thread Madawa Soysa
Also I asked this question in StackOverflow[1] and there they have mentioned a version incompatibility between Scala and Spark versions [1] - http://stackoverflow.com/questions/32048618/ho

Re: [Dev] [ML] Error when deserializing model summary

2015-08-21 Thread Madawa Soysa
Yes path is valid, I explicitly set the path here from the MLModelHandler persistModel method. On 21 August 2015 at 10:26, Nirmal Fernando wrote: > > > On Thu, Aug 20, 2015 at 9:21 PM, Madawa Soysa > wrote: > >> Hi All, >> >> There an issue with serializing Spark's MatrixFactorizationModel obje

Re: [Dev] [Clarification] How to make two manager nodes Active/Active?

2015-08-21 Thread KasunG Gajasinghe
Hi, What you noticed has happened due to sticky sessions. So, once you log-in to a manager node, all the requests you send will be dispatched to that manager node. That's why you are seeing one manager doing all the work. If you try logging in from a different browser, you might get logged into t

Re: [Dev] Releasing ES App Manager branch

2015-08-21 Thread Dinusha Senanayaka
Hi Kasun, On Fri, Aug 21, 2015 at 12:35 PM, KasunG Gajasinghe wrote: > > Upgrading kernel is a big change, so you have to do a major or a minor > release. It's a best practice that we should follow, and I don't see why we > need to break it here. > > As per the offline chat with Udara, it looks

Re: [Dev] Releasing ES App Manager branch

2015-08-21 Thread Rushmin Fernando
Thanks Kasun and Udara, So are we going with 1.3.0 for every component including social ? Thanks Rushmin On Fri, Aug 21, 2015 at 12:35 PM, KasunG Gajasinghe wrote: > > Upgrading kernel is a big change, so you have to do a major or a minor > release. It's a best practice that we should follow,

Re: [Dev] Error in salesforce rest api connector test case

2015-08-21 Thread Kesavan Yogarajah
Hi Hariprasath* ,* As Elilmatha said syntax errors in your configurations causing this error.Closing tag is missing in queryAllMore and queryMore proxy configurations . Thanks. Kesavan Yogarajah Associate Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterpri

Re: [Dev] Error adding provider in wso2 identity server 5

2015-08-21 Thread Hasanthi Purnima Dissanayake
Hi Akila, Did you install SP1 with IS 5.0.0? If not please make sure to install it by following the instructions in readme file. You can find the service pack from the place where you have downloaded IS 5.0.0 pack in wso2 site. There was a public jira [1] with the issue you have mentioned and now

Re: [Dev] Error adding provider in wso2 identity server 5

2015-08-21 Thread Lakshani Gamage
Hi Akila, When we creating a SP, a role is also created for that SP. Also. that role has the same name as SP. (Ex:- If your SP is *Google*, there is a role *Internal/Google* in Role list) You can check for the role under *configure>>Users and Roles>> Roles*. Even you delete SP from the list, the

Re: [Dev] Releasing ES App Manager branch

2015-08-21 Thread KasunG Gajasinghe
Upgrading kernel is a big change, so you have to do a major or a minor release. It's a best practice that we should follow, and I don't see why we need to break it here. As per the offline chat with Udara, it looks like 1.3.0 is the proper version for you. BTW, have you guys added this branch to