Just for completing this thread - here is how to disable the statistic
service

file: servicemix.xml

<sm:services>
      <!--sm:statistics statsInterval="10" dumpStats="true" /-->
</sm:services>

Regards
Jens

2008/7/14 Jens Willhardt <[EMAIL PROTECTED]>:

> Hi Gert,
>
> could you advice me how to do that?
> I'm using pretty much the standard config files...
>
> 2008/7/14 Gert Vanthienen <[EMAIL PROTECTED]>:
>
> Jens,
>>
>> As a workaround, you could disable the statistics service.
>> Gert
>>
>>
>> Jens Willhardt wrote:
>>
>>> Hi,
>>>
>>> I'm facing the same problem (SM-1456). Is it possible to fix this issue
>>> in
>>> short time or is there a way to avoid this exception?
>>> The Priority is set to minor, which I think it is not. I'm trying to use
>>> the
>>> cxf-bc + cxf-se but they are not useable at all in a test or productive
>>> environment. At least I don't know how?
>>>
>>> Regards and thanks in advance
>>> Jens
>>>
>>> 2008/7/10 Ryan Moquin <[EMAIL PROTECTED]>:
>>>
>>>
>>>
>>>> Sure, no prob.
>>>>
>>>> On Thu, Jul 10, 2008 at 1:22 AM, Gert Vanthienen <
>>>> [EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>>
>>>>
>>>>> Ryan,
>>>>>
>>>>> The StatisticsService will try do keep count of the amount of messages
>>>>> processed by every component / endpoint.  Looking at the code, this
>>>>> exception could be raised during startup when a MessageExchange is
>>>>> being
>>>>> sent to an endpoint before it has been registered in the ESB.  I have
>>>>>
>>>>>
>>>> never
>>>>
>>>>
>>>>> seen this exception myself, but I do think the StatisticsService should
>>>>>
>>>>>
>>>> be
>>>>
>>>>
>>>>> able to handle this (by at least not throwing a NullPointerException).
>>>>>  Could you raise a JIRA issue for this?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gert
>>>>>
>>>>>
>>>>> Ryan Moquin wrote:
>>>>>
>>>>>
>>>>>
>>>>>> I've been working on some new services which have been giving me some
>>>>>> trouble.  One of the exceptions is a bit weird and doesn't seem to
>>>>>> have
>>>>>> any
>>>>>> indication where it came from or what it is.  I also have also only
>>>>>> seen
>>>>>> it
>>>>>> once so far while testing things.  Is this exception benign or does it
>>>>>> mean
>>>>>> anything in particular that is important?  Is is it just something
>>>>>> that
>>>>>> could happen while servicemix is starting up?
>>>>>>
>>>>>> WARN  - DeliveryChannelImpl            - Error calling listener: null
>>>>>> java.lang.NullPointerException
>>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>>>
>>>>
>>>>>       at
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>>>
>>>>
>>>>> Thanks!
>>>>>> Ryan
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>

Reply via email to