Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2016-11-16 14:55:01.019 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 14:55:01.034 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 14:55:01.040 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 14:55:01.043 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 14:55:01.045 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 14:55:01.463 INFO 146 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 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]
- 2016-11-16 14:55:19.408 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 14:55:19.413 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 14:55:19.556 INFO 146 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 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)
- 2016-11-16 14:55:23.426 INFO 146 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 14:55:23.485 INFO 146 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 14:55:23.491 INFO 146 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 2016-11-16 14:55:24.227 INFO 146 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 14:55:24.240 INFO 146 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 22009 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 2016-11-16 14:55:26.759 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 14:55:26.763 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 14:55:26.765 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 14:55:26.770 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 14:55:26.773 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 14:55:26.774 INFO 146 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 14:55:27.129 DEBUG 146 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 14:55:27.132 DEBUG 146 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 14:55:27.239 DEBUG 146 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 2016-11-16 14:55:28.394 INFO 146 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 14:55:28.839 INFO 146 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 14:55:28.865 INFO 146 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 14:55:28.887 ERROR 146 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
- 2016-11-16 15:04:39.405 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:04:39.424 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:04:39.428 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:04:39.431 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:04:39.433 DEBUG 199 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:04:39.869 INFO 199 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 2016-11-16 15:05:31.133 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:05:31.232 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:05:31.241 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:05:31.244 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:05:31.257 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:05:32.551 INFO 119 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 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]
- 2016-11-16 15:05:52.651 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 15:05:52.652 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 15:05:52.824 INFO 119 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 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)
- 2016-11-16 15:05:56.689 INFO 119 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 15:05:56.734 INFO 119 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 15:05:56.740 INFO 119 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 2016-11-16 15:05:57.302 INFO 119 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 15:05:57.313 INFO 119 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 23884 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 2016-11-16 15:05:59.486 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 15:05:59.492 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 15:05:59.494 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 15:05:59.496 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 15:05:59.498 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 15:05:59.503 INFO 119 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 15:05:59.615 DEBUG 119 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 15:05:59.616 DEBUG 119 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 15:05:59.646 DEBUG 119 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 2016-11-16 15:06:01.234 INFO 119 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 15:06:01.888 INFO 119 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 15:06:01.939 INFO 119 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 15:06:01.962 ERROR 119 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
- 2016-11-16 15:07:55.092 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:07:55.153 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:07:55.163 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:07:55.183 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:07:55.194 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:07:56.081 INFO 121 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 2016-11-16 15:08:05.894 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:08:05.974 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:08:05.975 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:08:05.982 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:08:06.000 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:08:07.235 INFO 137 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 2016-11-16 15:08:15.041 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:08:15.120 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:08:15.129 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:08:15.136 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:08:15.145 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:08:16.821 INFO 154 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 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]
- 2016-11-16 15:09:02.686 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 15:09:02.689 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 15:09:02.844 INFO 121 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 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)
- 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]
- 2016-11-16 15:09:08.058 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 15:09:08.063 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 15:09:08.240 INFO 137 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 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)
- 2016-11-16 15:09:10.604 INFO 121 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 15:09:10.805 INFO 121 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 15:09:10.851 INFO 121 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 2016-11-16 15:09:11.946 INFO 121 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 15:09:11.970 INFO 121 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 74361 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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]
- 2016-11-16 15:09:14.725 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 15:09:14.727 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 15:09:14.904 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 15:09:14.911 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 15:09:14.921 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 15:09:14.926 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 15:09:14.932 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 15:09:14.944 INFO 121 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 15:09:15.009 INFO 154 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 2016-11-16 15:09:15.353 DEBUG 121 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 15:09:15.368 DEBUG 121 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 15:09:15.462 DEBUG 121 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 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)
- 2016-11-16 15:09:17.863 INFO 137 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 15:09:17.891 INFO 121 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 2016-11-16 15:09:18.065 INFO 137 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 15:09:18.112 INFO 137 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 2016-11-16 15:09:19.251 INFO 137 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 15:09:19.263 INFO 137 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 70736 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 15:09:19.477 INFO 121 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 15:09:19.546 INFO 121 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 15:09:19.640 ERROR 121 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 2016-11-16 15:09:21.923 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 15:09:21.926 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 15:09:21.929 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 15:09:21.931 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 15:09:21.934 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 15:09:21.937 INFO 137 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 15:09:22.200 DEBUG 137 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 15:09:22.201 DEBUG 137 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 15:09:22.269 DEBUG 137 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 2016-11-16 15:09:23.928 INFO 137 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 2016-11-16 15:09:24.645 INFO 154 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 15:09:24.802 INFO 154 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 15:09:24.832 INFO 154 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 15:09:25.553 INFO 137 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 15:09:25.653 INFO 137 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 15:09:25.725 ERROR 137 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
- 2016-11-16 15:09:26.265 INFO 154 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 15:09:26.279 INFO 154 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 67765 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 2016-11-16 15:09:28.660 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 15:09:28.664 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 15:09:28.667 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 15:09:28.669 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 15:09:28.671 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 15:09:28.672 INFO 154 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 15:09:28.961 DEBUG 154 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 15:09:28.964 DEBUG 154 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 15:09:29.081 DEBUG 154 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 2016-11-16 15:09:30.386 INFO 154 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 15:09:30.813 INFO 154 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 15:09:30.860 INFO 154 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 15:09:30.892 ERROR 154 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
- 2016-11-16 15:12:08.242 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletConfigInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:12:08.257 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [servletContextInitParams] PropertySource with lowest search precedence
- 2016-11-16 15:12:08.260 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemProperties] PropertySource with lowest search precedence
- 2016-11-16 15:12:08.262 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Adding [systemEnvironment] PropertySource with lowest search precedence
- 2016-11-16 15:12:08.265 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
- 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)
- 2016-11-16 15:12:08.698 INFO 220 --- [main] com.targetcircle.finance.Application : The following profiles are active: development
- 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
- 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
- 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]
- 2016-11-16 15:12:26.776 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [applicationConfigurationProperties] PropertySource
- 2016-11-16 15:12:26.778 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Removing [defaultProperties] PropertySource
- 2016-11-16 15:12:27.009 INFO 220 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 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)
- 2016-11-16 15:12:31.179 INFO 220 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8300 (http)
- 2016-11-16 15:12:31.223 INFO 220 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
- 2016-11-16 15:12:31.232 INFO 220 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.5
- 2016-11-16 15:12:31.624 INFO 220 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 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]
- 2016-11-16 15:12:31.638 INFO 220 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 22199 ms
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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]
- 2016-11-16 15:12:34.428 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2016-11-16 15:12:34.437 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2016-11-16 15:12:34.438 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2016-11-16 15:12:34.458 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2016-11-16 15:12:34.460 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
- 2016-11-16 15:12:34.466 INFO 220 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2016-11-16 15:12:34.688 DEBUG 220 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Initializing filter 'corsFilter'
- 2016-11-16 15:12:34.702 DEBUG 220 --- [localhost-startStop-1] o.springframework.web.filter.CorsFilter : Filter 'corsFilter' configured successfully
- 2016-11-16 15:12:34.741 DEBUG 220 --- [main] o.s.w.c.s.StandardServletEnvironment : Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
- 2016-11-16 15:12:36.275 INFO 220 --- [main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- 2016-11-16 15:12:36.838 INFO 220 --- [main] o.apache.catalina.core.StandardService : Stopping service Tomcat
- 2016-11-16 15:12:36.877 INFO 220 --- [main] utoConfigurationReportLoggingInitializer :
- Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
- 2016-11-16 15:12:36.912 ERROR 220 --- [main] o.s.boot.SpringApplication : Application startup failed
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
- at com.targetcircle.finance.Application.main(Application.java:25)
- 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
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:412)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:917)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
- ... 18 common frames omitted
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:615)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:57)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:637)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
- at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
- ... 25 common frames omitted
- Caused by: com.mysql.cj.core.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:93)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:133)
- at com.mysql.cj.core.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:149)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:83)
- at com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
- at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1754)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1624)
- ... 29 common frames omitted
- Caused by: java.net.ConnectException: Connection refused (Connection refused)
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
- at com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
- ... 32 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement