Yes port offset is 4
On Fri, Nov 15, 2013 at 1:48 PM, Sajith Kariyawasam <[email protected]> wrote: > Are you running CEP with a port offset value ? If so, I guess you have to > change the default port accordingly .. > > > On Fri, Nov 15, 2013 at 1:01 PM, Nirmal Fernando > <[email protected]>wrote: > >> Manula, >> >> I think by default the thrift receiver binds to localhost. Try with that. >> >> >> On Fri, Nov 15, 2013 at 12:58 PM, Isuru Perera <[email protected]> wrote: >> >>> Hi Manula, >>> >>> It is the thrift port. (As indicated by the exception) >>> >>> >>> On Thu, Nov 14, 2013 at 11:20 PM, Manula Chathurika Thantriwatte < >>> [email protected]> wrote: >>> >>>> Hi Nirmal, >>>> >>>> I have already set the IP and port. But still get the error. Is this >>>> related to MB IP and port ? >>>> >>>> >>>> On Fri, Nov 15, 2013 at 12:25 PM, Nirmal Fernando < >>>> [email protected]> wrote: >>>> >>>>> Manula, >>>>> >>>>> If you have a look at the error carefully, it's a connection refused >>>>> error. Please check the IP and port, you are trying to connect to. >>>>> >>>>> >>>>> On Fri, Nov 15, 2013 at 11:58 AM, Manula Chathurika Thantriwatte < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm getting following error in CEP after receiving health stats from >>>>>> health stat module in cartridge agent. Any idea ? Have I did some mistake >>>>>> in configuring event builder, execution plan or event formatter ? >>>>>> >>>>>> Thanks in advanced. >>>>>> >>>>>> [2013-11-15 11:53:34,421] ERROR - {AsyncDataPublisher} Error while >>>>>> connection to event receiver >>>>>> org.wso2.carbon.databridge.agent.thrift.exception.AgentException: >>>>>> Cannot borrow client for TCP,localhost:7661,TCP,localhost:7761 >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:58) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.DataPublisher.start(DataPublisher.java:273) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPublisher.java:211) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$ReceiverConnectionWorker.run(AsyncDataPublisher.java:782) >>>>>> at >>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >>>>>> at >>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>>>> 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) >>>>>> Caused by: org.apache.thrift.transport.TTransportException: Could not >>>>>> connect to 10.225.243.112 on port 7761 >>>>>> at >>>>>> org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:212) >>>>>> at >>>>>> org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:166) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure.SecureClientPoolFactory.makeObject(SecureClientPoolFactory.java:90) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure.SecureClientPoolFactory.makeObject(SecureClientPoolFactory.java:48) >>>>>> at >>>>>> org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212) >>>>>> at >>>>>> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:50) >>>>>> ... 9 more >>>>>> Caused by: java.net.ConnectException: Connection refused >>>>>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>>>>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) >>>>>> at >>>>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) >>>>>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) >>>>>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >>>>>> at java.net.Socket.connect(Socket.java:529) >>>>>> at >>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559) >>>>>> at >>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:360) >>>>>> at >>>>>> com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71) >>>>>> at >>>>>> org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:208) >>>>>> ... 14 more >>>>>> [2013-11-15 11:53:34,422] ERROR - {AMQConnection} Throwable Received >>>>>> but no listener set: org.wso2.andes.client.AMQNoRouteException: Error: No >>>>>> Route for message [error code 312: no route] >>>>>> >>>>>> In MB log in getting following. >>>>>> >>>>>> Message routing key: average-total-memory No routes. >>>>>> >>>>>> -- >>>>>> 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/ >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Nirmal >>>>> >>>>> Nirmal Fernando. >>>>> PPMC Member & Committer of Apache Stratos, >>>>> Senior Software Engineer, WSO2 Inc. >>>>> >>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> 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/ >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Isuru Perera >>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>> Lean . Enterprise . Middleware >>> >>> about.me/chrishantha >>> >> >> >> >> -- >> Best Regards, >> Nirmal >> >> Nirmal Fernando. >> PPMC Member & Committer of Apache Stratos, >> Senior Software Engineer, WSO2 Inc. >> >> Blog: http://nirmalfdo.blogspot.com/ >> > > > > -- > *Sajith Kariyawasam* > *Senior Software Engineer; WSO2, Inc.* > *AMIE (SL)* > *Blog: http://sajithblogs.blogspot.com/ <http://sajithblogs.blogspot.com/>* > *Mobile: +94772269575 <%2B94772269575>* > -- 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/
