activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1138852 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala
Date Thu, 23 Jun 2011 12:31:34 GMT
Author: chirino
Date: Thu Jun 23 12:31:33 2011
New Revision: 1138852

URL: http://svn.apache.org/viewvc?rev=1138852&view=rev
Log:
Fixes bug where we would try to create 2 connectors on the same port.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala?rev=1138852&r1=1138851&r2=1138852&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/jetty/JettyWebServer.scala
Thu Jun 23 12:31:33 2011
@@ -178,7 +178,7 @@ class JettyWebServer(val broker:Broker) 
         }
 
         // Only add the connector if not yet added..
-        val connector_id = scheme+"://"+bind_uri+":"+port
+        val connector_id = scheme+"://"+host+":"+port
         if ( !connectors.containsKey(connector_id) ) {
 
           val connector = scheme match {



Mime
View raw message