HI Chirst,

Yes. Please configure on all the nodes using api-manager.xml

Thanks and Regards

On Mon, Oct 17, 2016 at 1:46 PM, christ Feng <feng20160...@gmail.com> wrote:

> Hi, rukshan,
>
> I really configure analytics using admin-dashboard on publisher node. I
> clustering APIM for 4 nodes ,publisher,store,gataway and keymanager. In
> your configuration, which node should i to configure. Or on every node ?
>
>
> Thanks and Regards
>
> 2016-10-17 15:53 GMT+08:00 Rukshan Premathunga <ruks...@wso2.com>:
>
>> Hi Christ,
>>
>> Seems you have configure analytics using admin-dashboard. Can you try to
>> configure analytics using the api-manager.xml[1].
>>
>> [1] http://rukspot.com/configure_wso2_apim_analytics_using_xml.html
>>
>> Thanks and Regards
>>
>> On Mon, Oct 17, 2016 at 12:49 PM, christ Feng <feng20160...@gmail.com>
>> wrote:
>>
>>> Hi , rukshan.Thanks for your reply.
>>>
>>> My offset on gateway node is 10003 . The error occured on gateway node.
>>>
>>> The attachment is my api-manager.xml in the gateway node.
>>>
>>> Thanks and Regards
>>>
>>>
>>>
>>> 2016-10-17 14:37 GMT+08:00 Rukshan Premathunga <ruks...@wso2.com>:
>>>
>>>> Hi Christ,
>>>>
>>>> Can you please attached your api-manager.xml in the gateway node. This
>>>> could be a configuration isse.
>>>>
>>>> Thanks and Regards
>>>>
>>>>
>>>> On Mon, Oct 17, 2016 at 10:32 AM, Abimaran Kugathasan <
>>>> abima...@wso2.com> wrote:
>>>>
>>>>> Hi Christ,
>>>>>
>>>>> In which node your are getting this exception? Is it in Gateway or
>>>>> Store? Additionally, how do you configure DAS? Through REST Client or 
>>>>> RDBMS
>>>>> [1]?
>>>>>
>>>>> BTW, you can use Stackoverflow [2] or dev@wso2.org mailing list in
>>>>> future for any clarification regarding WSO2 queries.
>>>>>
>>>>> [1] : https://docs.wso2.com/display/AM1100/Publishing+API+Runtim
>>>>> e+Statistics
>>>>> [2] : http://stackoverflow.com/questions/tagged/wso2
>>>>>
>>>>> On Sun, Oct 16, 2016 at 7:53 PM, christ Feng <feng20160...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> hi , abimaran. I have one problem wanna ask you .
>>>>>>        My APIM version is 1.10.0 and DAS is 3.0.1
>>>>>>
>>>>>>    1.
>>>>>>
>>>>>>    I Clustering APIM divide into 4 part,publisher,store,keymanager,
>>>>>>    gataway. And use DAS for stats. Database is mysql.
>>>>>>    2.
>>>>>>
>>>>>>    I set the connection between APIM and DAS on publisher node.
>>>>>>    3.
>>>>>>
>>>>>>    When I invoke an api ,APIM console give error as below.
>>>>>>
>>>>>> error:
>>>>>>
>>>>>> [2016-10-13 11:13:54,775] ERROR - APIMgtUsageHandler Cannot publish 
>>>>>> event. null
>>>>>> java.lang.NullPointerException
>>>>>>         at 
>>>>>> org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.publishEvent(APIMgtUsageDataBridgeDataPublisher.java:124)
>>>>>>         at 
>>>>>> org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageHandler.handleRequest(APIMgtUsageHandler.java:169)
>>>>>>         at org.apache.synapse.rest.API.process(API.java:322)
>>>>>>         at 
>>>>>> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:86)
>>>>>>         at 
>>>>>> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:65)
>>>>>>         at 
>>>>>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:295)
>>>>>>         at 
>>>>>> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
>>>>>>         at 
>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>>         at 
>>>>>> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:317)
>>>>>>         at 
>>>>>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:149)
>>>>>>         at 
>>>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>>>>         at 
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>         at 
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>         at java.lang.Thread.run(Thread.java:745)
>>>>>> [2016-10-13 11:13:54,807] ERROR - APIMgtResponseHandler Cannot publish 
>>>>>> response event. null
>>>>>> java.lang.NullPointerException
>>>>>>         at 
>>>>>> org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.publishEvent(APIMgtUsageDataBridgeDataPublisher.java:140)
>>>>>>         at 
>>>>>> org.wso2.carbon.apimgt.usage.publisher.APIMgtResponseHandler.mediate(APIMgtResponseHandler.java:211)
>>>>>>         at 
>>>>>> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:84)
>>>>>>         at 
>>>>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81)
>>>>>>         at 
>>>>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48)
>>>>>>         at 
>>>>>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:155)
>>>>>>         at org.apache.synapse.rest.Resource.process(Resource.java:297)
>>>>>>         at org.apache.synapse.rest.API.process(API.java:335)
>>>>>>         at 
>>>>>> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:86)
>>>>>>         at 
>>>>>> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:52)
>>>>>>         at 
>>>>>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:295)
>>>>>>         at 
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:529)
>>>>>>         at 
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
>>>>>>         at 
>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>>         at 
>>>>>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:251)
>>>>>>         at 
>>>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>>>>         at 
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>         at 
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>         at java.lang.Thread.run(Thread.java:745)
>>>>>>
>>>>>> I am glad to hear something from you .
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks
>>>>> Abimaran Kugathasan
>>>>> Senior Software Engineer - API Technologies
>>>>>
>>>>> Email : abima...@wso2.com
>>>>> Mobile : +94 773922820
>>>>>
>>>>> <http://stackoverflow.com/users/515034>
>>>>> <http://lk.linkedin.com/in/abimaran>
>>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>>>> <https://twitter.com/abimaran>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rukshan Chathuranga.
>>>> Software Engineer.
>>>> WSO2, Inc.
>>>>
>>>
>>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>>
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to