axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (AXIS2-5554) JMS transport repetitivly logs exception if the broker is off line
Date Fri, 10 May 2013 11:03:16 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen moved TRANSPORTS-35 to AXIS2-5554:
--------------------------------------------------

    Fix Version/s:     (was: 1.7.0)
                   1.6.3
                   1.7.0
              Key: AXIS2-5554  (was: TRANSPORTS-35)
          Project: Axis2  (was: Axis2 Transports)
    
> JMS transport repetitivly logs exception if the broker is off line
> ------------------------------------------------------------------
>
>                 Key: AXIS2-5554
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5554
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Rajika Kumarasiri
>             Fix For: 1.7.0, 1.6.3
>
>         Attachments: TRANSPORTS-35.patch, TRANSPORTS-35.patch, TRANSPORTS-35.patch
>
>
> The following exception is logged if the broker is offline. Once the broker becomes available
the JMS transport listener doesn't re-connect automatically. 
> 2011-04-05 10:08:45,830 [-] [jms-Worker-18] ERROR ServiceTaskManager Error acquiring
a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory,
java.naming.provider.url=tcp://localhost:61616, interface=SimpleStockQuoteServicePortType,
transport.jms.ConnectionFactoryType=queue, serviceType=proxy}
> javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused
>     at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
>     at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
>     at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:224)
>     at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:172)
>     at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:554)
>     at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:809)
>     at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:691)
>     at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:489)
>     at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:414)
>     at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
>     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:619)
> 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:525)
>     at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:435)
>     at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:401)
>     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
>     at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
>     at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
>     at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
>     at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
>     at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
>     at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:260)
>     ... 11 more
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message