Thanks for reply Vijitha. It worked as u suggested. above port generated
using the port, we are specifying in event publisher.


Thanks
Godwin

On Tue, Nov 21, 2017 at 11:36 AM, Vijitha Ekanayake <vijit...@wso2.com>
wrote:

> Hi Godwin,
>
> You can change the portOffset of the EI analytics distribution by changing
> the carbon.xml file resides in (EI_HOME)/wso2/analytics/conf directory.
> Once you change the port of the EI analytics, please make sure to change
> the MessageFlowConfigurationPublisher and MessageFlowStatisticsPublisher
> to point to the correct EI analytics server. you can find relevant files
> inside (EI_HOME)/repository/deployment/server/eventpublishers/ directory.
> Further, refer[1] for more details.
>
>
> [1]. https://docs.wso2.com/display/EI611/Prerequisites+
> to+Publish+Statistics
>
> Thanks.
>
> On Tue, Nov 21, 2017 at 9:39 AM, Godwin Shrimal <god...@wso2.com> wrote:
>
>> Hi All,
>>
>> Can't we change the port offset of the EI analytics? By default, it's 1
>> and I set it to 0 and run and got below error in EI nodes. IS there any
>> place to configure 7712 port complaining below? I couldn't find any
>> configs.
>>
>> TID: [-1] [] [2017-11-21 11:05:32,476] ERROR {
>> org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker}
>> -  Error while trying to connect to the endpoint. Cannot borrow client for
>> ssl://10.50.139.12:7712 {org.wso2.carbon.databridge.ag
>> ent.endpoint.DataEndpointConnectionWorker}
>> org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:
>> Cannot borrow client for ssl://10.50.139.12:7712
>>         at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnec
>> tionWorker.connect(DataEndpointConnectionWorker.java:99)
>>         at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnec
>> tionWorker.run(DataEndpointConnectionWorker.java:42)
>>         at java.util.concurrent.Executors$RunnableAdapter.call(
>> Executors.java:511)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>>         at java.lang.Thread.run(Thread.java:745)
>> Caused by: 
>> org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:
>> Error while trying to connect to ssl://10.50.139.12:7712
>>         at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecur
>> eClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)
>>         at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFa
>> ctory.makeObject(AbstractClientPoolFactory.java:39)
>>         at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowOb
>> ject(GenericKeyedObjectPool.java:1212)
>>         at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnec
>> tionWorker.connect(DataEndpointConnectionWorker.java:91)
>>         ... 6 more
>> Caused by: org.apache.thrift.transport.TTransportException: Could not
>> connect to 10.50.139.12 on port 7712
>>         at org.apache.thrift.transport.TSSLTransportFactory.createClien
>> t(TSSLTransportFactory.java:237)
>>         at org.apache.thrift.transport.TSSLTransportFactory.getClientSo
>> cket(TSSLTransportFactory.java:169)
>>         at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecur
>> eClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:63)
>>         ... 9 more
>> Caused by: java.net.ConnectException: Connection refused
>>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>>         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSock
>> etImpl.java:350)
>>         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPl
>> ainSocketImpl.java:206)
>>         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocket
>> Impl.java:188)
>>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>>         at java.net.Socket.connect(Socket.java:589)
>>         at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
>>         at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:427)
>>         at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocket
>> FactoryImpl.java:88)
>>         at org.apache.thrift.transport.TSSLTransportFactory.createClien
>> t(TSSLTransportFactory.java:233)
>>         ... 11 more
>>
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>>
>
>
>
> --
> Vijitha Ekanayake
> Senior Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>



-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
<https://www.linkedin.com/in/godwin-amila-2ba26844/>*
twitter: https://twitter.com/godwinamila
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to