Re: [Dev] XML Editor for Eclipse Plugins

2016-03-07 Thread Heshitha Hettihewa
Hi Susinda, I tried the link and it allowed me to add the Structured text editor without an error. Thanks for the help. Thanks. On Mon, Mar 7, 2016 at 1:25 PM, Heshitha Hettihewa wrote: > Hi Awanthika, > > Yes, I followed that link to add a structured text editor. > > Thanks > > On Mon, Mar 7,

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

2016-03-07 Thread Udara Liyanage
Hi, Below is the log mediator output. Even the converted xml tag has space in its name. [2016-03-07 14:00:36,587] INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:2b6e4e6d-9180-4083-b06b-d12c08c5178e, Direction: request, Envelop

[Dev] [ESB500][Error]- Delivery Delay property in Cluster Setup

2016-03-07 Thread Dilshani Subasinghe
Hi all, When testing the feature "JMS 2.0:Delivery Delay" [1] in a cluster setup, it gave the following error. Any idea about error or how to solve that ? Any support is highly appreciated. ERROR - Axis2Sender Unexpected error during sending message out javax.jms.JMSRuntimeException: HQ129012:

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

2016-03-07 Thread Udara Liyanage
Hi, We have an call mediator which calls and external API. API response is json. Json properties has spaces in names. { "Department": "ENGINEERING", "Employee Id": "LK", "First Name": "Udara", } ESB converts this to xml, those xml element names also ha

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

2016-03-07 Thread Keerthika Mahendralingam
Hi Udara, Since you are getting JSON response, I think you can use json-eval to get the value form response like, Thanks, On Mon, Mar 7, 2016 at 2:31 PM, Udara Liyanage wrote: > Hi, > > We have an call mediator which calls and external API. API response is > json. Json properties has spaces

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

2016-03-07 Thread Udara Liyanage
Hi, It gives me following error. Below is my synapse configs. ##call external api https://api.peoplehr.net/Query"/> #iterate thru results Sample API

[Dev] ERROR - No trustStore found Error when initializing the DataPublisher

2016-03-07 Thread Sajith Perera
Hi all, I'm currently working on log4j log appender for log analyzer works, In there i used thrift publisher using org.wso2.carbon.databridge.agent.DataPublisher. But getting below error while initiating the data publisher instance. [2016-03-07 14:13:51,516] ERROR {org.wso2.carbon.databridge.agent

Re: [Dev] Calling DSS REST resources using JSON payloads

2016-03-07 Thread Nilmini Perera
Hi all, So I have moved the content on 'Sending JSON payloads to REST resources' from [1] to [2]. As I understand, this section is completely independent of JSON mapping, so it makes sense to remove the content from [1]. Will do the same for DSS 322 as well. [1] https://docs.wso2.com/display/DSS

[Dev] Build error for "WSO2 IoT Server - P2 Profile Gen"

2016-03-07 Thread 云展智创
Hi all, When I compiled and built the product-iot-server(master) project from Github, I got the following error: 'org.wso2.carbon.event.processor.server.feature.group [2.0.12,2.1.0)' but it could not be found. Can anyone help me to pass it? Thanks. Installing org.wso2.stratos.mb.dashboard.ui.

Re: [Dev] [VOTE] Release WSO2 Puppet Modules 1.1.0 RC1

2016-03-07 Thread Imesh Gunaratne
I see few problems in README files [1], [2]: - There is an underscore between the words "secure" and "vault" - A sentence has been duplicated [1] - Has not mentioned why we need secure vault, has only mentioned "Do the below changes in hiera file". [1] https://github.com/wso2/puppet-m

Re: [Dev] [IS][GSOC]Document Based NoSQL Support for WSO2 Identity Server Database

2016-03-07 Thread Mohamed ZAJITH
Hi, Tharindu This is my blog . i will continuously update my work. Sent with MailTrack

[Dev] Libraries to process JSON schema

2016-03-07 Thread Sohani Weerasinghe
Hi All, We are in a process of evaluating the libraries to process JSON schema (read and write) and we found few libraries as listed below: - Jackson [1] - JSON.simple [2] - Gson Based on the findings when comparing the GSON and Jackson [3], it seems Jackson has more complete support th

Re: [Dev] Build error for "WSO2 IoT Server - P2 Profile Gen"

2016-03-07 Thread Yasith Lokuge
Hi, In product-iot-server pom.xml change the "carbon.event-processing" version as follows; 2.0.12 Regards, Yasith Lokuge On Mon, Mar 7, 2016 at 3:32 PM, 云展智创 wrote: > Hi all, > > When I compiled and built the product-iot-server(master) project from > Github, I got the following error: > 'org

Re: [Dev] Libraries to process JSON schema

2016-03-07 Thread Nuwan Pallewela
Hi Sohani, Currently ESB use StAXON library for JSON parsing. So I think we need to compare it too. However another important factor for deciding the library is will it support to manipulate JSON schema. Because may we need to validate the JSON object with the given schema's. Will JSON.simple sup

Re: [Dev] Libraries to process JSON schema

2016-03-07 Thread Harshana Eranga Martin
Hi Sohani, Have you considered Staxon[6]? If I'm not mistaken ESB JsonStreamBuilder and Formatter uses Staxon. I'm sure other wso2 products also uses it. So it would be better if Dev Studio also uses the same library as ESB and other runtime products so that Development and Runtime both relies on

Re: [Dev] GSoC 2016 - Ensemble Methods Support for WSO2 Machine Learner

2016-03-07 Thread Supun Sethunga
[Adding WSO2 Developers mailing list] Hi Dilan, Thank you for your interest in the above project. As we have mentioned in the project proposal as well, the main objective is to integrate ensemble support for the existing flow of the WSO2 Machine Learner. We are focusing on the three methods: Bagg

Re: [Dev] GSoC project for building an ensemble of models

2016-03-07 Thread Supun Sethunga
[Adding WSO2 Developers mailing list] Hi Anurag, Please find my comments inline. First, which boosting model are we going to target-Ada boosting or some > other model, or various models? You can pick any method as you wish. Second, what method would you suggest I use to combine the results of

Re: [Dev] [VOTE] Release WSO2 Puppet Modules 1.1.0 RC1

2016-03-07 Thread Isuru Haththotuwa
Verified the following: 1. IS 5.0.0 and 5.1.0 single node deployment 2. APIM 1.9.1 and 1.10.1 single node deployment [X] Stable - Go ahead and release On Fri, Mar 4, 2016 at 11:08 AM, Chamila De Alwis wrote: > Hi, > > This is the first release candidate of WSO2 Puppet Modules 1.1.0. Plea

Re: [Dev] GSoC - Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-03-07 Thread Isuru Wijesinghe
Hi monish, Thank you for your interest in this project. Basically this BPMN (Business Process Model and Notation) editor has two sections called component-palette section and drawing section. In component-palette section, need to

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

2016-03-07 Thread Rasika Perera
Hi Udara, According to the W3C XML 1.0 Specification you *cannot* have spaces on the XML element name. To be precise; [4a] NameChar::=NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040] [5]Name::=NameSta

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

2016-03-07 Thread Jonathan Marsh
FWIW, XML also requires attributes to have the =”” part. Looks like we are using a buggy JSON-XML conversion library if it’s generating malformed XML. If our XPath is working on that at all it’s also buggy. There is no convention in XML itself for escaping spaces in names, it will have to be a c

[Dev] [DAS] Error in clearing index data: Unable to delete directory

2016-03-07 Thread Udara Rathnayake
Hi, Noticed following error[1] while running DAS 3.0.1 on a windows environment. After a server restart, I don't see this now. What can be the cause? [1]. [2016-03-07 14:48:01,456] ERROR {org.wso2.carbon.analytics.spark.core.sources.A alyticsRelation} - Error while inserting data into table dai

Re: [Dev] [DAS] Error in clearing index data: Unable to delete directory

2016-03-07 Thread Udara Rathnayake
noticed same after ~20 mins.. On Mon, Mar 7, 2016 at 3:10 PM, Udara Rathnayake wrote: > Hi, > > Noticed following error[1] while running DAS 3.0.1 on a windows > environment. > After a server restart, I don't see this now. What can be the cause? > > [1]. > > [2016-03-07 14:48:01,456] ERROR > {or

Re: [Dev] ERROR - No trustStore found Error when initializing the DataPublisher

2016-03-07 Thread Omindu Rathnaweera
Hi Sajith, >From looking at [1], it seems the AgentHolder first tries to load the truststore property from the data-agent-config.xml and then from the system property javax.net.ssl.trustStore if it's not there in the config file. The error seems to occur because the property is not set in either o

Re: [Dev] Regarding GSOC 2016 project 21

2016-03-07 Thread Tharindu Edirisinghe
Hi Asantha, Great ! We'll review the work and share our feedback soon. Meanwhile you can start a blog and write your experiences too. Since you have got the understanding of userstore managers, now you can directly jump into the implementation of the project as well. Regards, TharinduE On Sun, M

[Dev] WSO2 DAS: SPARK SQL query with UNION producing errors

2016-03-07 Thread Charini Nanayakkara
Hi, The following query was attempted to be executed when performing batch analytics with WSO2 DAS using Spark SQL. Tables 'First', 'Middle' and 'Third' are required to be combined and written to table 'All_three'. INSERT OVERWRITE TABLE All_three SELECT SYMBOL, VOLUME FROM First UNION SELECT SYMB

Re: [Dev] Build error for "WSO2 IoT Server - P2 Profile Gen"

2016-03-07 Thread 云展智创
Hi Yasith, Thank you very much. Your solution helped me to pass the installation of WSO2 Carbon - Analytics Event Table Server Feature 1.0.6.SNAPSHOT. But now I got another error of missing 'org.wso2.carbon.device.mgt.server.feature.group [1.0.4.SNAPSHOT,1.1.0)’ And before building IoT Server,

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

2016-03-07 Thread Rasika Perera
​Hi Jonathan, Please find the inline comments. ​ > If it were me I’d try a workaround transforming the spaces to underscores > or something in the JSON before converting it to XML, and file some JIRAs > on the buggy conversion algorithm. ​Agreed. totally +1.​ Probably replacing with an unusable

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

2016-03-07 Thread Udara Liyanage
Hi, Yes, I also think it is a bug in json to xml conversion. I will create a jira for this. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Fwd: [GSoC 2016] [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-03-07 Thread Hasitha Jayasundara
-- Forwarded message -- From: Hasitha Jayasundara Date: Tue, Mar 8, 2016 at 9:53 AM Subject: [GSoC 2016] [ML] Ensemble Methods Support for WSO2 Machine Learner To: d...@wso2.com Cc: nir...@wso2.com, sup...@wso2.com Dear Sir, I am an undergraduate of University of Moratuwa depart

Re: [Dev] [GSoC 2016] [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-03-07 Thread Supun Sethunga
[looping dev] On Tue, Mar 8, 2016 at 10:01 AM, Supun Sethunga wrote: > Hi Hasitha, > > Thank you for your interest in the above project. As we have mentioned in > the project proposal as well, the main objective is to integrate ensemble > support for the existing flow of the WSO2 Machine Learner

Re: [Dev] ERROR - No trustStore found Error when initializing the DataPublisher

2016-03-07 Thread Sajith Perera
Hi Omindu, Thanks for the suggestions. I have checked the following configuration files [1],[2], [1] wso2cep-4.1.0/repository/conf/data-bridge/data-agent-config.xml [2] wso2am-1.10.0/repository/conf/data-bridge/thrift-agent-config.xml And observed that by default they were commented as on produc

Re: [Dev] [VOTE] Release WSO2 Puppet Modules 1.1.0 RC1

2016-03-07 Thread Chamila De Alwis
Hi, This vote is now cancelled to correct the above mentioned issues. Regards, Chamila de Alwis Committer and PMC Member - Apache Stratos Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Mon, Mar 7, 2016 at 6:21 PM, Isuru Haththotuwa wrote: > Verified the following:

Re: [Dev] ERROR - No trustStore found Error when initializing the DataPublisher

2016-03-07 Thread Omindu Rathnaweera
You can try pointing them to trust-stores in respective products. Generally it's located at /repository/resources/security/ directory. Regards, Omindu. On Tue, Mar 8, 2016 at 10:09 AM, Sajith Perera wrote: > Hi Omindu, > > Thanks for the suggestions. > I have checked the following configuration

Re: [Dev] Build error for "WSO2 IoT Server - P2 Profile Gen"

2016-03-07 Thread Yasith Lokuge
Hi Zhanwen, Get the updated carbon-device-mgt-plugins branch:IoTS-1.0.0-M4 and build it. https://github.com/wso2/carbon-device-mgt-plugins branch:IoTS-1.0.0-M4 and build the following component as well, https://github.com/ruwany/carbon-analytics-common branch:master Then build the product-iot

Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-07 Thread Mahesh Dananjaya
Hi Maheshakya, great.thank you.i already have ML and CEP and working more towards it. does that Scala API is with your current product or repo?. thank you. BR, Mahesh. On Sun, Mar 6, 2016 at 5:49 PM, Maheshakya Wijewardena wrote: > Hi Mahesh, > > Please find the comments inline. > > does data s

Re: [Dev] Build error for "WSO2 IoT Server - P2 Profile Gen"

2016-03-07 Thread Yasith Lokuge
Hi, In product-iot-server pom.xml change the version as follows; 2.0.12 Regards, Yasith Lokuge Yasith Lokuge Software Engineer M: +94 7713 53682 | E: yas...@wso2telco.com Skype for Business: yas...@wso2telco.com www.wso2telco.com

Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-07 Thread Maheshakya Wijewardena
Hi Mahesh, does that Scala API is with your current product or repo? No, we don't have the Scala API included. What we want is to design the Java implementations of those algorithms to train with mini-batches of streaming data with the help of the aforementioned methods so that we can include in

Re: [Dev] [DAS] Error in clearing index data: Unable to delete directory

2016-03-07 Thread Niranda Perera
Hi Udara, what are the datasources you are using here? RDBMS? best On Tue, Mar 8, 2016 at 1:56 AM, Udara Rathnayake wrote: > noticed same after ~20 mins.. > > On Mon, Mar 7, 2016 at 3:10 PM, Udara Rathnayake wrote: > >> Hi, >> >> Noticed following error[1] while running DAS 3.0.1 on a windows

[Dev] Aggregate feature for event publishing

2016-03-07 Thread Malith Dhanushka
Hi CEP team, I tried to configure a vanilla carbon server to publish events to DAS by installing event publisher features. So following are the features that i had to install to get it working. Application Deployer Event Processing Data Bridge - Data Publisher Aggregate Event Processor Event Proc

Re: [Dev] WSO2 DAS: SPARK SQL query with UNION producing errors

2016-03-07 Thread Niranda Perera
Hi Charini, there is a problem with the query here. use the following query INSERT OVERWRITE TABLE All_three select * from ( SELECT SYMBOL, VOLUME FROM First UNION SELECT SYMBOL, VOLUME FROM Middle UNION SELECT SYMBOL, VOLUME FROM Third ) temp; Essentially what we do here is, wrapping the unio

Re: [Dev] WSO2 DAS: SPARK SQL query with UNION producing errors

2016-03-07 Thread Charini Nanayakkara
Hi Niranda, Thanks a lot! this worked On Tue, Mar 8, 2016 at 12:50 PM, Niranda Perera wrote: > Hi Charini, > > there is a problem with the query here. use the following query > > INSERT OVERWRITE TABLE All_three > > select * from ( > SELECT SYMBOL, VOLUME FROM First > UNION > SELECT SYMBOL, VOLU