Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Afkham Azeez
BTW, AS sample having a sample parent pom is wrong. Samples are there to guide the user how to write his own stuff. The user will not extend a sample parent pom from AS, so IMO it is wrong to have it in that manner in AS. On Wed, Nov 11, 2015 at 12:49 AM, Aruna Karunarathna

[Dev] Base64 encoding in jaggery

2015-11-11 Thread Kalpa Welivitigoda
Hi all, Is the $subject possible? My requirement is to encode username/password in Base64 to be used to call a REST API. -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Nirmal Fernando
Do sample poms need a parent at all (if everything is in the maven central)? IMO they should be self contained. On a related note; License year is missing https://github.com/wso2/product-mss/blob/release-1.0.0-alpha/samples/helloworld/pom.xml#L3 On Wed, Nov 11, 2015 at 3:07 PM, Afkham Azeez

[Dev] Findbugs error on product-gw build

2015-11-11 Thread Kishanthan Thangarajah
Build is failing on MacOS with maven 3.3.3. [INFO] --- findbugs-maven-plugin:3.0.2:check (analyze-compile) @ org.wso2.carbon.gateway --- [INFO] BugInstance size is 1 [INFO] Error size is 0 [INFO] Total bugs: 1 *[INFO] Dead store to wait in

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-11 Thread Afkham Azeez
proxy host name On Wed, Nov 11, 2015 at 12:28 AM, Chamara Ariyarathne wrote: > Hi All, > > When a new user is added to EMM, the user will be notified with an email > to subscribe a device to MDM domain. The email contains the server url to > be accessed from the device. > >

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Aruna Karunarathna
On Wed, Nov 11, 2015 at 1:10 PM, Afkham Azeez wrote: > Can we push that pom to Maven central? > Will that solve the problem?. AFAIU pushing mss-service-parent pom to maven central won't solve the problem, as per the inheritance tree we have to push the org.wso2.carbon.mss.parent

[Dev] [CARBON] Parameterizing the Maven bundle plugin and moving plugin configuration inside carbon-parent pom

2015-11-11 Thread Manuri Amaya Perera
Hi, Currently for each carbon component's pom file we need to include the maven bundle plugin. Some of the bundle plugin configuration values such as group id, artifact id and version are repetitively used in each of these components(eg: [1]) We can avoid this repetition by including the bundle

Re: [Dev] http/https ports and hostname in carbon

2015-11-11 Thread Waruna Jayaweera
Thanks Kalpa On Wed, Nov 11, 2015 at 3:29 AM, Kalpa Welivitigoda wrote: > Hi Waruna, > > You can try getLocalHostname() and getMgtHostName() in > org.wso2.carbon.utils.NetworkUtils. > > On Tue, Nov 10, 2015 at 11:07 PM, Waruna Jayaweera > wrote: > >> Hi

Re: [Dev] [APIM] setting up cluster without using -Dprofile - with puppet scripts

2015-11-11 Thread Suhan Dharmasuriya
Hi, When we try to deploy the cluster with APIM 1.10.x with profiles, following error [1] is observed in wso2carbon.log. Full log for gateway manager also attached. We have tried with default configurations as well as cluster configurations. In both cases the error occurs when trying with

Re: [Dev] Findbugs error on product-gw build

2015-11-11 Thread Chanaka Fernando
Madhuranga will look into this. On Wed, Nov 11, 2015 at 4:06 PM, Kishanthan Thangarajah wrote: > Build is failing on MacOS with maven 3.3.3. > > [INFO] --- findbugs-maven-plugin:3.0.2:check (analyze-compile) @ > org.wso2.carbon.gateway --- > [INFO] BugInstance size is 1 >

[Dev] [carbon] Execute a dbscript after feature installation using carbon console

2015-11-11 Thread Charitha Goonetilleke
Hi All, Is it possible to do $subject? My feature has a specific db script to generate a database, which required to feature functionality. So I need to execute that script after successful feature installation. I'm copying required db scripts to $CARBON_HOME/dbscript directory using a touch

[Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-11 Thread Chamara Ariyarathne
Hi All, When a new user is added to EMM, the user will be notified with an email to subscribe a device to MDM domain. The email contains the server url to be accessed from the device. https://localhost:9443/mdm/enrollment In a usual deployment when a EMM cluster is fronted by a LB, this url

Re: [Dev] [PPaaS] Unable to build Released Docker base image Pack

2015-11-11 Thread Reka Thirunavukkarasu
Thanks Gayan for the confirmation. That would be good.. Thanks, Reka On Wed, Nov 11, 2015 at 10:41 AM, Gayan Gunarathne wrote: > Hi Reka, > > On Wed, Nov 11, 2015 at 10:28 AM, Reka Thirunavukkarasu > wrote: > >> Hi >> >> Due to the docker base image pack[1] is

Re: [Dev] [CARBON] Parameterizing the Maven bundle plugin and moving plugin configuration inside carbon-parent pom

2015-11-11 Thread Manuri Amaya Perera
+ architecture@ On Wed, Nov 11, 2015 at 2:46 PM, Manuri Amaya Perera wrote: > Hi, > > Currently for each carbon component's pom file we need to include the > maven bundle plugin. Some of the bundle plugin configuration values such as > group id, artifact id and version are

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Samiyuru Senarathne
Then, can we add the repository to the mss-service-parent and push it to the Maven central? On Wed, Nov 11, 2015 at 2:19 PM, Aruna Karunarathna wrote: > > > On Wed, Nov 11, 2015 at 1:10 PM, Afkham Azeez wrote: > >> Can we push that pom to Maven central? >> > >

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Nipuna Chandradasa
Hi, Sorry for the typing mistake ... you can import the java method for Base64 encoding inside the jaggery and use it ... Regards, On Wed, Nov 11, 2015 at 3:23 PM, Nipuna Chandradasa wrote: > Hi, > > As far as i know there is no inbuilt method for jaggery but u import

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Milinda Perera
We do base64 encoding by our implementation in bpmn-explorer. refer [1] [1] https://github.com/wso2/carbon-business-process/blob/master/components/bpmn/bpmn-explorer-web/src/web/assets/encoder.js On Wed, Nov 11, 2015 at 3:24 PM, Nipuna Chandradasa wrote: > Hi, > > Sorry for

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Inshaf Mahath
Hi Kalpa, You can try on JavaScript to encode and decode base64 string. You can have a look on [1]. [1] http://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript Thanks with best regards, Inshaf On Wed, Nov 11, 2015 at 3:24 PM, Nipuna Chandradasa

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Kalpa Welivitigoda
Thanks all. On Wed, Nov 11, 2015 at 3:32 PM, Inshaf Mahath wrote: > Hi Kalpa, > > You can try on JavaScript to encode and decode base64 string. You can have > a look on [1]. > > [1] > http://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Nipuna Chandradasa
Hi, As far as i know there is no inbuilt method for jaggery but u import the java method for Base64 encoding inside the jaggery and use it Regards, On Wed, Nov 11, 2015 at 3:08 PM, Kalpa Welivitigoda wrote: > Hi all, > > Is the $subject possible? > > My requirement

Re: [Dev] Findbugs error on product-gw build

2015-11-11 Thread Madhuranga Bandara
Hi, I have tried same on MAC OS with mvn 3.3.3 and findbugs-maven-plugin:3.0.2. I could build the product without any issue. i'm using java 8. *Madhuranga Sampath Bandara* Software Engineer WSO2, Inc.;http://wso2.com/

[Dev] Typo in "Deployment Synchronizer" section in carbon.xml file

2015-11-11 Thread Malintha Adikari
Hi, There is a typo[1] in $subject. Found this in APIM 1.10.x pack. [1] Regards, Malintha -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog:http://malinthas.blogspot.com Page: http://about.me/malintha

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Afkham Azeez
On Wed, Nov 11, 2015 at 1:46 AM, Nirmal Fernando wrote: > Do sample poms need a parent at all (if everything is in the maven > central)? IMO they should be self contained. > +1 . Kernel team can you please push the released POMs to Maven central? > > On a related note; License

[Dev] Carbon-mediation-4.4.11 released

2015-11-11 Thread Jagath Sisirakumara Ariyarathne
Hi, Carbon-mediation-4.4.11 released. org.wso2.carbon.mediation carbon-mediation 4.4.11 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev mailing list Dev@wso2.org

Re: [Dev] [EMM-200] Clustering documentation is not available

2015-11-11 Thread Chathurika De Silva
Hi We have to start testing with the deployment once the Alpha is out (the predicted date of release 13.10.2015). Can we please get the deployment guide updated asap? Thank You Erandi On Fri, Nov 6, 2015 at 8:59 AM, Prabath Abeysekera wrote: > Ack! Will share the relevant

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Afkham Azeez
In the samples, we are showing the user how to write their own microservice. We can't show them a sample pom that extends a sample parent. Then we are asking users to write microservices one way and we are writing them another way. Push all the relevant poms to maven central. 2 objectives, 1.

Re: [Dev] [AppFactory][Kubernetes][DevSetup] Issue in appfactory dev setup with kubernates and docker

2015-11-11 Thread Roshan Deniyage
Hi All, Thank for the comments. Once I reconfigured our puppet master and setup the devsetup again, I worked fine. May be due to some issue in puppet configuration. If the issue comes again I'll update the thread. Thanks, Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-11 Thread Geeth Munasinghe
Hi Azeez, In case of URL rewrite by LB, can we handle that by the proxy settings on catalina-server.xml ? Thanks Geeth *G. K. S. Munasinghe* *Senior Software Engineer,* *WSO2, Inc. http://wso2.com * *lean.enterprise.middleware.* email: ge...@wso2.com phone:(+94)

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-11 Thread Jorge Infante
Hi Nayomi. In my SO, windows8, I have not installed hadoop. The Hadoop binary installation is a requirement for DAS 3.0.0? Thanks for your answer, Jorge. -Mensaje original- De: Nayomi Dayarathne [mailto:nay...@wso2.com] Enviado el: lunes, 9 de

Re: [Dev] Findbugs error on product-gw build

2015-11-11 Thread Kishanthan Thangarajah
Not sure if this is environment specific, but there is actually a unused variable at [org.wso2.carbon.gateway.internal.transport.sender.channel.ChannelUtils] At ChannelUtils.java:[line 95] boolean wait = channelLatch.await(bootstrapConfiguration.getConnectTimeOut(), TimeUnit.MILLISECONDS); The

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-11 Thread Afkham Azeez
This is for information purposes only. The mail says the URL we send to the users in the email contains local host. May be you can get the IP address/host from the incoming request and use that. On Wed, Nov 11, 2015 at 3:59 AM, Geeth Munasinghe wrote: > Hi Azeez, > > In case of

[Dev] Deadlock when updating permissions of a user-role in secondary user-store

2015-11-11 Thread Harshan Liyanage
Hi, I'm getting the below exception (intermittent) when trying to update the permissions of a user-role in a secondary user-store (Oracle JDBC userstore). Found a similar bug [1] in Carbon 4.2.0. [2015-11-11 19:17:32,508] WARN {org.wso2.carbon.registry.core.secure.AuthorizeRoleListener} -

[Dev] [DSS] Removing the timezone information from the response

2015-11-11 Thread Niranda Perera
Hi all, DSS (v 3.2.2) adds hosted server timezone to the time data types of response. Eg : 2014-01-11T06:00:00.000 will be converted in to 2014-01-11T06:00:00.000+05:30 Is there a way to avoid this when data does not contains timezone? I tried setting the system variable -Duser.timezone=UTC, but

[Dev] [IS][APPM] Identity version update from 4.5.6 to 5.0.2 in AppM

2015-11-11 Thread Sajith Abeywardhana
Hi IS team, When I'm doing $subject I got below build failure message due to identity version of the *org.wso2.carbon.identity.core* is 5.0.2. ​ So I try to update *org.wso2.carbon.identity.self.registration.server* feature to version 5.0.2. But I couldn't find any greater version than 4.5.6.

Re: [Dev] Findbugs error on product-gw build

2015-11-11 Thread Afkham Azeez
Something wrong in the code. Handle the return boolean value. On Wed, Nov 11, 2015 at 9:28 PM, Madhuranga Bandara wrote: > Seems like this is a system dependant issue in findbugs. > if i remove boolean wait. then it wont compile saying. > > [INFO] Return value of

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-11 Thread Nayomi Dayarathne
Hi Jorge, DAS does not require hadoop binary installation.But it's analytics framework depends on apache hadoop.Please go through the following link [1] for DAS installation on windows.So that you can make sure that the cause of the error is due to your configuration issues or not.Also, make sure

Re: [Dev] Findbugs error on product-gw build

2015-11-11 Thread Madhuranga Bandara
Seems like this is a system dependant issue in findbugs. if i remove boolean wait. then it wont compile saying. [INFO] Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in

Re: [Dev] Blocker in IS authenticator

2015-11-11 Thread Shakila Sivagnanarajah
Hi all, The NullPointerException that I mentioned in the first mail caused due to empty authenticated user. Now I create an authenticated user like [1]. For my case, I don't have any claims. Here I used the tiqr user id as the authenticatedUserId. Still this get failed. I enabled the debug mode

Re: [Dev] Base64 encoding in jaggery

2015-11-11 Thread Dakshika Jayathilaka
Hi, If your using jaggery sso module[1] you can use sso.client.b64encode() as wel. [1] https://github.com/wso2/jaggery-extensions/tree/master/sso Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-11 Thread Sinthuja Ragendran
Hi all, The installation guide seems bit outdated, we will update the documentation, and the public JIRA reported [1] to track this. @Jorge, actually you don't need hadoop or cygwin to run DAS in windows. Can you please elaborate your setup? What is your record store, is it RDBMS (by default H2

[Dev] [BAM 2.5.0] BAM error when wifi connected (seems IPV6 issue)

2015-11-11 Thread Dushan Abeyruwan
Hi Any idea how to resolve this, as soon as wi-fi stopped its working, don't have control to disable IPV6 in my local PC I mean how we could instruct HBase not to look up IPV6 address? r of reduce tasks not specified. Estimated from input data size: 1 In order to change the average load for a

Re: [Dev] [BAM 2.5.0] BAM error when wifi connected (seems IPV6 issue)

2015-11-11 Thread Dushan Abeyruwan
Already reported issue [1] JDK bug seems. I did start BAM 2.5.0 with JDK8v65 [2], then issue resolved, but we never recommend CARBON 4.2.0 to start on JDK 8 [1] https://issues.apache.org/jira/browse/HADOOP-11582 [2] http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8086893 On Wed, Nov 11,

Re: [Dev] [PPaaS] Unable to build Released Docker base image Pack

2015-11-11 Thread Imesh Gunaratne
On Tue, Nov 10, 2015 at 10:58 PM, Reka Thirunavukkarasu wrote: > Also, it would be better, if the docker image could be built even without > phython agent as in standalone, python agent is not needed. So, it is an > additional step to download python agent and locate it in the

Re: [Dev] MSS helloworld sample can't build in clean repo

2015-11-11 Thread Samiyuru Senarathne
+1 for pushing the pom to Maven central. That will provide transparent access to all required artifacts and make the MSS project building very easy. On Wed, Nov 11, 2015 at 1:10 PM, Afkham Azeez wrote: > Can we push that pom to Maven central? > > On Tue, Nov 10, 2015 at 11:31