Sorry i copy the old log file, i will copy the new one, but basically the new 
log dont display any error, i dont hace the computer right now i will copy the 
file later, any other idea was is the problem?

Thanks
Ignacio

-----Mensaje original-----
De: "Udara Liyanage" <[email protected]>
Enviado el: ‎25/‎08/‎2014 10:59 p.m.
Para: "dev" <[email protected]>
CC: "Tulsi Ram Mayala" <[email protected]>
Asunto: Re: Problem Creating Multitenant Cartrige

Hi,


If you look at the cartridge agent logs you can see the below error logs. Log 
says that cartridge agent could not connect to CEP in order to send statistics. 
Could you please investigate whether CEP is running on the given IP and port 
172.31.25.28:7711. If yes, please check whether CEP is accesible from the 
cartridge instance by telnet 


telnet 172.31.25.28 7711


2014-08-25 21:28:58,653 [-] [pool-1-thread-1] ERROR AsyncDataPublisher Error 
while connection to event receiver
org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot borrow 
client for TCP,172.31.25.28:7611,TCP,172.31.25.28:7711
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.31.25.28 on port 7711
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:1153)
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)
... 13 more
2014-08-25 21:29:12,051 [-] [pool-2-thread-1] ERROR AsyncDataPublisher 
Reconnection failed for for tcp://172.31.25.28:7611
2014-08-25 21:29:27,043 [-] [pool-2-thread-1] ERROR AsyncDataPublisher 
Reconnection failed for for tcp://172.31.25.28:7611



On Tue, Aug 26, 2014 at 6:11 AM, Ignacio Ayuste <[email protected]> 
wrote:

Hi guys, i created multitenant cartrige and also configure successfully the 
cartrige Agent with the puppet agent, the apache stratos log(wscarbon.log) tell 
me that the instance is active but i still dont see the Active Instances when 
in the apache stratos console, that why when i try to subscribe with a tenant 
give me the error that telling me that i need to active instances.


i attached the log files of cartrige agent and also Stratos wscarbon.log that 
indicates when the instance change the status to active.


Is importat to say that i did the same process for a single tenant cartrige and 
works perfectly.


I need to do anything else to subscribe a multitenant cartrige.


Thanks
Ignacio








-- 


Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware


web: http://udaraliyanage.wordpress.com

phone: +94 71 443 6897

Reply via email to