I've gone through the code. It seems what is fixed when the Message Broker
is down after a deployment of a proxy which use MB.

Thanks.


On Sun, Nov 17, 2013 at 9:14 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote:

> Heard that Ishara has fixed this for next release.
>
> Thanks.
>
>
> On Wed, Nov 13, 2013 at 6:43 AM, Lahiru Sandaruwan <lahi...@wso2.com>wrote:
>
>> Hi,
>>
>> I experience $subject.([1]) I happened when we create a proxy to listen a
>> queue in Message Broker when the Message Broker is down.
>>
>> IMO we should handle this better as this can grow log files to GBs in
>> minutes. Also logs become almost impossible to track for anything.
>>
>> Thanks.
>>
>> [1]
>>
>> [2013-11-13 06:30:24,525]  INFO - AMQConnection Unable to connect to
>> broker at tcp://localhost:5673
>> org.wso2.andes.transport.TransportException: Could not open connection
>>  at
>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>> at
>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>  at
>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>> at
>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>  at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>> at
>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>  at
>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)
>> at
>> org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629)
>>  at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824)
>> at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706)
>>  at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496)
>> at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420)
>>  at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> 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)
>> [2013-11-13 06:30:24,527] ERROR - ServiceTaskManager Error acquiring a
>> JMS connection to : QueueConnectionFactory using JNDI properties :
>> {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory,
>> java.naming.provider.url=repository/conf/jndi.properties,
>> transport.jms.ConnectionFactoryType=queue, serviceType=proxy}
>> javax.jms.JMSException: Error creating connection: Could not open
>> connection
>> at
>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>  at
>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)
>> at
>> org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629)
>>  at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824)
>> at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706)
>>  at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496)
>> at
>> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420)
>>  at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> 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.wso2.andes.AMQConnectionFailureException: Could not open
>> connection
>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>  at
>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>> ... 10 more
>> Caused by: org.wso2.andes.transport.TransportException: Could not open
>> connection
>> at
>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>  at
>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>> at
>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>  at
>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>  ... 11 more
>> [2013-11-13 06:30:24,529] ERROR - NativeWorkerPool Uncaught exception
>> org.apache.axis2.transport.jms.AxisJMSException: Error acquiring a JMS
>> connection to : QueueConnectionFactory using JNDI properties :
>> {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory,
>> java.naming.provider.url=repository/conf/jndi.properties,
>> transport.jms.ConnectionFactoryType=queue, serviceType=proxy}
>>  at
>> org.apache.axis2.transport.jms.ServiceTaskManager.handleException(ServiceTaskManager.java:1000)
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahi...@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahi...@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahi...@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to