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 <[email protected]>
wrote:

> Yes,
>
> I am getting other events from CEP.
>
> On Sat, Oct 11, 2014 at 11:05 AM, Manula Chathurika Thantriwatte <
> [email protected]> wrote:
>
>> Hi Raj,
>>
>> Is message broker up and running.
>>
>> On Sat, Oct 11, 2014 at 9:26 AM, Rajkumar Rajaratnam <[email protected]>
>> 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 : [email protected] / [email protected]
>> 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  : [email protected]  | mobile : +94 766819985

Reply via email to