[Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Dushantha Batuwita
Hi Dev I have installed the nginx and when I try starting the nginx, I receive following error. sudo service nginx start Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. when I check the

Re: [Dev] [EI] Car application with only registry resources

2017-11-28 Thread Senduran Balasubramaniyam
+1 for fixing this. since G-Reg is no longer active Anyway Godwin, if you have created a ESB solution project the server role is by default set to EnterpriseServiceBus On Tue, Nov 28, 2017 at 2:17 PM, Vinod Kavinda wrote: > Hi Godwin, > Thanks for the update. Reported the issue

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Sandun Perera
It seems your port is currently in use. Use *fuser -k 80/tcp* On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx and when I try starting the nginx, I > receive following error. > > sudo service nginx start > > Job for

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senuwan Withana
Hi Dushantha, Its seems your port is already used. Please check on it again Thanks, *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com Mobile: 94773212853 Web: http://www.wso2.com On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote:

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Anuruddha Liyanarachchi
Hi Nuwan, Are you using a load balancer to access the KM node? A similar issue is discussed in mail thread[1] where nginx sending a wrong certificate if the client doesn't send SNI information to the server. [1] Publisher/Store nodes are throwing an error "unable to find valid certification path

Re: [Dev] [Validate Mediator] JSON validation issue

2017-11-28 Thread Senduran Balasubramaniyam
Your payload factory contains an invalid JSON On Fri, Nov 24, 2017 at 7:27 PM, Lahiru Cooray wrote: > Hi team, > Im using ESB 5.0.0 and trying to validate a json payload against a schema. > Below is my sample synapse code snippet > > > > >

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Nuwan Silva
yes seems its the same issues. I was able to resolve it by following the steps in that thread. Cheers, NuwanS. On Tue, Nov 28, 2017 at 3:31 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Nuwan, > > Are you using a load balancer to access the KM node? A similar issue is >

Re: [Dev] Exception in SOAP to JSON conversion

2017-11-28 Thread Piriya Sivalingam
Hi Thilini, Thank you for the explanation and according to Buddhimala I have added a custom response for the status code 202 and it works fine. Thanks. Piriya On Mon, Nov 20, 2017 at 9:53 AM, Thilini Shanika wrote: > Hi Priya, > > It seems like you are getting a SOAP

[Dev] BPEL reply

2017-11-28 Thread Melodias
Hi, It is possible to do process in the next steps: 1. Receive Input 2. Prepare Reply message 3. send reply 4. do somethink like invoke backend When I call process, I get Reply after step 4, not in step 3 -- Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Thivya Mahenthirarasa
Hi Dushantha, It seems the port 80 is already in use on your local machine. It is an Apache port. You need to kill the processes running and restart the Nginx server again. On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
It seems something else is already running on your port 80 On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx and when I try starting the nginx, I > receive following error. > > sudo service nginx start > > Job for

Re: [Dev] [EI] Car application with only registry resources

2017-11-28 Thread Shazni Nazeer
+1 for fixing this. This is common nuisance when deploying registry artifacts, usually when we add new artifacts through the devS UI at times the ones which had 'EnterpriseServiceBus' reverts back to ' GovernanceRegistry'. On Tue, Nov 28, 2017 at 5:46 AM, Senduran Balasubramaniyam <

Re: [Dev] BPEL reply

2017-11-28 Thread Milinda Perera
Hi, This issue can be solved by adding Wait activity after the Reply activity. Adding Wait will break executing the activities synchronously. Please refer [1] for more information. [1] https://wso2.org/jira/browse/BPS-583 Thanks, Milinda On Tue, Nov 28, 2017 at 5:55 PM, Melodias

[Dev] What is the use of IDN_IDENTITY_META_DATA?

2017-11-28 Thread Dulanja Liyanage
Hi All, $subject. I'm trying to understand the affect of a username change and came across this table. Thanks, Dulanja -- Thanks & Regards, Dulanja Liyanage Lead, Platform Security Team WSO2 Inc. ___ Dev mailing list Dev@wso2.org

Re: [Dev] Problem with IP level throttling in distributed setup

2017-11-28 Thread Buddhimala Ranasinghe
Hi Dinusha,Irham, I tried header condition throttling as well. The same behavior can be observed in there also. Throttling out occurs after the default limit and not after the condition request limit. Thanks On Wed, Nov 29, 2017 at 12:18 PM, Dinusha Dissanayake wrote: > Hi

Re: [Dev] [EI] Car application with only registry resources

2017-11-28 Thread Senduran Balasubramaniyam
The reason for this is, initially the developer studio was across the platform, so the server role was there to distinguish the artifacts. But since now we have the EI / ESB tooling we can have the EnterpriseServiceBus as the default role. On Tue, Nov 28, 2017 at 11:07 PM, Shazni Nazeer

[Dev] [WUM] wum diff copying file to the current relative path except for .wum-wso2 directory

2017-11-28 Thread Malith Munasinghe
Hi All, While using WUM diff command to compare two updates it was noted that both the Diff archive and Diff summary is getting created in the current working directory. IMO it would be better if we created those diff files in ~/.wum-wso2/ as well since this will increase the user experience by

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
As the error says "Address already in use" you have to find which process is bound to port 80 already. the following command will help you identify the process running on port 80 sudo netstat -nlp | grep :80 find the process and stop that process first before trying to start the nginx Regards

Re: [Dev] What is the use of IDN_IDENTITY_META_DATA?

2017-11-28 Thread Dulanja Liyanage
Thanks for the explanation Isura! On Wed, Nov 29, 2017 at 9:57 AM, Isura Karunaratne wrote: > Hi Dulanja, > > This is used to store user metadata like confirmation codes when > *JDBCUserRecoveryDataStore* is used. BTW we recommend to use > RegistryRecoveryDataStore as the

Re: [Dev] Problem with IP level throttling in distributed setup

2017-11-28 Thread Irham Iqbal
Hi Buddhimala, I think the issue with the traffic manager related configuration in your first setup. You can create any other advance throttling policies and check whether thats working to make sure. That's why when your using only IS as KM in your setup thats working. Thanks, Iqbal On Wed, Nov

Re: [Dev] Problem with IP level throttling in distributed setup

2017-11-28 Thread Dinusha Dissanayake
Hi Buddhimala, Did you observe this behavior only for IP based throttle condition or with other conditions as well (eg. header condition, IP range condition )? Thanks, DinushaD. On Wed, Nov 29, 2017 at 11:47 AM, Buddhimala Ranasinghe wrote: > Hi All, > > I have a

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Isuru Udana
Hi Dushantha, Installing a fresh nginx doesn't make any difference or any sense as port is occupied by something else :) On Wed, Nov 29, 2017 at 12:49 PM, Dushantha Batuwita wrote: > Hi Senduran: > > I have tried your command and it is the apache2 process. > > sudo

[Dev] Introduce custom attributes to Identity Server embedded LDAP schema.

2017-11-28 Thread Isura Karunaratne
Hi all, We need to update the LDIF to support following attributes by default in the embedded LDAP. - verifyEmail - askPassword - forcePasswordReset - failedRecoveryAttempts - primaryChallengeQuestion - emailVerified - challengeQuestionUris - failedLockoutCount -

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Dushantha Batuwita
Hi Senduran: I have tried your command and it is the apache2 process. sudo netstat -nlp | grep :80 tcp6 0 0 :::80 :::*LISTEN 1076/apache2 further, *when I try installing the nginx freshly* the following error can be seen too (with details

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Dushantha Batuwita
Hi I completely uninstall NGINX from my machine and reinstalled it again and but the NGINX server gives me the same error. *Things I have done* - I have run the command sudo netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign

Re: [Dev] What is the correct way to display service providers and identity providers for different admin role users

2017-11-28 Thread Maneesha Wijesekara
Hi Ushani, As per the current implementation, a service provider only visible to the user who created, at first. When creating service providers, by default a role created as 'Application/{SERVICE_PROVIDER_NAME}. In order to make the service provider available for the selected users, you can

Re: [Dev] What is the correct way to display service providers and identity providers for different admin role users

2017-11-28 Thread Ushani Balasooriya
Hi Maneesha, Thanks for the clarification. Appreciate if someone can explain why this behavior is different for SP and IDPs? If there is an explanation would be great to add it in to docs . Thanks, Ushani On Wed, Nov 29, 2017 at 11:42 AM, Maneesha Wijesekara wrote: > Hi

Re: [Dev] Problem with IP level throttling in distributed setup

2017-11-28 Thread Prasanna Dangalla
Hi Buddhimala, Can you check the throttle policy file whether the policy is updated or not. Ex: repository/deployment/server/executionplans/carbon.super_resource_100KKBPerMin_default.siddhiql and repository/deployment/server/executionplans/carbon.super_resource_100KKBPerMin_condition_1.siddhiql

Re: [Dev] [SP][Windows] Error during startup

2017-11-28 Thread Danesh Kuruppu
Hi Gokul, Just checking whether you are able to test this fix in SP. If the fix is ok, we can release new version with this fix. Thanks Danesh On Fri, Nov 24, 2017 at 7:57 PM, Sriskandarajah Suhothayan wrote: > @Gokul also please test and verity whether it fixes in SP. > > On

Re: [Dev] [WUM] wum diff copying file to the current relative path except for .wum-wso2 directory

2017-11-28 Thread Mushthaq Rumy
Hi Malith, +1 for creating the diff archive, summery and all the wum related files in the .wum-wso2 directory as this will make the user experience better. Thanks & Regards, Mushthaq On Wed, Nov 29, 2017 at 9:34 AM, Malith Munasinghe wrote: > Hi All, > > While using WUM diff

Re: [Dev] Error occurs with Response caching enabled.

2017-11-28 Thread Piriya Sivalingam
Hi Buddhimala, Could you please elaborate your use case where you want to implement caching? Since you have the API with CRUD operations, IMO it is not meaningful to cache the responses for PUT and POST. So if you want to cache 200 OK response of GET, you can implement it through a custom

Re: [Dev] [SP][Windows] Error during startup

2017-11-28 Thread Gokul Balakrishnan
Hi all, I was able to verify that the SP4 Beta pack starts up in Windows 7 without any issues with the fix applied. Thanks a lot Danesh for the quick resolution! Best, On 29 November 2017 at 09:41, Danesh Kuruppu wrote: > Hi Gokul, > > Just checking whether you are able to

[Dev] What is the correct way to display service providers and identity providers for different admin role users

2017-11-28 Thread Ushani Balasooriya
Hi IAM team, Please consider the below example. 1. *admin* user belongs to *admin* role creates a SP named *adminsp* and an IDP named *adminidp* 2. *admin1* user belongs to the same *admin* role creates a SP named *admin1sp* and an IDP names *admin1idp*. So the current behavior is, 1. Both

[Dev] Problem with IP level throttling in distributed setup

2017-11-28 Thread Buddhimala Ranasinghe
Hi All, I have a distributed deployment in API Manager which contains 1GW Pub+Store+TM Is as KM I tried to implement IP level throttling for my API in this setup. I have put 20 as my default equest limit and under IP condition I gave request count as 5. I gave my local IP address as the IP

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
Hi Dushantha, As you have mentioned apache2 is already bounded to port 80. that is why when you try to start the nginx you are getting " Address already in use". If you try stop the apache2 and start the nginx, you will be able to start the nginx without the above error Regards Senduran On Wed,

Re: [Dev] [DEV] Transport error: 411 Error: Length Required when logging into the publisher

2017-11-28 Thread Nuwan Silva
Added wire logs to see where this was coming from and it seems this is sent back from the nginx instance. Updating nginx to 1.12 resolved this. Thanks for the help Pubudu. Cheers, NuwanS. On Mon, Nov 27, 2017 at 5:10 PM, Nuwan Silva wrote: > Hi Pubudu, > > yes, Please find the

Re: [Dev] What is the use of IDN_IDENTITY_META_DATA?

2017-11-28 Thread Isura Karunaratne
Hi Dulanja, This is used to store user metadata like confirmation codes when *JDBCUserRecoveryDataStore* is used. BTW we recommend to use RegistryRecoveryDataStore as the RecoveryDataStore in identity management features. So, the metadata (like confirmation codes) are stored in the registry

Re: [Dev] Introduce custom attributes to Identity Server embedded LDAP schema.

2017-11-28 Thread Isura Karunaratne
On Wed, Nov 29, 2017 at 10:16 AM, Isura Karunaratne wrote: > Hi all, > > We need to update the LDIF to support following attributes by default in > the embedded LDAP. > >- verifyEmail >- askPassword >- forcePasswordReset >- failedRecoveryAttempts >-

Re: [Dev] [EI] Oracle multiple cursor support

2017-11-28 Thread Madhawa Gunasekara
Hi Godwin, Sorry for the late reply. We do support only one type of refcursor at the moment.[2] there was a discussion on this feature in the support dev mailing list[1]. Still, We haven't implemented this feature. [1] Question about Oracle Stored Procedure using multiple ref cursors [2]

Re: [Dev] [EI] Oracle multiple cursor support

2017-11-28 Thread Godwin Shrimal
Thanks for reply Madhawa. Thanks Godwin On Wed, Nov 29, 2017 at 9:56 AM, Madhawa Gunasekara wrote: > Hi Godwin, > > Sorry for the late reply. We do support only one type of refcursor at the > moment.[2] there was a discussion on this feature in the support dev > mailing

Re: [Dev] [EI] Oracle multiple cursor support

2017-11-28 Thread Godwin Shrimal
Reminder on this. Thanks Godwin On Mon, Nov 27, 2017 at 9:30 AM, Godwin Shrimal wrote: > Hi Devs, > > Are we supporting $subject in EI-6.1.1? If yes can someone share any > documentation/article/blog? > > Thanks > Godwin > > -- > *Godwin Amila Shrimal* > Associate Technical

Re: [Dev] [EI] Car application with only registry resources

2017-11-28 Thread Godwin Shrimal
Thanks for the response guy, I could resolve it by setting "EnterpriseServiceBus" server role when exporting car file. I think this should work OOB, best thing is adding "GovernanceRegistry" in carbon.xml under server roles. Thanks Godwin On Mon, Nov 27, 2017 at 12:23 PM, Sashika Wijesinghe

Re: [Dev] [EI] Car application with only registry resources

2017-11-28 Thread Vinod Kavinda
Hi Godwin, Thanks for the update. Reported the issue [1] [1] - https://github.com/wso2/product-ei/issues/1428 Regards, Vinod On Tue, Nov 28, 2017 at 2:02 PM, Godwin Shrimal wrote: > Thanks for the response guy, I could resolve it by setting > "EnterpriseServiceBus" server

Re: [Dev] How to validate email adddress

2017-11-28 Thread Dilusha Alphonso
Hi, Thank you for the response. I changed my configuration as mentioned above it's working. Thanks Dilusha On Mon, Nov 27, 2017 at 3:35 PM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote: > Also you need to use the template with + sign since its value can contain > @ > >

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Abimaran Kugathasan
Hi Nuwan, Have you generated KeyStore for all the nodes? CN property belongs to KeyStore. What's the value you have given to CN when you generate KeyStore? Importing public keys to each other's client-truststore don't have any impact on this problem. On Tue, Nov 28, 2017 at 11:29 AM, Isuru