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 {


Reply via email to