Advertisement
Guest User

Untitled

a guest
Nov 16th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.39 KB | None | 0 0
  1. 2016-11-16 14:55:01.019 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  2. 2016-11-16 14:55:01.034 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  3. 2016-11-16 14:55:01.040 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  4. 2016-11-16 14:55:01.043 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  5. 2016-11-16 14:55:01.045 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  6. 2016-11-16 14:55:01.458 INFO 146 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 146 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  7. 2016-11-16 14:55:01.463 INFO 146 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  8. 2016-11-16 14:55:02.238 INFO 146 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 14:55:02 UTC 2016]; root of context hierarchy
  9. 2016-11-16 14:55:02.688 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  10. 2016-11-16 14:55:19.401 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  11. 2016-11-16 14:55:19.408 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  12. 2016-11-16 14:55:19.413 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  13. 2016-11-16 14:55:19.556 INFO 146 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  14. 2016-11-16 14:55:20.256 INFO 146 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$76ca8690] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  15. 2016-11-16 14:55:23.426 INFO 146 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  16. 2016-11-16 14:55:23.485 INFO 146 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  17. 2016-11-16 14:55:23.491 INFO 146 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  18. 2016-11-16 14:55:24.227 INFO 146 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  19. 2016-11-16 14:55:24.237 DEBUG 146 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  20. 2016-11-16 14:55:24.240 INFO 146 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 22009 ms
  21. 2016-11-16 14:55:24.287 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  22. 2016-11-16 14:55:24.288 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  23. 2016-11-16 14:55:24.291 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  24. 2016-11-16 14:55:24.294 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  25. 2016-11-16 14:55:24.298 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  26. 2016-11-16 14:55:25.427 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  27. 2016-11-16 14:55:25.459 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  28. 2016-11-16 14:55:25.462 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  29. 2016-11-16 14:55:25.470 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  30. 2016-11-16 14:55:25.471 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  31. 2016-11-16 14:55:25.835 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  32. 2016-11-16 14:55:25.839 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  33. 2016-11-16 14:55:25.849 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  34. 2016-11-16 14:55:25.851 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  35. 2016-11-16 14:55:25.853 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  36. 2016-11-16 14:55:26.036 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  37. 2016-11-16 14:55:26.049 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  38. 2016-11-16 14:55:26.053 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  39. 2016-11-16 14:55:26.053 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  40. 2016-11-16 14:55:26.058 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  41. 2016-11-16 14:55:26.409 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  42. 2016-11-16 14:55:26.418 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  43. 2016-11-16 14:55:26.420 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  44. 2016-11-16 14:55:26.424 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  45. 2016-11-16 14:55:26.425 DEBUG 146 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  46. 2016-11-16 14:55:26.759 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  47. 2016-11-16 14:55:26.763 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  48. 2016-11-16 14:55:26.765 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  49. 2016-11-16 14:55:26.770 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  50. 2016-11-16 14:55:26.773 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  51. 2016-11-16 14:55:26.774 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  52. 2016-11-16 14:55:27.129 DEBUG 146 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  53. 2016-11-16 14:55:27.132 DEBUG 146 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  54. 2016-11-16 14:55:27.239 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  55. 2016-11-16 14:55:28.394 INFO 146 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  56. 2016-11-16 14:55:28.818 WARN 146 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  57.  
  58. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  59. 2016-11-16 14:55:28.839 INFO 146 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  60. 2016-11-16 14:55:28.865 INFO 146 --- [main] utoConfigurationReportLoggingInitializer :
  61.  
  62. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  63. 2016-11-16 14:55:28.887 ERROR 146 --- [main] o.s.boot.SpringApplication : Application startup failed
  64.  
  65. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  66.  
  67. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  68. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  69. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  70. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  71. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  72. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  73. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  74. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  75. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  76. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  77. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  78. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  79. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  80. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  81. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  82. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  83. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  84. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  85. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  86. at com.targetcircle.finance.Application.main(Application.java:25)
  87. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  88.  
  89. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  90. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  91. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  92. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  93. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  94. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  95. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  96. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  97. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  98. ... 18 common frames omitted
  99. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  100.  
  101. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  102. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  103. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  104. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  105. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  106. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  107. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  108. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  109. ... 25 common frames omitted
  110. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  111.  
  112. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  113. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  114. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  115. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  116. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  117. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  118. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  119. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  120. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  121. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  122. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  123. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  124. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  125. ... 29 common frames omitted
  126. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  127. at java.net.PlainSocketImpl.socketConnect(Native Method)
  128. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  129. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  130. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  131. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  132. at java.net.Socket.connect(Socket.java:589)
  133. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  134. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  135. ... 32 common frames omitted
  136.  
  137. 2016-11-16 15:04:39.405 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  138. 2016-11-16 15:04:39.424 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  139. 2016-11-16 15:04:39.428 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  140. 2016-11-16 15:04:39.431 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  141. 2016-11-16 15:04:39.433 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  142. 2016-11-16 15:04:39.865 INFO 199 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 199 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  143. 2016-11-16 15:04:39.869 INFO 199 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  144. 2016-11-16 15:05:31.133 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  145. 2016-11-16 15:05:31.232 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  146. 2016-11-16 15:05:31.241 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  147. 2016-11-16 15:05:31.244 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  148. 2016-11-16 15:05:31.257 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  149. 2016-11-16 15:05:32.547 INFO 119 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 119 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  150. 2016-11-16 15:05:32.551 INFO 119 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  151. 2016-11-16 15:05:33.437 INFO 119 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 15:05:33 UTC 2016]; root of context hierarchy
  152. 2016-11-16 15:05:34.130 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  153. 2016-11-16 15:05:52.634 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  154. 2016-11-16 15:05:52.651 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  155. 2016-11-16 15:05:52.652 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  156. 2016-11-16 15:05:52.824 INFO 119 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  157. 2016-11-16 15:05:53.382 INFO 119 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$76ca8690] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  158. 2016-11-16 15:05:56.689 INFO 119 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  159. 2016-11-16 15:05:56.734 INFO 119 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  160. 2016-11-16 15:05:56.740 INFO 119 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  161. 2016-11-16 15:05:57.302 INFO 119 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  162. 2016-11-16 15:05:57.309 DEBUG 119 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  163. 2016-11-16 15:05:57.313 INFO 119 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 23884 ms
  164. 2016-11-16 15:05:57.358 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  165. 2016-11-16 15:05:57.360 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  166. 2016-11-16 15:05:57.365 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  167. 2016-11-16 15:05:57.372 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  168. 2016-11-16 15:05:57.376 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  169. 2016-11-16 15:05:58.519 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  170. 2016-11-16 15:05:58.521 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  171. 2016-11-16 15:05:58.523 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  172. 2016-11-16 15:05:58.531 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  173. 2016-11-16 15:05:58.532 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  174. 2016-11-16 15:05:58.840 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  175. 2016-11-16 15:05:58.843 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  176. 2016-11-16 15:05:58.848 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  177. 2016-11-16 15:05:58.850 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  178. 2016-11-16 15:05:58.853 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  179. 2016-11-16 15:05:59.040 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  180. 2016-11-16 15:05:59.044 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  181. 2016-11-16 15:05:59.052 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  182. 2016-11-16 15:05:59.056 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  183. 2016-11-16 15:05:59.056 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  184. 2016-11-16 15:05:59.322 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  185. 2016-11-16 15:05:59.330 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  186. 2016-11-16 15:05:59.332 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  187. 2016-11-16 15:05:59.333 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  188. 2016-11-16 15:05:59.335 DEBUG 119 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  189. 2016-11-16 15:05:59.486 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  190. 2016-11-16 15:05:59.492 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  191. 2016-11-16 15:05:59.494 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  192. 2016-11-16 15:05:59.496 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  193. 2016-11-16 15:05:59.498 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  194. 2016-11-16 15:05:59.503 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  195. 2016-11-16 15:05:59.615 DEBUG 119 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  196. 2016-11-16 15:05:59.616 DEBUG 119 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  197. 2016-11-16 15:05:59.646 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  198. 2016-11-16 15:06:01.234 INFO 119 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  199. 2016-11-16 15:06:01.868 WARN 119 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  200.  
  201. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  202. 2016-11-16 15:06:01.888 INFO 119 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  203. 2016-11-16 15:06:01.939 INFO 119 --- [main] utoConfigurationReportLoggingInitializer :
  204.  
  205. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  206. 2016-11-16 15:06:01.962 ERROR 119 --- [main] o.s.boot.SpringApplication : Application startup failed
  207.  
  208. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  209.  
  210. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  211. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  212. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  213. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  214. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  215. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  216. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  217. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  218. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  219. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  220. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  221. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  222. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  223. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  224. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  225. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  226. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  227. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  228. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  229. at com.targetcircle.finance.Application.main(Application.java:25)
  230. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  231.  
  232. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  233. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  234. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  235. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  236. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  237. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  238. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  239. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  240. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  241. ... 18 common frames omitted
  242. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  243.  
  244. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  245. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  246. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  247. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  248. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  249. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  250. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  251. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  252. ... 25 common frames omitted
  253. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  254.  
  255. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  256. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  257. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  258. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  259. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  260. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  261. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  262. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  263. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  264. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  265. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  266. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  267. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  268. ... 29 common frames omitted
  269. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  270. at java.net.PlainSocketImpl.socketConnect(Native Method)
  271. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  272. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  273. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  274. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  275. at java.net.Socket.connect(Socket.java:589)
  276. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  277. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  278. ... 32 common frames omitted
  279.  
  280. 2016-11-16 15:07:55.092 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  281. 2016-11-16 15:07:55.153 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  282. 2016-11-16 15:07:55.163 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  283. 2016-11-16 15:07:55.183 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  284. 2016-11-16 15:07:55.194 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  285. 2016-11-16 15:07:56.059 INFO 121 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 121 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  286. 2016-11-16 15:07:56.081 INFO 121 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  287. 2016-11-16 15:07:57.614 INFO 121 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 15:07:57 UTC 2016]; root of context hierarchy
  288. 2016-11-16 15:07:59.830 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  289. 2016-11-16 15:08:05.894 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  290. 2016-11-16 15:08:05.974 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  291. 2016-11-16 15:08:05.975 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  292. 2016-11-16 15:08:05.982 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  293. 2016-11-16 15:08:06.000 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  294. 2016-11-16 15:08:07.234 INFO 137 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 137 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  295. 2016-11-16 15:08:07.235 INFO 137 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  296. 2016-11-16 15:08:08.560 INFO 137 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 15:08:08 UTC 2016]; root of context hierarchy
  297. 2016-11-16 15:08:10.832 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  298. 2016-11-16 15:08:15.041 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  299. 2016-11-16 15:08:15.120 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  300. 2016-11-16 15:08:15.129 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  301. 2016-11-16 15:08:15.136 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  302. 2016-11-16 15:08:15.145 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  303. 2016-11-16 15:08:16.805 INFO 154 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 154 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  304. 2016-11-16 15:08:16.821 INFO 154 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  305. 2016-11-16 15:08:18.554 INFO 154 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 15:08:18 UTC 2016]; root of context hierarchy
  306. 2016-11-16 15:08:20.381 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  307. 2016-11-16 15:09:02.681 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  308. 2016-11-16 15:09:02.686 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  309. 2016-11-16 15:09:02.689 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  310. 2016-11-16 15:09:02.844 INFO 121 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  311. 2016-11-16 15:09:04.053 INFO 121 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3027eb3d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  312. 2016-11-16 15:09:08.050 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  313. 2016-11-16 15:09:08.058 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  314. 2016-11-16 15:09:08.063 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  315. 2016-11-16 15:09:08.240 INFO 137 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  316. 2016-11-16 15:09:09.755 INFO 137 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3027eb3d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  317. 2016-11-16 15:09:10.604 INFO 121 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  318. 2016-11-16 15:09:10.805 INFO 121 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  319. 2016-11-16 15:09:10.851 INFO 121 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  320. 2016-11-16 15:09:11.946 INFO 121 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  321. 2016-11-16 15:09:11.960 DEBUG 121 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  322. 2016-11-16 15:09:11.970 INFO 121 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 74361 ms
  323. 2016-11-16 15:09:12.190 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  324. 2016-11-16 15:09:12.191 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  325. 2016-11-16 15:09:12.210 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  326. 2016-11-16 15:09:12.215 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  327. 2016-11-16 15:09:12.224 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  328. 2016-11-16 15:09:13.532 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  329. 2016-11-16 15:09:13.534 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  330. 2016-11-16 15:09:13.548 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  331. 2016-11-16 15:09:13.558 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  332. 2016-11-16 15:09:13.561 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  333. 2016-11-16 15:09:13.875 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  334. 2016-11-16 15:09:13.881 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  335. 2016-11-16 15:09:13.897 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  336. 2016-11-16 15:09:13.910 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  337. 2016-11-16 15:09:13.915 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  338. 2016-11-16 15:09:14.146 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  339. 2016-11-16 15:09:14.156 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  340. 2016-11-16 15:09:14.161 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  341. 2016-11-16 15:09:14.164 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  342. 2016-11-16 15:09:14.167 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  343. 2016-11-16 15:09:14.519 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  344. 2016-11-16 15:09:14.539 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  345. 2016-11-16 15:09:14.542 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  346. 2016-11-16 15:09:14.552 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  347. 2016-11-16 15:09:14.554 DEBUG 121 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  348. 2016-11-16 15:09:14.717 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  349. 2016-11-16 15:09:14.725 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  350. 2016-11-16 15:09:14.727 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  351. 2016-11-16 15:09:14.904 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  352. 2016-11-16 15:09:14.911 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  353. 2016-11-16 15:09:14.921 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  354. 2016-11-16 15:09:14.926 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  355. 2016-11-16 15:09:14.932 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  356. 2016-11-16 15:09:14.944 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  357. 2016-11-16 15:09:15.009 INFO 154 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  358. 2016-11-16 15:09:15.353 DEBUG 121 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  359. 2016-11-16 15:09:15.368 DEBUG 121 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  360. 2016-11-16 15:09:15.462 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  361. 2016-11-16 15:09:17.072 INFO 154 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3027eb3d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  362. 2016-11-16 15:09:17.863 INFO 137 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  363. 2016-11-16 15:09:17.891 INFO 121 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  364. 2016-11-16 15:09:18.065 INFO 137 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  365. 2016-11-16 15:09:18.112 INFO 137 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  366. 2016-11-16 15:09:19.251 INFO 137 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  367. 2016-11-16 15:09:19.260 DEBUG 137 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  368. 2016-11-16 15:09:19.263 INFO 137 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 70736 ms
  369. 2016-11-16 15:09:19.407 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  370. 2016-11-16 15:09:19.411 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  371. 2016-11-16 15:09:19.424 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  372. 2016-11-16 15:09:19.426 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  373. 2016-11-16 15:09:19.437 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  374. 2016-11-16 15:09:19.447 WARN 121 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  375.  
  376. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  377. 2016-11-16 15:09:19.477 INFO 121 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  378. 2016-11-16 15:09:19.546 INFO 121 --- [main] utoConfigurationReportLoggingInitializer :
  379.  
  380. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  381. 2016-11-16 15:09:19.640 ERROR 121 --- [main] o.s.boot.SpringApplication : Application startup failed
  382.  
  383. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  384.  
  385. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  386. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  387. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  388. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  389. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  390. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  391. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  392. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  393. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  394. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  395. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  396. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  397. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  398. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  399. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  400. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  401. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  402. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  403. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  404. at com.targetcircle.finance.Application.main(Application.java:25)
  405. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  406.  
  407. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  408. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  409. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  410. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  411. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  412. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  413. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  414. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  415. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  416. ... 18 common frames omitted
  417. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  418.  
  419. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  420. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  421. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  422. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  423. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  424. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  425. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  426. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  427. ... 25 common frames omitted
  428. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  429.  
  430. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  431. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  432. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  433. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  434. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  435. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  436. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  437. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  438. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  439. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  440. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  441. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  442. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  443. ... 29 common frames omitted
  444. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  445. at java.net.PlainSocketImpl.socketConnect(Native Method)
  446. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  447. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  448. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  449. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  450. at java.net.Socket.connect(Socket.java:589)
  451. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  452. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  453. ... 32 common frames omitted
  454.  
  455. 2016-11-16 15:09:20.854 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  456. 2016-11-16 15:09:20.860 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  457. 2016-11-16 15:09:20.873 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  458. 2016-11-16 15:09:20.900 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  459. 2016-11-16 15:09:20.902 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  460. 2016-11-16 15:09:21.076 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  461. 2016-11-16 15:09:21.093 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  462. 2016-11-16 15:09:21.096 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  463. 2016-11-16 15:09:21.171 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  464. 2016-11-16 15:09:21.177 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  465. 2016-11-16 15:09:21.423 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  466. 2016-11-16 15:09:21.425 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  467. 2016-11-16 15:09:21.434 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  468. 2016-11-16 15:09:21.441 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  469. 2016-11-16 15:09:21.442 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  470. 2016-11-16 15:09:21.620 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  471. 2016-11-16 15:09:21.628 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  472. 2016-11-16 15:09:21.630 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  473. 2016-11-16 15:09:21.631 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  474. 2016-11-16 15:09:21.632 DEBUG 137 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  475. 2016-11-16 15:09:21.923 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  476. 2016-11-16 15:09:21.926 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  477. 2016-11-16 15:09:21.929 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  478. 2016-11-16 15:09:21.931 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  479. 2016-11-16 15:09:21.934 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  480. 2016-11-16 15:09:21.937 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  481. 2016-11-16 15:09:22.200 DEBUG 137 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  482. 2016-11-16 15:09:22.201 DEBUG 137 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  483. 2016-11-16 15:09:22.269 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  484. 2016-11-16 15:09:23.928 INFO 137 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  485. 2016-11-16 15:09:24.645 INFO 154 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  486. 2016-11-16 15:09:24.802 INFO 154 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  487. 2016-11-16 15:09:24.832 INFO 154 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  488. 2016-11-16 15:09:25.519 WARN 137 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  489.  
  490. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  491. 2016-11-16 15:09:25.553 INFO 137 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  492. 2016-11-16 15:09:25.653 INFO 137 --- [main] utoConfigurationReportLoggingInitializer :
  493.  
  494. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  495. 2016-11-16 15:09:25.725 ERROR 137 --- [main] o.s.boot.SpringApplication : Application startup failed
  496.  
  497. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  498.  
  499. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  500. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  501. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  502. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  503. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  504. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  505. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  506. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  507. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  508. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  509. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  510. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  511. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  512. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  513. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  514. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  515. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  516. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  517. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  518. at com.targetcircle.finance.Application.main(Application.java:25)
  519. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  520.  
  521. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  522. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  523. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  524. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  525. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  526. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  527. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  528. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  529. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  530. ... 18 common frames omitted
  531. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  532.  
  533. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  534. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  535. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  536. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  537. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  538. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  539. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  540. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  541. ... 25 common frames omitted
  542. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  543.  
  544. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  545. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  546. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  547. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  548. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  549. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  550. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  551. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  552. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  553. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  554. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  555. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  556. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  557. ... 29 common frames omitted
  558. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  559. at java.net.PlainSocketImpl.socketConnect(Native Method)
  560. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  561. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  562. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  563. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  564. at java.net.Socket.connect(Socket.java:589)
  565. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  566. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  567. ... 32 common frames omitted
  568.  
  569. 2016-11-16 15:09:26.265 INFO 154 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  570. 2016-11-16 15:09:26.277 DEBUG 154 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  571. 2016-11-16 15:09:26.279 INFO 154 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 67765 ms
  572. 2016-11-16 15:09:26.483 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  573. 2016-11-16 15:09:26.486 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  574. 2016-11-16 15:09:26.494 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  575. 2016-11-16 15:09:26.495 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  576. 2016-11-16 15:09:26.499 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  577. 2016-11-16 15:09:27.586 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  578. 2016-11-16 15:09:27.599 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  579. 2016-11-16 15:09:27.606 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  580. 2016-11-16 15:09:27.611 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  581. 2016-11-16 15:09:27.614 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  582. 2016-11-16 15:09:27.921 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  583. 2016-11-16 15:09:27.929 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  584. 2016-11-16 15:09:27.932 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  585. 2016-11-16 15:09:27.933 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  586. 2016-11-16 15:09:27.935 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  587. 2016-11-16 15:09:28.137 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  588. 2016-11-16 15:09:28.149 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  589. 2016-11-16 15:09:28.151 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  590. 2016-11-16 15:09:28.153 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  591. 2016-11-16 15:09:28.156 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  592. 2016-11-16 15:09:28.500 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  593. 2016-11-16 15:09:28.502 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  594. 2016-11-16 15:09:28.505 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  595. 2016-11-16 15:09:28.507 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  596. 2016-11-16 15:09:28.509 DEBUG 154 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  597. 2016-11-16 15:09:28.660 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  598. 2016-11-16 15:09:28.664 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  599. 2016-11-16 15:09:28.667 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  600. 2016-11-16 15:09:28.669 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  601. 2016-11-16 15:09:28.671 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  602. 2016-11-16 15:09:28.672 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  603. 2016-11-16 15:09:28.961 DEBUG 154 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  604. 2016-11-16 15:09:28.964 DEBUG 154 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  605. 2016-11-16 15:09:29.081 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  606. 2016-11-16 15:09:30.386 INFO 154 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  607. 2016-11-16 15:09:30.805 WARN 154 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  608.  
  609. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  610. 2016-11-16 15:09:30.813 INFO 154 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  611. 2016-11-16 15:09:30.860 INFO 154 --- [main] utoConfigurationReportLoggingInitializer :
  612.  
  613. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  614. 2016-11-16 15:09:30.892 ERROR 154 --- [main] o.s.boot.SpringApplication : Application startup failed
  615.  
  616. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  617.  
  618. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  619. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  620. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  621. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  622. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  623. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  624. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  625. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  626. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  627. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  628. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  629. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  630. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  631. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  632. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  633. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  634. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  635. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  636. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  637. at com.targetcircle.finance.Application.main(Application.java:25)
  638. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  639.  
  640. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  641. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  642. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  643. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  644. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  645. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  646. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  647. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  648. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  649. ... 18 common frames omitted
  650. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  651.  
  652. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  653. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  654. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  655. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  656. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  657. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  658. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  659. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  660. ... 25 common frames omitted
  661. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  662.  
  663. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  664. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  665. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  666. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  667. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  668. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  669. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  670. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  671. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  672. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  673. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  674. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  675. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  676. ... 29 common frames omitted
  677. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  678. at java.net.PlainSocketImpl.socketConnect(Native Method)
  679. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  680. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  681. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  682. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  683. at java.net.Socket.connect(Socket.java:589)
  684. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  685. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  686. ... 32 common frames omitted
  687.  
  688. 2016-11-16 15:12:08.242 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  689. 2016-11-16 15:12:08.257 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  690. 2016-11-16 15:12:08.260 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  691. 2016-11-16 15:12:08.262 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  692. 2016-11-16 15:12:08.265 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  693. 2016-11-16 15:12:08.693 INFO 220 --- [main] com.targetcircle.finance.Application : Starting Application on db69f1255302 with PID 220 (/usr/tc-finance/build/classes/main started by root in /usr/tc-finance)
  694. 2016-11-16 15:12:08.698 INFO 220 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
  695. 2016-11-16 15:12:09.448 INFO 220 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@702657cc: startup date [Wed Nov 16 15:12:09 UTC 2016]; root of context hierarchy
  696. 2016-11-16 15:12:10.231 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [class path resource [application-development.properties]] PropertySource with lowest search precedence
  697. 2016-11-16 15:12:26.773 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [applicationConfig: [classpath:/application-development.properties]] PropertySource with search precedence immediately lower than [applicationConfigurationProperties]
  698. 2016-11-16 15:12:26.776 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
  699. 2016-11-16 15:12:26.778 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
  700. 2016-11-16 15:12:27.009 INFO 220 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  701. 2016-11-16 15:12:27.984 INFO 220 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$76ca8690] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  702. 2016-11-16 15:12:31.179 INFO 220 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
  703. 2016-11-16 15:12:31.223 INFO 220 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
  704. 2016-11-16 15:12:31.232 INFO 220 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
  705. 2016-11-16 15:12:31.624 INFO 220 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  706. 2016-11-16 15:12:31.634 DEBUG 220 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
  707. 2016-11-16 15:12:31.638 INFO 220 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 22199 ms
  708. 2016-11-16 15:12:31.689 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  709. 2016-11-16 15:12:31.691 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  710. 2016-11-16 15:12:31.695 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  711. 2016-11-16 15:12:31.696 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  712. 2016-11-16 15:12:31.699 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  713. 2016-11-16 15:12:32.560 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  714. 2016-11-16 15:12:32.563 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  715. 2016-11-16 15:12:32.582 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  716. 2016-11-16 15:12:32.595 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  717. 2016-11-16 15:12:32.597 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  718. 2016-11-16 15:12:32.922 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  719. 2016-11-16 15:12:32.930 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  720. 2016-11-16 15:12:32.936 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  721. 2016-11-16 15:12:32.940 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  722. 2016-11-16 15:12:32.944 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  723. 2016-11-16 15:12:33.169 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  724. 2016-11-16 15:12:33.173 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  725. 2016-11-16 15:12:33.180 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  726. 2016-11-16 15:12:33.184 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  727. 2016-11-16 15:12:33.186 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  728. 2016-11-16 15:12:33.882 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
  729. 2016-11-16 15:12:33.885 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
  730. 2016-11-16 15:12:33.888 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
  731. 2016-11-16 15:12:33.900 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
  732. 2016-11-16 15:12:33.903 DEBUG 220 --- [localhost-startStop-1] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
  733. 2016-11-16 15:12:34.428 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  734. 2016-11-16 15:12:34.437 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  735. 2016-11-16 15:12:34.438 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  736. 2016-11-16 15:12:34.458 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  737. 2016-11-16 15:12:34.460 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
  738. 2016-11-16 15:12:34.466 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  739. 2016-11-16 15:12:34.688 DEBUG 220 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
  740. 2016-11-16 15:12:34.702 DEBUG 220 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
  741. 2016-11-16 15:12:34.741 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
  742. 2016-11-16 15:12:36.275 INFO 220 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
  743. 2016-11-16 15:12:36.817 WARN 220 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  744.  
  745. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  746. 2016-11-16 15:12:36.838 INFO 220 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
  747. 2016-11-16 15:12:36.877 INFO 220 --- [main] utoConfigurationReportLoggingInitializer :
  748.  
  749. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  750. 2016-11-16 15:12:36.912 ERROR 220 --- [main] o.s.boot.SpringApplication : Application startup failed
  751.  
  752. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  753.  
  754. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  755. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
  756. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  757. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  758. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  759. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  760. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  761. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  762. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
  763. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  764. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  765. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  766. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  767. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  768. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  769. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  770. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  771. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
  772. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
  773. at com.targetcircle.finance.Application.main(Application.java:25)
  774. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/database-dev) for user 'username': Communications link failure
  775.  
  776. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  777. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
  778. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
  779. at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
  780. at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
  781. at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
  782. at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  783. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
  784. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
  785. ... 18 common frames omitted
  786. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
  787.  
  788. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  789. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
  790. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
  791. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
  792. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
  793. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
  794. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
  795. at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
  796. ... 25 common frames omitted
  797. Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
  798.  
  799. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  800. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  801. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  802. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  803. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  804. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
  805. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
  806. at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
  807. at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
  808. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
  809. at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
  810. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
  811. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
  812. ... 29 common frames omitted
  813. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  814. at java.net.PlainSocketImpl.socketConnect(Native Method)
  815. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  816. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  817. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  818. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  819. at java.net.Socket.connect(Socket.java:589)
  820. at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
  821. at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
  822. ... 32 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement