Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Chalitha Waldeniyage
Hi Senuwan, This error occurs when gateway workers are not able reach to the keymanager. Please makesure you have pointed all keymanager related urls in worker's api manager.xml correctly. Further verify the /etc/host mapping in worker nodes Thank you, Chalitha. On Tue, Dec 5, 2017 at 4:09 PM,

Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Dinusha Dissanayake
Hi Senuwan, If it is not related with port conflicts, you can also refer the following documentations[1] and check whether you have configured your distributed deployment correctly. [1] https://docs.wso2.com/display/AM210/Distributed+ Deployment+of+API+Manager Thanks, DinushaD. On Wed, Dec 6,

Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Chamin Dias
Hi, Can you try out the solution provided in [1] and see? This might occur due to a port conflict as Dinusha mentioned. [1] https://stackoverflow.com/questions/42384492/errors-while-starting-wso2-api-manager-2-1-0 On Tue, Dec 5, 2017 at 7:49 PM, Senuwan Withana wrote: > Hi

Re: [Dev] Customizing default swagger-ui 3.x

2017-12-05 Thread Thilini Shanika
Thanks Praminda. It worked for me. On Wed, Dec 6, 2017 at 9:36 AM, Praminda Jayawardana wrote: > Hi Thilini, > > You can add a plugin in plugins section to remove these components. > > Ex: > function { > return { > components: { >

Re: [Dev] Exception while clustering API Manager 2.1.0

2017-12-05 Thread Gayan Dhanushka
Hi Priya, Please refer to [1] for the APIM 2.1.0 clustering deployment. The one you are referring to is an older version. Please note that in 2.1.0 distributed setup, the gateway nodes try to connect to the broker running in traffic manager nodes via amqp to get throttling messages. When tit

Re: [Dev] Exception while clustering API Manager 2.1.0

2017-12-05 Thread Dilusha Alphonso
Hi Piriya You can refer this mail thread 'Exception while start the Gateway node'. I also got the same problem while starting the gateway node. Thanks Dilusha On Wed, Dec 6, 2017 at 9:59 AM, Piriya Sivalingam wrote: > Hi, > > I am trying to configure a cluster setup for API

[Dev] Exception while clustering API Manager 2.1.0

2017-12-05 Thread Piriya Sivalingam
Hi, I am trying to configure a cluster setup for API Manager. I followed the document [1] to setup the cluster. But when I start the nodes I noticed some errors logged in the console. The error is: [2017-12-06 09:39:29,791] INFO - AMQConnection Unable to connect to broker at tcp://localhost:5673

Re: [Dev] Cluster setup with load balancer

2017-12-05 Thread Dushantha Batuwita
Hi Dilusha please refer to the above mail I have mistakenly sent to Sashika Regards On Wed, Dec 6, 2017 at 9:52 AM, Dushantha Batuwita wrote: > Hi Dilusha > > I hope you have coded the nginx related configuration in the document > correctly. There the pitfall is the port

Re: [Dev] How to Write a XACML policy to restrict user admin operations on user stores

2017-12-05 Thread Denuwanthi De Silva
Hi, You can define userstore in XACML in follwoing format http://wso2.org/identity/user/user-store-domain *" Category=" http://wso2.org/identity/user; DataType=" http://www.w3.org/2001/XMLSchema#string;

Re: [Dev] Customizing default swagger-ui 3.x

2017-12-05 Thread Praminda Jayawardana
Hi Thilini, You can add a plugin in plugins section to remove these components. Ex: function { return { components: { Models: function() { return null }, schemes: function() { return null }, authorizeBtn:

[Dev] Registering a partial in handlebars

2017-12-05 Thread Nipuni Salgado
Hi all, Currently, I'm working with the WSO2 TCC team on the project 'Automate Reference Documentation for Configuration Files'. The implementation of the project is done by using the JavaScript implementation of handlebars - handlebars.js [1]. In my implementation the json object which need to

[Dev] Customizing default swagger-ui 3.x

2017-12-05 Thread Thilini Shanika
Hi, We are currently in the process of upgrading swagger-ui 3.x in API Manager and we need to disable some of the components shipped with default swagger UI. Basically, we need to disable the components like top bar, API information, authorization button, schemas and models at the bottom of the

Re: [Dev] Cluster setup with load balancer

2017-12-05 Thread Sashika Wijesinghe
Hi Dilusha, Make sure to import the SSL certificate into the client-truststore.jks of gateway nodes. For example: keytool -import -trustcacerts -alias server -file server.crt -keystore client-truststore.jks Regards, Sashika On Tue, Dec 5, 2017 at 11:31 PM, Pubudu Gunatilaka

Re: [Dev] Cluster setup with load balancer

2017-12-05 Thread Pubudu Gunatilaka
Hi Dilusha, Configure the cluster between gateway nodes according to the guide. If you start both gateway nodes, you should see 'Member joined' message in one of the gateway nodes. Actually, you need to configure pass-through transports in the gateway for nginx. The ports are 8280 and 8243. We

Re: [Dev] Get geolocation based on ip returns null country

2017-12-05 Thread Chamalee De Silva
Hi all, I have added this information in following docs. APIM 2.1.0 APIM 2.0.0 IS 5.3.0 IS 5.2.0 And resolved the internal doc JIRA reported in [1]. [1] https://support.wso2.com/jira/browse/WSODOCINTERNAL-749 Thanks, Chamalee On Mon, Jun 26, 2017 at 10:25 PM, Praneesha Chandrasiri

Re: [Dev] problem in enroll raspberry pi 3 with wso2 iot server

2017-12-05 Thread Charitha Goonetilleke
Hi Alireza, As per the log output you have shared, it seems like token renewal is not happening properly due to issue in token retrieval from the response. I have also tried this out and wasn't able to reproduce the issue you are facing with. Anyway this issue might be happen if Refresh token you

Re: [Dev] Cluster setup with load balancer

2017-12-05 Thread Maneesha Wijesekara
Hi Dilusha, Have you set hostnames to correct ip addresses in /etc/hosts for product nodes as well as nginx node ? Regards Maneesha On Tue, Dec 5, 2017 at 9:11 PM, Dilusha Alphonso wrote: > Hi All, > > I tried to configure cluster setup with the load balancer. I configured >

[Dev] Cluster setup with load balancer

2017-12-05 Thread Dilusha Alphonso
Hi All, I tried to configure cluster setup with the load balancer. I configured manager +worker (offset 3) and a worker node( offset 4). I followed the step according to this document [1]. But cluster setup with the load balancer is not working. Can anyone please help on this or suggest If I am

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Harsha Kumara
You can telnet to 172.16.2.39 9713. and see it's open or not. Looks like it's not open. On Tue, Dec 5, 2017 at 8:15 PM, Senuwan Withana wrote: > Yes > > *Senuwan Withana* > Software Engineer - Support Team | WSO2 > > Email : senu...@wso2.com > Mobile: 94773212853 > Web:

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Senuwan Withana
Yes *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com Mobile: 94773212853 Web: http://www.wso2.com On Tue, Dec 5, 2017 at 7:55 PM, Harsha Kumara wrote: > Is your TM running with port offset 2? > > On Tue, Dec 5, 2017 at 7:43 PM, Senuwan

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Harsha Kumara
Is your TM running with port offset 2? On Tue, Dec 5, 2017 at 7:43 PM, Senuwan Withana wrote: > Hi Guys > > Again Thanks for quick responses. I have looked all the comments and done > the relevant changes > Eg: Comment out the JMSEventPublisherParameters section, Up the TM

Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Senuwan Withana
Hi Guys, Thanks for replying. Well I have used below configuration to GW to communicate with the KM https:// :9443/services/ ${admin.username} ${admin.password} ... Regards, *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com Mobile: 94773212853 Web:

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Senuwan Withana
Hi Guys Again Thanks for quick responses. I have looked all the comments and done the relevant changes Eg: Comment out the JMSEventPublisherParameters section, Up the TM first. so on. However still i got below errors. [2017-12-05 19:38:30,393] INFO - JMSTransportHandler Starting jms topic

[Dev] {Error] Missing requirement: requires 'package javax.xml.soap [1.0.0, 1.1.0)' but it could not be found

2017-12-05 Thread Ishara Cooray
Hi, I am trying to build product-apim 2.1.x with *kernel 4.4.18* My *carbon.mediation*.version is *4.6.45* which is released on top of *kernel* *4.4.18* But when i do product-apim build i get build failure at feature installation. *@Platform Team/ Integration Team,* Please share if you have

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Harsha Kumara
Hi Mari, We need to update the latest docs as well. [1 ]https://docs.wso2.com/display/AM210/Product+Profiles#GWW Thanks, Harsha On Tue, Dec 5, 2017 at 6:54 PM, Harsha Kumara wrote: > This is a known issue when you start with the profiles. Please comment out > the

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Harsha Kumara
This is a known issue when you start with the profiles. Please comment out the JMSEventPublisherParameters section in the api-manager.xml. It's stated in [1]. [1] https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+2.0.0 On Tue, Dec 5, 2017 at 6:32 PM, Chamin Dias

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Chamin Dias
Hi, Similar issue has been reported previously (APIMANAGER-5292) and there it suggests a workaround. You can try that as well. Thanks. On Tue, Dec 5, 2017 at 4:45 PM, Abimaran Kugathasan wrote: > Hi Senuwan, > > The exception

Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Pubudu Gunatilaka
Hi Senuwan, Make sure you have configured APIKeyValidator in api-manager.xml pointing to APIM key manager. At the server startup, gateway nodes retrieve key templates from the KM. Thank you! On Tue, Dec 5, 2017 at 4:34 PM, Dinusha Dissanayake wrote: > Hi Senuwan, > > Could

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Abimaran Kugathasan
Hi Senuwan, The exception says GW can't connect to tcp://10.100.7.13:5674. Have you telnetted to that IP PORT? If you have distributed set up, have you start up Traffic Manager? On Tue, Dec 5, 2017 at 4:27 PM, Senuwan Withana wrote: > Hi Guys, > > Thanks for the update. > I

Re: [Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Dinusha Dissanayake
Hi Senuwan, Could you please check if there is any port conflict? Looks like connection has not been established. Thanks, DinushaD. On Tue, Dec 5, 2017 at 4:09 PM, Senuwan Withana wrote: > Hi Team, > > When I up my API Manager worker node, I got below error. Is there any way

Re: [Dev] [APIM] APIManagerComponent Exception occurred while creating JMS Event Adapter

2017-12-05 Thread Senuwan Withana
Hi Guys, Thanks for the update. I have double checked the mentioned steps. However still I could not able to find the root cause of this error. I have followed the document mentioned steps clearly. Regards, *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com

[Dev] Error popup on API Manager Worker node.

2017-12-05 Thread Senuwan Withana
Hi Team, When I up my API Manager worker node, I got below error. Is there any way to resolve the below error. I have followed up [1] document as reference. [1] - https://docs.wso2.com/display/AM210/Distributed+ Deployment+of+the+Gateway#5a69bb14f904452ab5c678035c21178e [2017-12-05

Re: [Dev] [C5] Setting TrustStore and KeyStore as Java System properties

2017-12-05 Thread Bhathiya Jayasekara
Hi Dulanja, C5 kernel does have a keystore, but not a truststore. So we're using a temporary trustmanager[1] to trust all certificates at the moment until a platform-wide solution is implemented. We raised the concern in [2]. [1]

Re: [Dev] [C5] Setting TrustStore and KeyStore as Java System properties

2017-12-05 Thread Dulanja Liyanage
Thanks Niranjan. We need to decide this soon, because Stream Processor will get released in this month, and they will have to write their own module if this is not coming from a common place. This will be same for all the C5 based products. IMO that's unnecessary duplication. How is AM 3.0.0

Re: [Dev] Configuring rsync for Deployment Synchronization for Gateway nodes on localhost

2017-12-05 Thread Dushantha Batuwita
Hi Isuru; Thank you very much for the timely reply. regards On Tue, Dec 5, 2017 at 1:40 PM, Isuru Haththotuwa wrote: > > > On Tue, Dec 5, 2017 at 1:28 PM, Dushantha Batuwita > wrote: > >> Hi Dev >> >> I'm in the process of syncing the Gateway Manager and

Re: [Dev] WSO2 Identity Server 5.4.0 Beta Released !!!

2017-12-05 Thread Asela Pathberiya
On Fri, Dec 1, 2017 at 10:57 PM, Jayanga Kaushalya wrote: > The WSO2 Identity and Access Management team is pleased to announce the > release of WSO2 Identity Server 5.4.0 Beta. > > You can build the distribution from the source tag, > > Runtime:

Re: [Dev] Configuring rsync for Deployment Synchronization for Gateway nodes on localhost

2017-12-05 Thread Isuru Haththotuwa
On Tue, Dec 5, 2017 at 1:28 PM, Dushantha Batuwita wrote: > Hi Dev > > I'm in the process of syncing the Gateway Manager and the Gateway worker > nodes which a*re on the local machine (localhost)* > > I have been following the [1] document: Configuring rsync for Deployment >