On Mon, Jan 21, 2013 at 7:44 PM, Sinthuja Ragendran <[email protected]>wrote:

> Hi,
>
> On Mon, Jan 21, 2013 at 6:45 PM, Dushan Abeyruwan <[email protected]> wrote:
>
>> Full Profile I have created
>>
>> Server Profile Profile Name* Server Credential User Name* Password* Server
>> Transport Enable Load Balancer Protocol*                         Thrift
>>                     Enable Security IP Address* Receiver Port* Authentication
>> Port*   Streams Configuration Name Version Nickname Description   Remove
>> StreamEdit Stream Add Stream
>>
>>
> You have enabled security here, please untick this and use without
> security and use receiver port to 7611. This will solve your problem.
>

Yes, I chatted with Dushan, After configured it correctly and restart the
server this issue went away.
I created an issue[1], since until restart the server, mediator didn't use
the new configuration.

[1] https://wso2.org/jira/browse/BAM-1026

Thanks,
KasunW.


> Thanks,
> Sinthuja.
>
>
>
>>
>>
>> On Mon, Jan 21, 2013 at 6:42 PM, Dushan Abeyruwan <[email protected]>wrote:
>>
>>> HI
>>>    I am using
>>>
>>>          able Load Balancer Protocol*                         Thrift
>>>                     Enable Security IP Address* Receiver Port* 
>>> Authentication
>>> Port*
>>>
>>>
>>>
>>> and gives mes success connect..
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Jan 21, 2013 at 6:35 PM, Kasun Weranga <[email protected]> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Jan 21, 2013 at 6:14 PM, Dushan Abeyruwan <[email protected]>wrote:
>>>>
>>>>>
>>>>> e : StockQuoteProxy
>>>>> [2013-01-21 18:05:39,461]  INFO - Stream Data Publisher Created.
>>>>> [2013-01-21 18:05:39,465] ERROR - StreamDefinitionBuilder Malformed
>>>>> Stream Definition
>>>>> org.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionException:
>>>>> version stock does not adhere to the format x.x.x
>>>>> at
>>>>> org.wso2.carbon.databridge.commons.StreamDefinition.<init>(StreamDefinition.java:58)
>>>>>  at
>>>>> org.wso2.carbon.mediator.bam.StreamDefinitionBuilder.buildStream(StreamDefinitionBuilder.java:55)
>>>>> at org.wso2.carbon.mediator.bam.Stream.logMessage(Stream.java:107)
>>>>>  at org.wso2.carbon.mediator.bam.Stream.sendEvents(Stream.java:92)
>>>>> at
>>>>> org.wso2.carbon.mediator.bam.BamMediator.mediate(BamMediator.java:69)
>>>>>  at
>>>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70)
>>>>> at org.apache.synapse.mediators.base.SequenceMediato
>>>>>
>>>>>
>>>>> and more I am getting following errors
>>>>>
>>>>> BAM side..
>>>>> main] DEBUG org.apache.hadoop.hive.conf.HiveConf  - Using
>>>>> hive-site.xml found on CLASSPATH at
>>>>> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/conf/advanced/hive-site.xml
>>>>> [2013-01-21 18:10:02,240] ERROR
>>>>> {org.apache.thrift.server.TThreadPoolServer} -  Thrift error occurred
>>>>> during processing of message.
>>>>> org.apache.thrift.protocol.TProtocolException: Bad version in
>>>>> readMessageBegin
>>>>>  at
>>>>> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:208)
>>>>> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:22)
>>>>>  at
>>>>> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>  at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>> at java.lang.Thread.run(Thread.java:662)
>>>>> Execution log at:
>>>>> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/logs//wso2carbon.log
>>>>> 2013-01-21 18:10:03,477 null map = 100%,  reduce = 0%
>>>>> 2013-01-21 18:10:06,480 null map = 100%,  reduce = 100%
>>>>>
>>>>>
>>>>> ESB Side
>>>>>
>>>>> #1
>>>>> ## Next retryThu Jan 01 05:29:59 IST 1970Current time Mon Jan 21
>>>>> 18:10:02 IST 2013
>>>>> [2013-01-21 18:10:02,240] ERROR - AsyncDataPublisher Reconnection
>>>>> failed forssl://127.0.0.1:7611
>>>>>
>>>>
>>>> I think you have used 7611 for authentication port
>>>>
>>>> Thanks,
>>>> KasunW.
>>>>
>>>>>
>>>>> cheers,
>>>>> Dushan Abeyruwan
>>>>> *Senior Software Engineer*
>>>>> *Integration Technologies Team*
>>>>> *WSO2 Inc. http://wso2.com/*
>>>>> *Mobile:(+94)714408632*
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Kasun Weranga*
>>>> **
>>>> Member, Management Committee - Data Technologies
>>>> Software Engineer
>>>> *WSO2, Inc.
>>>> *lean.enterprise.middleware.
>>>> mobile : +94 772314602
>>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>>> http://kasunweranga.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Dushan Abeyruwan
>>> *Senior Software Engineer*
>>> *Integration Technologies Team*
>>> *WSO2 Inc. http://wso2.com/*
>>> *Mobile:(+94)714408632*
>>>
>>
>>
>>
>> --
>> Dushan Abeyruwan
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com/*
>> *Mobile:(+94)714408632*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Software Engineer <http://wso2.com/>
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to