Browse Source

changed the port because something is already running on 8080

Mike Megally 12 years ago
parent
commit
1b792e49d0
2 changed files with 6 additions and 3 deletions
  1. 1 1
      dropwizard/benchmark_config
  2. 5 2
      dropwizard/hello-world.yml

+ 1 - 1
dropwizard/benchmark_config

@@ -6,7 +6,7 @@
             "json_url": "/json",
             "db_url": "/db",
             "query_url": "/db?queries=",
-            "port": 8080,
+            "port": 9980,
             "sort": 31
         }
     }]

+ 5 - 2
dropwizard/hello-world.yml

@@ -1,3 +1,6 @@
+http:
+  port: 9980
+
 database:
   # the name of your JDBC driver
   driverClass: com.mysql.jdbc.Driver
@@ -9,7 +12,7 @@ database:
   password: password
 
   # the JDBC URL
-  url: jdbc:mysql://localhost/hello_world
+  url: jdbc:mysql://127.0.0.1:3306/hello_world
 
   # any properties specific to your JDBC driver:
   properties:
@@ -34,4 +37,4 @@ database:
   checkConnectionHealthWhenIdleFor: 10s
 
   # the maximum lifetime of an idle connection
-  closeConnectionIfIdleFor: 1 minute
+  closeConnectionIfIdleFor: 1 minute