stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Error while CEP publish member fault event
Date Sat, 11 Oct 2014 17:23:45 GMT
I'm also hitting this error!

TID: [0] [STRATOS] [2014-10-11 22:46:10,223]  WARN
{org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor}
-  Member already activated: [service] php [cluster] myphp.php.domain
[member] 1ffd9476-516a-11e4-90e0-080027dcc108
{org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor}

TID: [0] [STRATOS] [2014-10-11 22:46:10,223]  INFO
{org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}
-  [MemberActivatedEventListener] Received: class
org.apache.stratos.messaging.event.topology.MemberActivatedEvent
{org.apache.stratos.manager.topology.receiver.StratosManagerTopologyEventReceiver}

TID: [0] [STRATOS] [2014-10-11 22:46:17,926]  INFO
{org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} -  Faulty
member detected [member-id] 1ffd9476-516a-11e4-90e0-080027dcc108 with [last
time-stamp] 1413047710156 [time-out] 60000 milliseconds
{org.apache.stratos.cep.extension.FaultHandlingWindowProcessor}

TID: [0] [STRATOS] [2014-10-11 22:46:17,928]  INFO
{org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} -
Publishing member fault event for [member-id]
1ffd9476-516a-11e4-90e0-080027dcc108
{org.apache.stratos.cep.extension.FaultHandlingWindowProcessor}

TID: [0] [STRATOS] [2014-10-11 22:46:17,937] ERROR
{org.apache.stratos.messaging.broker.publish.TopicPublisher} -  Error while
publishing to the topic: summarized-health-stats/#
{org.apache.stratos.messaging.broker.publish.TopicPublisher}

java.lang.IllegalArgumentException

at
org.eclipse.paho.client.mqttv3.MqttAsyncClient.validateTopic(MqttAsyncClient.java:824)

at
org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:776)

at org.eclipse.paho.client.mqttv3.MqttClient.publish(MqttClient.java:315)

at
org.apache.stratos.messaging.broker.publish.TopicPublisher.publish(TopicPublisher.java:85)

at
org.apache.stratos.cep.extension.FaultHandlingWindowProcessor.publishMemberFault(FaultHandlingWindowProcessor.java:206)

at
org.apache.stratos.cep.extension.FaultHandlingWindowProcessor.run(FaultHandlingWindowProcessor.java:223)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:695)

TID: [0] [STRATOS] [2014-10-11 22:46:17,938]  INFO
{org.apache.stratos.messaging.broker.publish.TopicPublisher} -  Will try to
re-publish in 60 sec
{org.apache.stratos.messaging.broker.publish.TopicPublisher}


On Sat, Oct 11, 2014 at 5:50 PM, Gayan Gunarathne <gayang@wso2.com> wrote:

>
> We need to remove the # sign from the message topic.That's why the IllegalArgumentException
> happens with the topic validation.
>
> I guess this is fixed with the commit id 166b4d6 of
> https://github.com/apache/stratos/pull/87 PR
>
> Thanks,
> Gayan
>
> On Sat, Oct 11, 2014 at 12:54 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
> wrote:
>
>> Yes,
>>
>> I am getting other events from CEP.
>>
>> On Sat, Oct 11, 2014 at 11:05 AM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Raj,
>>>
>>> Is message broker up and running.
>>>
>>> On Sat, Oct 11, 2014 at 9:26 AM, Rajkumar Rajaratnam <rajkumarr@wso2.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,002] DEBUG
>>>> {org.apache.stratos.manager.publisher.TenantSynzhronizerTask} -  Publishing
>>>> complete tenant event
>>>> {org.apache.stratos.manager.publisher.TenantSynzhronizerTask}
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,003] DEBUG
>>>> {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask} -
>>>>  Executing topology synchronization task
>>>> {org.apache.stratos.cloud.controller.topology.TopologySynchronizerTask}
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,004] DEBUG
>>>> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -
>>>>  Publishing complete topology event
>>>> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,824]  INFO
>>>> {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} -  Faulty
>>>> member detected [member-id] f346074d-50f1-11e4-9f26-08002794b041 with [last
>>>> time-stamp] 1412999483131 [time-out] 60000 milliseconds
>>>> {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor}
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,825]  INFO
>>>> {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} -
>>>>  Publishing member fault event for [member-id]
>>>> f346074d-50f1-11e4-9f26-08002794b041
>>>> {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor}
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,828] ERROR
>>>> {org.apache.stratos.messaging.broker.publish.TopicPublisher} -  Error while
>>>> publishing to the topic: summarized-health-stats/#
>>>> {org.apache.stratos.messaging.broker.publish.TopicPublisher}
>>>> java.lang.IllegalArgumentException
>>>> at
>>>> org.eclipse.paho.client.mqttv3.MqttAsyncClient.validateTopic(MqttAsyncClient.java:824)
>>>> at
>>>> org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:776)
>>>> at
>>>> org.eclipse.paho.client.mqttv3.MqttClient.publish(MqttClient.java:315)
>>>> at
>>>> org.apache.stratos.messaging.broker.publish.TopicPublisher.publish(TopicPublisher.java:85)
>>>> at
>>>> org.apache.stratos.cep.extension.FaultHandlingWindowProcessor.publishMemberFault(FaultHandlingWindowProcessor.java:206)
>>>> at
>>>> org.apache.stratos.cep.extension.FaultHandlingWindowProcessor.run(FaultHandlingWindowProcessor.java:223)
>>>> at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>> at
>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>>>> at
>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>>>> 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)
>>>> TID: [0] [STRATOS] [2014-10-11 09:23:01,829]  INFO
>>>> {org.apache.stratos.messaging.broker.publish.TopicPublisher} -  Will try
to
>>>> re-publish in 60 sec
>>>> {org.apache.stratos.messaging.broker.publish.TopicPublisher}
>>>>
>>>> But CEP is publishing other events fine.
>>>>
>>>> Any idea?
>>>>
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Software Engineer | WSO2, Inc.
>>>> Mobile +94777568639 | +94783498120
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Software Engineer | WSO2, Inc.
>> Mobile +94777568639 | +94783498120
>>
>
>
>
> --
> Best Regards,
>
> Gayan Gunarathne
> Technical Lead
> WSO2 Inc. (http://wso2.com)
> email  : gayang@wso2.com  | mobile : +94 766819985
>
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message