You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/07/17 20:47:37 UTC

svn commit: r677678 - /cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java

Author: dkulp
Date: Thu Jul 17 11:47:36 2008
New Revision: 677678

URL: http://svn.apache.org/viewvc?rev=677678&view=rev
Log:
Remove hardcoded host name

Modified:
    cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java

Modified: cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java?rev=677678&r1=677677&r2=677678&view=diff
==============================================================================
--- cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java (original)
+++ cxf/trunk/benchmark/performance/soap_http_doc_lit/src/org/apache/cxf/performance/complex_type/server/Server.java Thu Jul 17 11:47:36 2008
@@ -33,7 +33,7 @@
     }
 
     public Server(String[] args) throws Exception {
-        this("http://pdrhas42:20003/performance/SoapHttpDocLitPort");
+        this("http://" + java.net.InetAddress.getLocalHost().getHostAddress() + ":20003/performance/SoapHttpDocLitPort");
     }
     
     public static void main(String args[]) throws Exception {