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

2016-03-09 Thread 云展智创
Ruwan, Thank you very much! Now I can start the IoTS. I remember I had pull all the updates on Tuesday, but anyway, you solve my problem. Thanks again. -- Zhanwen API & IOT Management 在 2016年3月10日,下午2:07,Ruwan Yatawara 写道: > Hi Zhawen, > > We have on-going development

Re: [Dev] [ESB] Message processors support to On Store Sequence

2016-03-09 Thread Dilshani Subasinghe
Hi all, Found the solution for particular issue. Error indicating about failing to connect deactivate sequence. * WARN - ForwardingService Failed to send the message through the deactivate sequence. Sequence name does not Exist.* According to configuration, after maximum delivery attempts, it

Re: [Dev] [AppCloud] Sending a file to jeggery rest api through java code

2016-03-09 Thread Manuranga Perera
Does it work if you upload through the browser? If yes, put tcpmon in-front and see how your request is different form the browser request. On Thu, Mar 10, 2016 at 11:38 AM, Danushka Fernando wrote: > Hi All > I am trying to do $subject for a test case. Tried with sending

Re: [Dev] Adding an array of objects to a JSON dataservice

2016-03-09 Thread Chanika Geeganage
Hi Dulith, In your request there shouldn't have an '_' between the http method and the resource path. In your case, it should be _postr_batch_req not _post_r_batch_req Same applies to _post_r Thanks On Thu, Mar 10, 2016 at 9:30 AM, Chanika Geeganage wrote: > Hi Dulitha,

Re: [Dev] [AS 6.0.0] HTTP Monitoring dashboard - Required DS Enhancements

2016-03-09 Thread Nipuna Chandradasa
Hi Lochana, 1st requirement, drill down navigation, is implemented and will be reviewed EOD. How it works is there is a exposed functionality by dashboard server which can be access by any gadget and callback function can be pass as a parameter to that function. After a event which navigate to a

[Dev] [AppCloud] [Automation] Reading a file from resources folder

2016-03-09 Thread Danushka Fernando
Hi I am trying to do $subject in a test case. I tried code below. Didn't work. Can some one shed some light here. ClassLoader classLoader = getClass().getClassLoader(); File uploadArtifact = new File(classLoader.getResource(resourcePath).getFile()); Thanks & Regards Danushka Fernando Senior

Re: [Dev] [App Cloud] Test Automation HTTP Client issue

2016-03-09 Thread Danushka Fernando
Sorry for the noise. Seems I haven't compiled the changed code. ;). :D. :D. :D Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 10, 2016 at 10:09 AM, Dharshana Warusavitharana < dharsha...@wso2.com> wrote: > Hi Danushka, >

[Dev] [AppCloud] Sending a file to jeggery rest api through java code

2016-03-09 Thread Danushka Fernando
Hi All I am trying to do $subject for a test case. Tried with sending the file and the file input stream. Both didn't work. What should I send here. In Jaggery side its retrieving by request.getFile(). Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile :

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

2016-03-09 Thread Ruwan Yatawara
Hi Zhawen, We have on-going development happening on the aforementioned set of branches. The CXF error you have quoted is something we have fixed some time ago. Can you please verify if you have taken latest pulls from the branches? Thanks and Regards, Ruwan Yatawara Senior Software Engineer,

Re: [Dev] DSS insert with values with spaces and special characters

2016-03-09 Thread Udara Liyanage
Hi Chanika, After escaping text from client side, I was able to get the issue resolved. However is there any way where we can ask DSS to escape/parse those values by modifying query or some mechanism. On Thu, Mar 10, 2016 at 10:55 AM, Udara Liyanage wrote: > Hi Chanika, > >

[Dev] Postgres issue with both autoCommit true and false

2016-03-09 Thread Pramod Thakur
Hi, I am getting the following error in wso2 api manager if the true Again if i will make it false false then there is connection issue, it is not able to retrive connection from the pool, what is the solution. org.postgresql.util.PSQLException: Cannot commit when autoCommit is enabled.

Re: [Dev] Session Affinity in Kubernetes

2016-03-09 Thread Imesh Gunaratne
On Thu, Mar 10, 2016 at 10:49 AM, Nishadi Kirielle wrote: > Hi all, > I have only tested for http traffic earlier. Although the kubernetes > service loadbalancer template has support for https, when I have deployed > an application ( dell/tomcat ) which has the support for

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

2016-03-09 Thread 云展智创
Hi all, After several build tries, the error message were the same as below for every devices: >> [2016-03-08 17:05:40,729] ERROR >> {org.apache.catalina.core.ApplicationContext} - StandardWrapper.Throwable >> org.springframework.beans.factory.BeanCreationException: Error creating bean >>

Re: [Dev] Native Cloud Support for Running WSO2 Middleware on RedHat OpenShift

2016-03-09 Thread Noel Yahan
Yes of course, Please let me know what time works best for you. Thanks ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] DSS insert with values with spaces and special characters

2016-03-09 Thread Udara Liyanage
Hi Chanika, Now I escapded the value using StringEscapeUtils.escapeHtml. But still it throws a similar error. Escaped value: role=Lead - HR Administration On Thu, Mar 10, 2016 at 10:41 AM, Chanika Geeganage wrote: > Hi Udara, > > White spaces are parsed without any issue.

Re: [Dev] Session Affinity in Kubernetes

2016-03-09 Thread Nishadi Kirielle
Hi all, I have only tested for http traffic earlier. Although the kubernetes service loadbalancer template has support for https, when I have deployed an application ( dell/tomcat ) which has the support for https, the ha proxy load balancer did not identify it as a https service in the haproxy

Re: [Dev] DSS insert with values with spaces and special characters

2016-03-09 Thread Chanika Geeganage
Hi Udara, White spaces are parsed without any issue. For the character & you can pass it as '' or wrap it within CDATA.For an example, Thanks On Thu, Mar 10, 2016 at 9:59 AM, Udara Liyanage wrote: > Hi, > > I have below query in my DSS configs. However this fails when

[Dev] [ESB] - XSLT mediator: Features

2016-03-09 Thread Chathurika De Silva
Hi ESB team The $subject, the documentation gives http://ws.apache.org/ns/synapse/transform/feature/dom as the example. Is there any predefined feature list that can be used here? Thank You Erandi -- *Chathurika Erandi* Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com *Mobile:

Re: [Dev] Browse registry resource filtering by media type

2016-03-09 Thread Danesh Kuruppu
Hi Awanthika, We cannot filter resources in Registry browser. for your case, you need to use registry search to filter results. Anyway media type is attached in the registry resource. We can check the mediatype of the resource once we retrieved the registry resource. Thanks Danesh On Thu, Mar

Re: [Dev] [App Cloud] Test Automation HTTP Client issue

2016-03-09 Thread Dharshana Warusavitharana
Hi Danushka, HTTP client you used is quite out dated We have two new rest clients designed to work generically using wink and JAX-RS2. We are moving the generic client to the automation utility space so you can useit. For now please refer G-Reg Store- publisher test cases for reference. We will

Re: [Dev] Regarding GSOC 2016 project 21

2016-03-09 Thread Tharindu Edirisinghe
Hi Asantha, Shall we have a hangout session tonight (Between 9.00 p.m to 11.00 p.m) so I can give you some help with the implementation. Regards, TharinduE On Thu, Mar 10, 2016 at 10:04 AM, Asantha Thilina wrote: > hi tharindu, > i'm working on implementation of

Re: [Dev] Regarding GSOC 2016 project 21

2016-03-09 Thread Asantha Thilina
hi tharindu, i'm working on implementation of user store for mongodb i have a small problem regarding build the user store project packaging as jar instead of bundle when i build the jar file and add to lib folder in identity server it's not throwing any error but it not showing my user store

Re: [Dev] If OUT_ONLY is true, call mediator failed to send the request body to backend service

2016-03-09 Thread Nuwan Wimalasekara
Hi Viraj/Isuru, Thanks for the response. I debug the code and found that message is cloning properly with buffer. But the problem is when try to send the request body to backend by the TargetHandler, the buffer has zero length content. That is why, it does not send the message body to backend.

Re: [Dev] [APIM]Why API Import/Export only through HTTPS?

2016-03-09 Thread Thilini Cooray
Hi Abimaran, This was designed to check role as we wanted to restrict import export access only to admin users. This is because the user who accesses this tool gets the capability to export any API available in his tenant. Users with only create and publish permissions should not be able to

[Dev] DSS insert with values with spaces and special characters

2016-03-09 Thread Udara Liyanage
Hi, I have below query in my DSS configs. However this fails when values have spaces or special characters &. INSERT INTO employees(Employee_Id,First_Name,Last_Name,Work_Email,Gender,Job_Role,Department,Reports_To,Product,) VALUES ( :id,

[Dev] [App Cloud] Test Automation HTTP Client issue

2016-03-09 Thread Danushka Fernando
Hi All I am currently working on developing test cases for appcloud. Here I have reused the code we developed for app factory. We are executing the tests via the rest api of the jaggery app. Here also as same as App Factory we are first calling the login rest api get the session and then calling

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

2016-03-09 Thread Dilshani Subasinghe
Hi all, Added a jira issue[1] for particular error. [1] - https://wso2.org/jira/browse/ESBJAVA-4474 Regards, Dilshani On Mon, Mar 7, 2016 at 2:06 PM, Dilshani Subasinghe wrote: > Hi all, > > When testing the feature "JMS 2.0:Delivery Delay" [1] in a cluster setup, > it

Re: [Dev] If OUT_ONLY is true, call mediator failed to send the request body to backend service

2016-03-09 Thread Isuru Udana
Hi Nuwan, We are cloning the message because we need to keep the original message to proceed with the rest of the meditators in the message flow. We we do not clone at the Call, since the stream is getting consumed for the first invocation, we won't be able to continue. Thanks. On Wed, Mar 9,

Re: [Dev] Adding an array of objects to a JSON dataservice

2016-03-09 Thread Chanika Geeganage
Hi Dulitha, I did a quick test and JSON batch insert works fine. Have you enabled batch requests in the data service? Can you please send the dataservice config. Thanks On Thu, Mar 10, 2016 at 8:49 AM, Dulitha Wijewantha wrote: > Hi guys, > Is it possible for me to add an

[Dev] Browse registry resource filtering by media type

2016-03-09 Thread Awanthika Senarath
Hi, Is $subject doable? We have a requirement in Developer Studio to load registry resources and process them separately accorgin to they file type. For an example if it is an XML , XSD or a JSON we need to process them in separate methods. Currently we are retrieving only the resource path

[Dev] Adding an array of objects to a JSON dataservice

2016-03-09 Thread Dulitha Wijewantha
Hi guys, Is it possible for me to add an array of objects to the data service? I have looked at the possibility of Batch queries ( https://github.com/wso2/product-dss/blob/master/modules/samples/dbs/rdbms/BatchRequestSample.dbs and docs - https://docs.wso2.com/display/DSS350/JSON+Mapping+Sample)

Re: [Dev] (no subject)

2016-03-09 Thread Isuru Haththotuwa
Hi Hardik, Nice to see your interest in the project. You do not need external hardware, can setup Openshift locally using Docker [1]. The basic requirement is to get WSO2 middleware products running in OpenShift. As a starting point, please get an understanding of how you can deploy a WSO2

[Dev] [ESB] Message processors support to On Store Sequence

2016-03-09 Thread Dilshani Subasinghe
Hi ESB Team, When I am configuring Store mediator, I created an On Store Sequence. *http://ws.apache.org/ns/synapse ">http://ws.apache.org/ns/synapse "/>* Then I created another sequence with a store mediator (Store

Re: [Dev] Native Cloud Support for Running WSO2 Middleware on RedHat OpenShift

2016-03-09 Thread Noel Yahan
Hi All, I did some research and I was able to deploy several wso2 servers using docker images in openshift v3 (WSO2 Jaggery and WSO2 ESB). I went through [1] to get overall understanding how docker and kubernetes work together with new openshift.I wrote 2 dockerfiles for wso2-jaggery [3] and

Re: [Dev] [APIM]Why API Import/Export only through HTTPS?

2016-03-09 Thread Abimaran Kugathasan
Hi Thilini, So, we can have admin role without any permissions set it. Will this work? Why this was designed to check the role, not permission? On Tue, Mar 8, 2016 at 10:39 PM, Thilini Cooray wrote: > Hi Abimaran, > > At the moment this tools functioning based on role based

[Dev] [DEV] WSO2 App Manager 1.2.0 Milestone 2 Released

2016-03-09 Thread Lahiru Cooray
Hi All, WSO2 App Manager team pleased to announce the WSO2 APP Manager 1.2.0 - Milestone 2 release. It contains following new features, improvements and bug fixes. You can download this distribution from below link. *http://builder1.us1.wso2.org/~appm/release-1.2.0/M2/wso2appm-1.2.0-M2.zip

Re: [Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Seshika Fernando
Only thing is then we will have to create multiple columns for the different dimensions - eg:- username/eventid, role/eventid, IDP/eventId etc; On Wed, Mar 9, 2016 at 9:25 PM, Gimantha Bandara wrote: > Hi all, > > I think we cannot use primary keys since this table has row

Re: [Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Gimantha Bandara
Hi all, I think we cannot use primary keys since this table has row data and same eventId can have multiple roles associated with the same username. We need the role information. If we define primary keys we will probably have only one record per eventId, because the last record that comes with

Re: [Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Rukshan Premathunga
Hi all, we need this two level of grouping is due to duplicated rows right? in that case can we define the userName, authSuccess as primary key when persist. Then this duplication will not occur and unique rows will persist. If it worked we can use the query damith mention earlier, right? If it

Re: [Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Seshika Fernando
Hi Rukshan, Could you clarify whether we need to create a seperate row for this? My understanding of facets was that you can combine fields and create facets, without creating a column (that combines other fields) explicitly. seshi On Wed, Mar 9, 2016 at 8:03 PM, Damith Wickramasinghe

Re: [Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Damith Wickramasinghe
Hi Rukshan, Thanks for the response. For above approach we need to have another column which has comma separated values for the facet values which is not having in my row data table at the moment. I was thinking of finding a way to achieve it without creating this additional field. @seshika if

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-09 Thread Vivekananthan Sivanayagam
Hi Malaka , We had a screen sharing and this is solved now. It is working fine. The problem was in a configuration of authentication part. @Anuruddha Thank you for helping and to solve this issue. *Thank youVivekananthan Sivanayagam* *Associate Software Engineer | WSO2*

Re: [Dev] If OUT_ONLY is true, call mediator failed to send the request body to backend service

2016-03-09 Thread Viraj Senevirathne
Hi Nuwan, In call mediator if OUT_ONLY is true it will clone the message and will send that new message context to the backend. If there are other mediators after call mediator mediation will continue with the original message context. This is happening as call mediator is a non blocking sender

[Dev] If OUT_ONLY is true, call mediator failed to send the request body to backend service

2016-03-09 Thread Nuwan Wimalasekara
Hi Call mediator is not submitting the request body to backend service if OUT_ONLY is true. When the TargetHandler try to send the message body by reading the Buffer_source, It already got cleared. The problem is that inside the call mediator, messageContext is cloned. Then the buffer is not

[Dev] DAS Lucene Query group by using multiple fields

2016-03-09 Thread Damith Wickramasinghe
Hi, Assume following row data set is persisted in DAS for stream definition of eventId , userName, authSuccess . 1,user1,true 1,user1,true 2,user1,true 3,user2,true 3,user2,true 3,user2,true 4,user3,true 4,user3,true 5,user3,true 6,user3,true I need to query above data set and get per user

Re: [Dev] Aggregate feature for event publishing

2016-03-09 Thread Mohanadarshan Vivekanandalingam
Hi All, We have created the aggregate feature for event publisher and committed to carbon-analytics-common repo... Please find it in [1].. [1] https://github.com/wso2/carbon-analytics-common/tree/master/features/event-publisher/org.wso2.carbon.event.publisher.aggregate.feature Thanks, Mohan

[Dev] Restructuring Kubernetes-Artifacts and Docker-Artifacts

2016-03-09 Thread Vishanth Balasubramaniam
Hi, Now that we are planning to move the docker artifacts to a separate git repository from wso2/kubernetes-artifacts. I would like to propose the following directory structure for the Kubernetes-Artifacts [1] and Docker-Artifacts repositories. wso2/kubernetes-artifacts |--- common |--- |---

[Dev] Synapse-2.1.7-wso2v2 Released

2016-03-09 Thread Viraj Senevirathne
Hi, Please note $subject. org.apache.synapse Apache-Synapse 2.1.7-wso2v2 Thanks, -- Viraj Senevirathne Software Engineer; WSO2, Inc. Mobile : +94 71 958 0269 Email : vir...@wso2.com ___ Dev mailing list Dev@wso2.org

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-09 Thread Malaka Silva
Great thx Anuruddha. On Wed, Mar 9, 2016 at 3:56 PM, Anuruddha Premalal wrote: > Hi Malaka, > > My setup in a VM. Will join a for a screen sharing session with Vivek. > > On Wed, Mar 9, 2016 at 3:40 PM, Malaka Silva wrote: > >> Hi Anuruddha, >> >> I think

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-09 Thread Anuruddha Premalal
Hi Malaka, My setup in a VM. Will join a for a screen sharing session with Vivek. On Wed, Mar 9, 2016 at 3:40 PM, Malaka Silva wrote: > Hi Anuruddha, > > I think you already have the setup? Great if you could share it > with Vivekananthan if possible? > > On Wed, Mar 9, 2016

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-09 Thread Malaka Silva
Hi Anuruddha, I think you already have the setup? Great if you could share it with Vivekananthan if possible? On Wed, Mar 9, 2016 at 1:38 PM, Vivekananthan Sivanayagam < vivekanant...@wso2.com> wrote: > Hi Anuruddha, > > I have tried and getting same error again. > > > > > > > *Thank

Re: [Dev] Installing IBM Websphere MQ

2016-03-09 Thread Mahesh Chinthaka
Thanks Aruna On Wed, Mar 9, 2016 at 2:23 PM, Aruna Karunarathna wrote: > > > On Wed, Mar 9, 2016 at 2:18 PM, Mahesh Chinthaka wrote: > >> Hi, >> >> Has anybody tried $subject. >> Im trying to do [1]. But facing some issues on installing IBM MQ on my >>

Re: [Dev] Improvement to Maven archtype

2016-03-09 Thread Sumedha Rubasinghe
Resending. Bounced back. On Wed, Mar 9, 2016 at 2:28 PM, Sumedha Rubasinghe wrote: > But this a programmer that we are talking about. > > It's contract first vs code first IMO. > Our current approach is more close to code first now (and its not that bad > IMO). > > > > On Wed,

Re: [Dev] [CEP] How to enable tracing when execution plans deployed via CApp

2016-03-09 Thread Nirmal Fernando
Thanks Tishan! On Wed, Mar 9, 2016 at 2:31 PM, Tishan Dahanayakage wrote: > Nirmal, > > You can add annotation '@Plan:trace('true')' just after '@Plan:name' > annotation. > > Thanks > Tishan > > On Wed, Mar 9, 2016 at 2:19 PM, Nirmal Fernando wrote: > >>

Re: [Dev] [CEP] How to enable tracing when execution plans deployed via CApp

2016-03-09 Thread Tishan Dahanayakage
Nirmal, You can add annotation '@Plan:trace('true')' just after '@Plan:name' annotation. Thanks Tishan On Wed, Mar 9, 2016 at 2:19 PM, Nirmal Fernando wrote: > $subject please? > > -- > > Thanks & regards, > Nirmal > > Team Lead - WSO2 Machine Learner > Associate Technical

Re: [Dev] Installing IBM Websphere MQ

2016-03-09 Thread Aruna Karunarathna
On Wed, Mar 9, 2016 at 2:18 PM, Mahesh Chinthaka wrote: > Hi, > > Has anybody tried $subject. > Im trying to do [1]. But facing some issues on installing IBM MQ on my > machine. > Im using a Mac with Os X. > I tried to install in Ubuntu, but unable to do so. But installed in

[Dev] [CEP] How to enable tracing when execution plans deployed via CApp

2016-03-09 Thread Nirmal Fernando
$subject please? -- Thanks & regards, Nirmal Team Lead - WSO2 Machine Learner Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org

[Dev] Installing IBM Websphere MQ

2016-03-09 Thread Mahesh Chinthaka
Hi, Has anybody tried $subject. Im trying to do [1]. But facing some issues on installing IBM MQ on my machine. Im using a Mac with Os X. [1] - https://docs.wso2.com/display/ESB481/Configure+with+IBM+WebSphere+MQ -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean.

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

2016-03-09 Thread Mohamed ZAJITH
Hi all, I have created a simple article on *Migrating from MySQL DB to MongoDB* http://blog.iamzajith.com/2016/03/migrating-from-mysql-db-to-mongodb.html

Re: [Dev] [GSOC'16] Proposal 3 : Visual (Deep) Neural Network Builder

2016-03-09 Thread Supun Sethunga
Hi Vimuth, For project Proposal 3, 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: Bagging, Boosting and Stacking. Since you have already run the

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-09 Thread Vivekananthan Sivanayagam
Hi Anuruddha, I have tried and getting same error again. *Thank youVivekananthan Sivanayagam* *Associate Software Engineer | WSO2* *E:vivekanant...@wso2.com * *M:+94752786138* On Wed, Mar 9, 2016 at 12:05 PM, Anuruddha Premalal wrote: >

Re: [Dev] Regarding GSoC2016 project

2016-03-09 Thread Upul Bandara
Hi Anurag, The objective of the "Visual Neural Network Builder" project is to create a Neural Network UI front-end for WSO2 Machine Learner. UI front-end will help people to quickly try out different Neural Network configurations. As the initial step, you have to create a project proposal and