Using API Manager 1.9.1 with DAS 3 - wso2

Is it possible use API Manager 1.9.1 and DAS 3?
If yes, this configuration is like BAM configuration? or Is there any diference?

Two configurations are almost same. you can configure APIM 1.9.1 with BAM using [1] and you can configure with DAS [2] using WSO2 documenations.
[1] https://docs.wso2.com/display/AM191/Publishing+API+Runtime+Statistics+Using+WSO2+BAM
[2] https://docs.wso2.com/display/AM191/Publishing+API+Runtime+Statistics+Using+WSO2+DAS

Related

Error while subscribing App from WSO2 App manager

I made the configurations as per the Documentation. But as I try to subscribe the app from the android mobile,I get the error as ERROR - MDMOperationsImpl Cannot connect to Token API Endpoint
ERROR - MDMOperationsImpl No OK response received form the API. Is there any other configurations to be done to make this work.
Can you explain the scenario you are trying to perform and the EMM version that you use.
EMM 2.0.0 now has in built AppM features which allow EMM to be used without integrating with AppM, in case publishing of only mobile applications is required. If you need to publish both web and mobile applications you will have to integrate AppM with EMM.
In the document you have refered above , section [1] applies to EMM 2.0.0 and above and section [2] applies to versions below 2.0.0
From the error you have mentioned, the issue seems to be related to the following property.
<Property name="TokenApiURL">https://localhost:9448/oauth2/token</Property>
Can you check whether this URL contains the correct host and port ( 9443 + port offset) of EMM .
[1] https://docs.wso2.com/display/APPM100/Integrating+a+Mobile+Device+Manager#IntegratingaMobileDeviceManager-IntegratingWSO2MDM
[2] https://docs.wso2.com/display/APPM100/Integrating+a+Mobile+Device+Manager#IntegratingaMobileDeviceManager-IntegratingWSO2EMM

WSO2 Thrift Asynchronous

WSO2 folks,
I heard there's a Data Bridge in WSO2 that can support thrift asynchronous RPC, I looked throught the documents but couldn't find it anywhere. Can somebody point me to such a document on how to do it? Thanks!
WSO2 Products such as CEP and DAS use data bridge and data agent with thrift protocol. You can have WSO2Event Receiver [1] with thrift protocol to collect data and WSO2Event Publisher [2] to publish via thrift. Read Publishing Data to CEP documentation for more details such as thrift configurations [3].
[1] https://docs.wso2.com/display/CEP400/WSO2Event+Event+Receiver
[2]https://docs.wso2.com/display/CEP400/WSO2Event+Event+Publisher
[3] https://docs.wso2.com/pages/viewpage.action?pageId=47517008

Configuring WSO2 API Manager to use the WSO2 BAM Server

Using WSO2 API Manager 1.3 and WSO2 BAM 2.0.
I followed the instructions found in the README.txt in /statistics.
I am getting the following error when starting API Manager:
TID: [0] [AM] [2013-05-02 11:42:44,239] ERROR
{org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher}
- Error initializing APIMgtUsageDataBridgeDataPublisher {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher}
org.wso2.carbon.databridge.agent.thrift.exception.AgentException:
Error when finding event stream definition for :
org.wso2.apimgt.statistics.request 1.0.0
Any suggestions on where to start looking for the issue?
It looks like you have not properly configured WSO2 API Manager 1.3 to work with WSO2 BAM.
For proper configuration follow the official docs[1]
This issue might also occur When you set an offset to BAM by 1 as described in the README.txt, as it needs its Cassandra DB configurations to be changed for the offset by 1 at BAM_HOME/repository/conf/etc/cassandra-component.xml. Therefore follow the like provided[1] where we change the API Manager's offset.
Suho
[1]http://docs.wso2.org/wiki/display/AM130/Monitoring+and+Statistics

Getting error when running WSO2 API Manager with WSO2 BAM Server

I got the following error when runnning WSO2 API Manager 1.3.1 to use the WSO2 BAM Server 2.0.1.
TID: [0] [AM] [2013-05-02 18:58:40,609] ERROR
{org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher}
- Error initializing APIMgtUsageDataBridgeDataPublisher {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher}
org.wso2.carbon.databridge.agent.thrift.exception.AgentException:
Error when finding event stream definition for :
org.wso2.apimgt.statistics.request 1.0.0
Both API Manager and BAM are running on the same machine and I changed offset to 1 in /home/jtao/api/wso2bam-2.0.1/repository/conf/carbon.xml based on Monetization of API Usage.
I also checked that BAM_HOME/repository/conf/etc/cassandra-component.xml doesn't exist in BAM 2.0.1. as someone suggested in the answer of another question "Configuring WSO2 API Manager to use the WSO2 BAM Server"
Any ideas?
I ran the same scenario described in guide and it works without any error. May be your have missed a part in the configuration guide? Make sure BAM_HOME is set correctly and BAM server is started before the AM server.
The following guide too can be used to integrate AM 1.3.1 with BAM 2.0.1
http://docs.wso2.org/wiki/display/AM131/Monitoring+and+Statistics
Ishara

JMX Data Agent to support remoting-jmx protocol with WSO2 BAM

I was trying to monitor jboss EAP 6.0/jboss AS 7 MBeans in WS02 BAM 2.2.0 using JMX Data Agent. I followed the tutorial to expose JBOSS MBeans, remotely in jconsole.
In WSO2 BAM while adding JMX Server Profile, I enter the URL:
service:jmx:remoting-jmx://{host_name}:{port}]
It says protocol is not supported. I suspect protocol remoting-jmx is not supported, where as in previous case, I see rmi protocol was supported. How can I import Remote JBOSS AS 7 MBean to WSO2 BAM 2.2.0 ?