Re: [Dev] No available task nodes for resolving a task

2016-11-07 Thread Shazni Nazeer
Hi all, Thanks for the responses. I'll configure this in the dev environment and do a test and let know the outcomes. On Tuesday, 8 November 2016, Rajith Vitharana wrote: > > > On 7 November 2016 at 22:47, Sinthuja Ragendran > wrote: > >> Hi, >> >> Have you configured parameter in the task-co

Re: [Dev] No available task nodes for resolving a task

2016-11-07 Thread Rajith Vitharana
On 7 November 2016 at 22:47, Sinthuja Ragendran wrote: > Hi, > > Have you configured parameter in the task-config.xml? > AFAIR the server will wait for the configured number of nodes to be present > before trying to schedule the task. > And here count doesn't include manager node as it won't exe

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread Rajith Roshan
Hi , You don't need to explicitly clear the registry cache. The cache will automatically invalidate within 15 minutes. Or the cache will be cleared when server is re started. The issue you are facing is trying to access the cache using newly crated tenant which causing a security issue. Seems like

Re: [Dev] No available task nodes for resolving a task

2016-11-07 Thread Niranda Perera
Hi all, I agree with @sinthuja here. We've had the same issue in DAS clustering and it is configurable in the task-config.xml Best On Mon, Nov 7, 2016 at 10:47 PM, Sinthuja Ragendran wrote: > Hi, > > Have you configured parameter in the task-config.xml? > AFAIR the server will wait for the co

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Dear experts, Please advice a way to clear up the Registry Cache, which is really good to have. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "wenxzhen"; "Rajith Roshan"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Regi

Re: [Dev] Why Deployment Synchronizer is running from a ScheduledThreadPoolExecutor?

2016-11-07 Thread Kishanthan Thangarajah
DepSynch update/commit on manager node is designed to run with deployment scheduler task. So on every run, we check whether any changes to the local repo and then commit those to remote. The above trace is for doing a svn status check and find whether there are any local file changes (modification,

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Dear experts, Please advice a way to clear up the Registry Cache, which is really good to have. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "wenxzhen"; "Rajith Roshan"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Regi

Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-07 Thread Prakhash Sivakumar
Congrats Shan !!! On Tue, Nov 8, 2016 at 9:51 AM, Irunika Weeraratne wrote: > Congratulations Shan!!! > > Best regards, > Irunika > > *Irunika Weeraratne* > *Software Engineer | WSO2, Inc. * > *Email : irun...@wso2.com * > *LinkedIn : https://lk.linkedin.com/in/irunikaw >

Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-07 Thread Irunika Weeraratne
Congratulations Shan!!! Best regards, Irunika *Irunika Weeraratne* *Software Engineer | WSO2, Inc. * *Email : irun...@wso2.com * *LinkedIn : https://lk.linkedin.com/in/irunikaw * *Mobile : +94712403314* *Lean . Enterprise . Middleware* On T

[Dev] Pass value from request to Rule mediator

2016-11-07 Thread Niranjan Karunanandham
Hi Dev, Is it possible to pass a value (obtained from request) to a Rule mediator? In my use-case, I need to process a response I obtained in the ESB using a Rule mediator based on a value which is obtained in the request from the client. Currently I was able to do it by using a enrich mediator an

Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-07 Thread Eranda Rajapakshe
Congrats Shan! On Tue, Nov 8, 2016 at 7:51 AM, Yasima Dewmini wrote: > Congratz Shan! > > On Mon, Nov 7, 2016 at 11:47 PM, Menaka Jayawardena > wrote: > >> Congratz Shan! >> >> On Mon, Nov 7, 2016 at 1:21 PM, Fathima Dilhasha >> wrote: >> >>> Congratz Shan :) >>> >>> On Mon, Nov 7, 2016 at 1:0

Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-07 Thread Yasima Dewmini
Congratz Shan! On Mon, Nov 7, 2016 at 11:47 PM, Menaka Jayawardena wrote: > Congratz Shan! > > On Mon, Nov 7, 2016 at 1:21 PM, Fathima Dilhasha > wrote: > >> Congratz Shan :) >> >> On Mon, Nov 7, 2016 at 1:05 PM, Thanuja Uruththirakodeeswaran < >> thanu...@wso2.com> wrote: >> >>> Congratz Shan!

Re: [Dev] API Manager - periodic failure of OAuth2Service for AccessTokens via the publisher API

2016-11-07 Thread Vanjikumaran Sivajothy
@malintha, I also facing this in the KM nodes on the distributed deployment. On Mon, Sep 19, 2016 at 4:25 AM, Malintha Amarasinghe wrote: > Hi, > > Can you please share the exact API calls you used to reproduce the issue? > > Thanks! > > On Mon, Sep 19, 2016 at 4:40 PM, Alan Tucker Spida Soluti

Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-07 Thread Menaka Jayawardena
Congratz Shan! On Mon, Nov 7, 2016 at 1:21 PM, Fathima Dilhasha wrote: > Congratz Shan :) > > On Mon, Nov 7, 2016 at 1:05 PM, Thanuja Uruththirakodeeswaran < > thanu...@wso2.com> wrote: > >> Congratz Shan!!! >> >> On Mon, Nov 7, 2016 at 12:14 PM, Niranjan Karunanandham < >> niran...@wso2.com> wr

Re: [Dev] No available task nodes for resolving a task

2016-11-07 Thread Sinthuja Ragendran
Hi, Have you configured parameter in the task-config.xml? AFAIR the server will wait for the configured number of nodes to be present before trying to schedule the task. Thanks, Sinthuja. On Mon, Nov 7, 2016 at 4:57 PM, Dilshani Subasinghe wrote: > Hi Shazni, > > AFAIK this is an expected beh

[Dev] No available task nodes for resolving a task

2016-11-07 Thread Shazni Nazeer
I get the following exception in the manager node when it's started first before worker nodes. Exception doesn't occur if the worker nodes started first. I have a scheduled task deployed in the setup. TID: [-1234] [] [2016-11-03 12:36:36,126] ERROR {org.wso2.carbon.mediation.ntask.NTaskTaskManager

Re: [Dev] WSO2 IS tests automation

2016-11-07 Thread Lakshani Gamage
Hi Hanen, There are IS automation tests in [1]. See if they are useful. [1] https://github.com/wso2/product-is/tree/master/modules/integration/tests-integration/tests-backend Thanks, Lakshani. On Mon, Nov 7, 2016 at 9:35 PM, Hanen Ben Rhouma wrote: > Hello guys, > > Are there some examples fo

[Dev] WSO2 IS tests automation

2016-11-07 Thread Hanen Ben Rhouma
Hello guys, Are there some examples for test automation to WSO2 IS features including Entitlement/Authentication and User management? Regards, Hanen ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread James Ong
Hi Lakshani, That's great. Thank you. Regards, James Ong On Mon, Nov 7, 2016 at 11:45 PM, Lakshani Gamage wrote: > Hi James. > > You can republish APIs and it will regenerate API synapse files according > to updated velocity template. > > Thanks, > Lakshani. > > On Mon, Nov 7, 2016 at 8:06 PM,

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread Lakshani Gamage
Hi James. You can republish APIs and it will regenerate API synapse files according to updated velocity template. Thanks, Lakshani. On Mon, Nov 7, 2016 at 8:06 PM, James Ong wrote: > Hi Lakshani, > > Thanks for sharing, velocity template for new api creation right? mean i > still need to manua

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread James Ong
Hi Lakshani, Thanks for sharing, velocity template for new api creation right? mean i still need to manual insert. Regards, James Ong On Mon, Nov 7, 2016 at 10:29 PM, Lakshani Gamage wrote: > Hi James, > > You can disable chunking by adding a custom sequence as in [2]. To do that > in a single

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread James Ong
Problem solved. because of missing content-length adding following two property to for each API. any way to make this changes centralize? Regards, James Ong On Mon, Nov 7, 2016 at 10:06 PM, James Ong wrote: > Hi Lakshani, > > Based on the debug output, the only difference I suspect is ou

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread Lakshani Gamage
Hi James, You can disable chunking by adding a custom sequence as in [2]. To do that in a single place, use velocity template approach [3]. [2] http://sumedhask.blogspot.com/2015/04/disable-chunking-in- apis-of-wso2-api.html [3] http://hoosierapi.blogspot.com/2014/07/wso2-api-manager-proxing-with

Re: [Dev] API Manager 1.7 Payload missing when reach my app

2016-11-07 Thread James Ong
Hi Lakshani, Based on the debug output, the only difference I suspect is outgoing request is using chunked data. Any possible to just pass the same format as input ? TID: [0] [AM] [2016-11-07 17:34:28,316] DEBUG {org.apache.synapse.transport.http.wire} - >> "POST /authUser/1.0.1 HTTP/1.1[\r][\n

Re: [Dev] No available task nodes for resolving a task

2016-11-07 Thread Dilshani Subasinghe
Hi Shazni, AFAIK this is an expected behavior. I got this issue in ESB cluster. Hope someone in the team will provide a proper answer for that error. Regards, Dilshani On Mon, Nov 7, 2016 at 4:48 PM, Shazni Nazeer wrote: > I get the following exception in the manager node when it's started fir

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Appreciated if anyone can shed some light on how to clear up the Registry Cache. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "Rajith Roshan"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Registry Cache? Hi Rajith, You

[Dev] [IS][Analytics] Implement a new feature to download the summary of security alerts

2016-11-07 Thread Danoja Dias
Hi All, The current IS Analytics Alerts Dashboard shows security alerts with pagination. we need to implement a new functionality to download all security alerts as a PDF file. The current functionality in dashboard server to download as a PDF file, is of limited use since it prints only the pagi

Re: [Dev] Getting null values when converting nested json objects into x-www-form-urlencoded format

2016-11-07 Thread Keerthika Mahendralingam
Created a JIRA ticket for this. [1]. https://wso2.org/jira/browse/ESBJAVA-4947 Thanks. On Thu, Sep 22, 2016 at 10:54 AM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Hi All, > > I am trying to convert json payload which have nested json objects into > x-www-form-urlencoded format. Ne

[Dev] Why Deployment Synchronizer is running from a ScheduledThreadPoolExecutor?

2016-11-07 Thread Isuru Perera
Hi, When analyzing a performance issue using Java Flight Recorder, I noticed that the server is running Deployment Synchronizer task most of the time. Please see the stack trace below. Stack TraceSample CountPercentage(%) java.util.Stack.peek()201.661 org.tmatesoft.sqljet.core.