wso2

Get property value in JavaScript with script mediator

大兔子大兔子 提交于 2019-12-13 14:51:34
问题 Is there a way, inside the javascript code from WSO2 ESB's Script mediator, to get a property's value when this property has a scope different from "default" ? In case of a property with default scope : get-property('MyProperty') OR <script language="js"> mc.getProperty("MyProperty"); </script> In case of a property with 'transport' scope : get-property('transport','FILE_NAME') OR <script language="js"> mc.???????? </script> 回答1: It seems that you can not get properties of other scopes than

How is the best way to delete a tenant in WSO2 carbon?

℡╲_俬逩灬. 提交于 2019-12-13 14:20:47
问题 I'm trying to delete a tenant using the method "deleteTenant" in the class "TenantMgtAdminServiceStub" but it didn't works, it shows an error. I'm wondering if this is the best way to delete a tenant... I was looking for help and I found this post but is not a possibility restart the server every time I want to delete a tenant. Days before I post this with the error I got when I use that method. Thanks! 回答1: Tenants once created from the UI cannot be deleted from the UI. However, Using the

Configuring WSO2 STATS_DB

流过昼夜 提交于 2019-12-13 14:18:03
问题 I have configured API Manager 2.0.0 & API Manager Analytics Pack to use MySQL databases. For each server, there exists a WSO2AM_STATS_DB. I have given these differing names on my MySQL server. I have also pointed my datasources in master-datasources.xml(for APIM) & stats-datasources.xml(for Analytics) to the relevant databases. I couldn't find any relevant schema(dbscripts) for these databases in their respective packs. On running, the Analytics database is populated but the APIM database isn

WSO2 Identity Server OpenId Connect Owin

淺唱寂寞╮ 提交于 2019-12-13 14:13:05
问题 Im trying to set up WSO2 Identity Server to use OpenId connect. I have currently applied the following settings shown Here: Setup WSO2. What it boiles down to is that i use the Resident Identity Provider and i have setup a Service Provider for my app "CoolApp". I configured "OAuth/OpenID Connect Configuration" and set a callback URL. Is there a simple example how to use this in javascript? I have played around with identityserver3 and they have a client oidc-client.js which works nicely in

WSO2 CEP - Out of Memory

a 夏天 提交于 2019-12-13 13:26:05
问题 We are seeing out of memory errors on CEP. The thread dump shows that there were around 32000 threads sleeping on monitor. Also even though CEP JVM options specifies to generate the HeapDump on outofmemory, we dont see any heap dump generated.. Please advice. (CEP JVM -Xms256m -Xmx1536m ) 1) The Cassandra is disabled on this CEP 2) CEP version is 2.1.0 3) The CEP is fronted by WSO2 ESB (using BAM Mediator). 4) Apart from sending the actual payload data to CEP, the ESB is also sending a

Client giving error when invoking a secured web service

核能气质少年 提交于 2019-12-13 12:23:00
问题 I have written a client that invokes webservice. My client is: String publisherEPR = "https://abc:8280/services/ProviderPublication"; protected void publicationOpenSession(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("Inside publicationOpenSession"); date = new Date(); namespace = "http://www.openoandm.org/xml/ISBM/"; fac = OMAbstractFactory.getOMFactory(); OMNamespace ns = fac.createOMNamespace(namespace, "ns1");

wso2 carbon hacking - eclipse development environment set up steps

时间秒杀一切 提交于 2019-12-13 12:22:19
问题 It would be great if the carbon source tree could be set up in eclipse so that eclipse can be used for building and running carbon. Is this possible? How do the WSO2 carbon developers set up their development environments? For example based on eclipse 4.3 RC2 Java EE: $ svn checkout http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.1.0 wso2carbon $ cd wso2carbon $ mvn install -Dmaven.test.skip=true (first ensure you have enough permgen space, e.g. set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize

Hi All, Getting the below error. Does anyone have ever faced a similar issue.?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 09:48:37
问题 Getting the below error. Does anyone have ever faced a similar issue.? TID: [-1] [] [2018-10-11 08:10:31,330] ERROR {org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory} - Error acquiring a Connection from the JMS CF : jmsEventPublisher using properties : {transport.jms.ConcurrentPublishers=allow, java.naming.provider.url=repository/conf/jndi.properties, java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, transport.jms.DestinationType

WSO2 ESB > Message Processor > max.delivery.attempts always return to its default value of 4?

走远了吗. 提交于 2019-12-13 08:30:37
问题 When I change the value of max.delivery.attempts parameter in the WSO2 message processor and save changes. It always return to its default value of 4. I can change the value of other parameters without problem. My configuration is: Ubuntu 16.04 wso2 6.1.1 mysql 5 jdk 1.8.0_131 Does it happen to you? Thanks 回答1: Kindly Himasha notice me that it will be solved in next version https://github.com/wso2/product-ei/issues/1609 来源: https://stackoverflow.com/questions/47990476/wso2-esb-message

Can't access to production endpoint with WSO2 API Manager - entreprise proxy

可紊 提交于 2019-12-13 08:24:21
问题 I'm trying wso2 api manager for my team. When i follow the quick start guide, I can't get a good production endpoint in the implement part. It's the same for wsdl I think it's because I have the api manager on my computer, and this computer is behind a entreprise proxy. I search on the documentation and on stack overflow but I don't understand how I can say carbon to use the proxy. If you have an idea of how I can configure AM to use an entreprise proxy, I will be very happy I don't know if