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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to