Hi Akila, Can you attach the BAM wso2carbon.log
Thanks On Mon, Oct 13, 2014 at 5:51 PM, Akila Nimantha [IT/EKO/LOITS] < [email protected]> wrote: > Hi Manoj, > > > > I used no 6 as BAM server offset. > > > > Regards, > > Akila > > > > *From:* Manoj Gunawardena [mailto:[email protected]] > *Sent:* 13 October 2014 4:46 PM > *To:* Akila Nimantha [IT/EKO/LOITS] > *Cc:* [email protected] > *Subject:* Re: [Dev] error in setup BAM server in API cluster setup > > > > Hi Akila, > > This seems to be you are not given correct thrift port of BAM in > <APIM_HOME>/repository/conf/api-manager.xml file. According to the BAM's > offset you are running, the thrift port may changed. > > Default thrift port is 7611 (non secure) and 7711 (secure). If offset is > 1, ports will be change 7612 and 7712. > > Thanks > > > > > > On Mon, Oct 13, 2014 at 4:08 PM, Akila Nimantha [IT/EKO/LOITS] < > [email protected]> wrote: > > Hi all, > > > > I am trying add BAM server( > https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics) in > API manager Cluster setup( > https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager). > > I just trying with default H2 database configurations and I get following > error. > > org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot > borrow client for TCP,172.20.2.150:7617,TCP,172.20.2.150:7717 > > 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:161) > > at > org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$ReceiverConnectionWorker.run(AsyncDataPublisher.java:787) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > 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) > > Caused by: org.apache.thrift.transport.TTransportException: Could not > connect to 172.20.2.150 on port 7717 > > 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) > > ... 8 more > > Caused by: java.net.ConnectException: Connection refused > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) > > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) > > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > > at java.net.Socket.connect(Socket.java:579) > > at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) > > at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:407) > > at > sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) > > at > org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:208) > > > > what should I do and when we setup BAM in api cluster is there specific > server component(gateway or keymanager or store or publisher or both)to > setup???????????????????? > > > > Regards, > > Akila > > > > This message (including any attachments) is intended only for the use of > the individual or entity to which it is addressed and may contain > information that is non-public, proprietary, privileged, confidential, and > exempt from disclosure under applicable law or may constitute as attorney > work product. If you are not the intended recipient, you are hereby > notified that any use, dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error, notify us immediately by telephone and (i) destroy > this message if a facsimile or (ii) delete this message immediately if this > is an electronic communication. Thank you. > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > > Manoj Gunawardena > > Tech Lead > > WSO2, Inc.: http://wso2.com > > lean.enterprise.middleware > > Mobile : +94 77 2291643 > > This message (including any attachments) is intended only for the use of > the individual or entity to which it is addressed and may contain > information that is non-public, proprietary, privileged, confidential, and > exempt from disclosure under applicable law or may constitute as attorney > work product. If you are not the intended recipient, you are hereby > notified that any use, dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error, notify us immediately by telephone and (i) destroy > this message if a facsimile or (ii) delete this message immediately if this > is an electronic communication. Thank you. > -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
