wso2dss

WSO2: StatisticsClient

喜你入骨 提交于 2020-02-07 09:32:25
问题 How can i use StatisticsAdmin of Application Server My scenario is : i want to get responsetime of a service that deploy on a server(AppServer/DataServer..) and probed by ESB using discoveryproxy of governance regidtry. if is it possible how can i implement it? otherwise i should be get service response time from AppServer in direct using service name. i can create a proxy of ServerAdminMBean using this package and interface import org.wso2.carbon.server.admin.service.ServerAdminMBean but i

continously throws errors when running a load test in wso2esb

泪湿孤枕 提交于 2020-01-16 18:51:27
问题 when ever concurrence user using my service at a time its throwing errors i need to set any properties for multiple users at a time But wso2ESB maintaining 1 billions transcation with EBAY but while i am sending morethan 5 its giving errors PassThroughHttpListener System may be unstable: HTTP ListeningIOReactor encountered a runtime exception : null java.lang.NullPointerException at org.apache.synapse.transport.passthru.SourceResponse.start(SourceResponse.java:83) at org.apache.synapse

Exception thrown when try to add documents to the lucene index continuously inside the for loop

萝らか妹 提交于 2020-01-06 19:43:09
问题 I’m using “compass-2.2.0” to create a lucene index in MySql database table. This is part of my code to index documents, following Exception thrown when try to add documents to the lucene index continuously inside the for loop. Any workaround to overcome this error? My hosting server is WSo2 Stratoes tomcat based server and Wso2 Stratoes data service server. My program works fime in local tomcat/ mySql servers. This is the sample blog post that I have followed- http://mprabhat.wordpress.com

WSO2 ESB unable to remove ws-security header in the response before DSS call

限于喜欢 提交于 2020-01-06 04:26:44
问题 I have a proxy service which needs to call a exernal service with ws security. I have to call the service, and based on the response, I need to extract some information and then call a data service to update the database. As I get the response and create the payload to call the data service it is also having the ws security header which ends up in an exception. I have used <header action="remove" name="wsse:Security" scope="default" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis

How we can ROLLBACK the Transaction in WSO2DSS or WSO2ESB

邮差的信 提交于 2020-01-06 02:17:54
问题 i am inserting no of tables at a time using WSO2dss and Wso2 ESB . those are dependent tables how we can ROLLBACK if one transaction failed.my issue is i am inserting EMP1,EMP2,EMP3 my data inserted properly in EMP1 and EMP2 error occured in while inserting in EMP3 how i can do this using WSO2 ..in Oracle we has NONXAENABLEDS <sequence> <payloadFactory> <format> <p:insert_emp2_operation xmlns:p="http://ws.wso2.org/dataservice"> <xs:e_device xmlns:xs="http://ws.wso2.org/dataservice">$1</xs:e

Importing/Migrating an API from Local Repo/ Environment to Other Environment

不打扰是莪最后的温柔 提交于 2020-01-05 04:18:11
问题 I tried to export/import an API from one environment to other environment, where as Exporting is working fine but facing issues while Importing an API from Local/Environment I have used api-import-export-2.6.0.war with APIM-2.6.0, Command used to Import api: apimcli import-api -f G:/Petstore_1.0.0.zip -e dev Error importing API Reason: C:\Users\RAVIKU~1\AppData\Local\Temp\apim130994779\Petstore_1.0.0\Meta-information\api was not found as a YAML or JSON Exit status 1 回答1: Did you try giving

Automated deployment of DSS datasource configuration

谁说胖子不能爱 提交于 2020-01-05 03:36:16
问题 We have a "mavenized" project with several containers (wso2esb, wso2dss, tomcat) and many components to deploy to them. We are trying to find a way to deploy the datasource configuration for all our DSS services but I notice it is stored in its own DB (H2). Do you know if there is any way to declare something like a XML file in order to create the datasource in the DSS in an automated way? I tried to see the documentation but did not find anything useful for automatic deployment (meaning

WSO2 DSS issue when selecting Timestamps from Database

久未见 提交于 2019-12-25 09:28:39
问题 I've an issue defining a query to get some data out of Cassandra in WSO2 DSS. The query (and the operation) itself is working but my problem is when I try to get a timestamp as a result. I only get the date and the timezone (2017-01-11+0100) the time part is missing. I guess that this is somehow related on the mapping to dateTime xsdType that is not working correctly. Did you already face this issue, and do you have a solution to get the timestamp? Here is a query sample <query id=

How to know ERROR message in wso2DSS

馋奶兔 提交于 2019-12-25 03:33:20
问题 Is there any link or reference to WSO2 Data Service error codes ? I am getting error code '401000',500000, I need to know what exactly mean by that error code using this i am sending errorcode to backend but i need to send exact message also in WSO2ESB we have paroperty call get-property('ERROR_MESSAGE') .is there any property we have in WSO2DSS which will show me exact error message ERROR_CODE = 500000, ERROR_MESSAGE = null, and sending this message to backend directly {"insert_dept

WSO2ESB has Bug According to this Configuration

别等时光非礼了梦想. 提交于 2019-12-25 02:50:14
问题 i am using 4.6.0 WSO2ESB as per my configuration its working some scenarios but giving unkonow faults is it a fulfilled tool. i tried in many ways this below scenarios is i am passing wrong value which primary key dependant but WSO2 esb unable to handle this even i tried all the properties .if any one knows about WSO2 enough well help me i am struck past too many days about this small issue my insertion is working but if any primary key violation error is thier in WSO2DSS ESb unable to send