geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r448163 - in /geronimo/server/trunk/modules: geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
Date Wed, 20 Sep 2006 11:15:13 GMT
Author: hogstrom
Date: Wed Sep 20 04:15:12 2006
New Revision: 448163

URL: http://svn.apache.org/viewvc?view=rev&rev=448163
Log:
GERONIMO-2329 updated web connectors to provide fully qualified host names to support remote
deploy

Modified:
    geronimo/server/trunk/modules/geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java
    geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java

Modified: geronimo/server/trunk/modules/geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java?view=diff&rev=448163&r1=448162&r2=448163
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jetty/src/main/java/org/apache/geronimo/jetty/connector/JettyConnector.java
Wed Sep 20 04:15:12 2006
@@ -95,7 +95,7 @@
                     host = "unknown-host";
                 }
                 if(address != null) {
-                    host = address.getHostName();
+                    host = address.getCanonicalHostName();
                     if(host == null || host.equals("")) {
                         host = address.getHostAddress();
                     }

Modified: geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java?view=diff&rev=448163&r1=448162&r2=448163
==============================================================================
--- geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
Wed Sep 20 04:15:12 2006
@@ -163,7 +163,7 @@
                     host = "unknown-host";
                 }
                 if(address != null) {
-                    host = address.getHostName();
+                    host = address.getCanonicalHostName();
                     if(host == null || host.equals("")) {
                         host = address.getHostAddress();
                     }



Mime
View raw message