activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3599) JaasDualAuthenticationPlugin, java.net.BindException: Address already in use on shutdown with pending connectons
Date Thu, 17 Nov 2011 10:48:51 GMT
JaasDualAuthenticationPlugin, java.net.BindException: Address already in use on shutdown with
pending connectons
----------------------------------------------------------------------------------------------------------------

                 Key: AMQ-3599
                 URL: https://issues.apache.org/jira/browse/AMQ-3599
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.5.0
            Reporter: Gary Tully
            Priority: Minor
             Fix For: 5.6.0


The check for an ssl connection is causing re-init of the transport server in error.
Exception from the logs at shutdown:
{code}2011-11-15 16:43:18,997 [139:53398-29324] WARN  Service                        - Failed
to remove connection ConnectionInfo {}, reason: java.io.IOException: Failed to bind to server
socket: stomp://0.0.0.0:6163?transport.closeAsync=false&transport.keepAlive=true&transport.soLinger=0
due to: java.net.BindException: Address already in use
2011-11-15 16:43:18,997 [139:53398-29324] DEBUG Service                        - Exception
detail:
java.io.IOException: Failed to bind to server socket: stomp://0.0.0.0:6163?transport.closeAsync=false&transport.keepAlive=true&transport.soLinger=0
due to: java.net.BindException: Address already in use
	at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:139)
	at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
	at org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
	at org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:315)
	at org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:145)
	at org.apache.activemq.security.JaasDualAuthenticationBroker.removeConnection(JaasDualAuthenticationBroker.java:111)
	at org.apache.activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:113)
	at org.apache.activemq.broker.MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:119)
	at org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:757)
	at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1036)
	at org.apache.activemq.broker.jmx.ManagedTransportConnection.doStop(ManagedTransportConnection.java:73)
	at org.apache.activemq.broker.TransportConnection$3.run(TransportConnection.java:964)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
	at java.net.ServerSocket.bind(ServerSocket.java:328)
	at java.net.ServerSocket.<init>(ServerSocket.java:194)
	at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)
	... 12 more{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message