Advertisement
fedorm

Untitled

Oct 18th, 2019
2,525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 17.77 KB | None | 0 0
  1.  
  2.   .   ____          _            __ _ _
  3.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  4. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  5.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  6.   '  |____| .__|_| |_|_| |_\__, | / / / /
  7.  =========|_|==============|___/=/_/_/_/
  8.  :: Spring Boot ::        (v2.0.2.RELEASE)
  9.  
  10. 2019-10-18 15:19:21.276  INFO 1 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-category-service-production,production/'}, ConsulPropertySource {name='config/coupons-category-service-production/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
  11. 2019-10-18 15:19:21.298  INFO 1 --- [           main] r.c.p.c.category.CategoryApplication     : The following profiles are active: production
  12. 2019-10-18 15:19:21.369  INFO 1 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@62ea3440: startup date [Fri Oct 18 15:19:21 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@a530d0a
  13. 2019-10-18 15:19:24.262  INFO 1 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
  14. 2019-10-18 15:19:27.186  INFO 1 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=f79e95b5-0b22-3ecd-9179-af9eee37e235
  15. 2019-10-18 15:19:27.450  INFO 1 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  16. 2019-10-18 15:19:27.686  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.kafka.annotation.KafkaBootstrapConfiguration' of type [org.springframework.kafka.annotation.KafkaBootstrapConfiguration$$EnhancerBySpringCGLIB$$810574fd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  17. 2019-10-18 15:19:28.196  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$a316fb9f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  18. 2019-10-18 15:19:28.334  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ad53637a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  19. 2019-10-18 15:19:28.625  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c96d6677] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  20. 2019-10-18 15:19:29.955  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
  21. 2019-10-18 15:19:30.086  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  22. 2019-10-18 15:19:30.087  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.31
  23. 2019-10-18 15:19:30.136  INFO 1 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
  24. 2019-10-18 15:19:30.463  INFO 1 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  25. 2019-10-18 15:19:30.464  INFO 1 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 9095 ms
  26. 2019-10-18 15:19:31.522  WARN 1 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
  27. 2019-10-18 15:19:31.523  INFO 1 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  28. 2019-10-18 15:19:31.600  INFO 1 --- [ost-startStop-1] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@15e2d2c6
  29. 2019-10-18 15:19:35.457  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
  30. 2019-10-18 15:19:35.483  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
  31. 2019-10-18 15:19:35.484  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  32. 2019-10-18 15:19:35.484  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  33. 2019-10-18 15:19:35.484  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
  34. 2019-10-18 15:19:35.484  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpTraceFilter' to: [/*]
  35. 2019-10-18 15:19:35.484  INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webMvcMetricsFilter' to: [/*]
  36. 2019-10-18 15:19:36.085  INFO 1 --- [           main] o.f.core.internal.util.VersionPrinter    : Flyway Community Edition 5.0.7 by Boxfuse
  37. 2019-10-18 15:19:36.104  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
  38. 2019-10-18 15:19:36.328  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
  39. 2019-10-18 15:19:36.341  INFO 1 --- [           main] o.f.c.internal.database.DatabaseFactory  : Database: jdbc:postgresql://pg-balancer.service.consul:6000/coupons (PostgreSQL 11.5)
  40. 2019-10-18 15:19:36.371  WARN 1 --- [           main] o.f.core.internal.database.Database      : Flyway upgrade recommended: PostgreSQL 11.5 is newer than this version of Flyway and support has not been tested.
  41. 2019-10-18 15:19:36.486  INFO 1 --- [           main] o.f.core.internal.command.DbValidate     : Successfully validated 6 migrations (execution time 00:00.058s)
  42. 2019-10-18 15:19:36.525  INFO 1 --- [           main] o.f.core.internal.command.DbMigrate      : Current version of schema "public": 1.3
  43. 2019-10-18 15:19:36.541  INFO 1 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "public" to version 1.4 - utils tasks
  44. 2019-10-18 15:19:36.564 ERROR 1 --- [           main] o.f.core.internal.command.DbMigrate      : Migration of schema "public" to version 1.4 - utils tasks failed! Changes successfully rolled back.
  45. 2019-10-18 15:19:36.574  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : 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.internal.command.DbMigrate$FlywayMigrateSqlException:
  46. Migration V1_4__utils_tasks.sql failed
  47. --------------------------------------
  48. SQL State  : 42501
  49. Error Code : 0
  50. Message    : ERROR: permission denied for database coupons
  51. Location   : db/migration/V1_4__utils_tasks.sql (/file:/app/category-service.jar!/BOOT-INF/lib/database-layer-0.0.1.jar!/db/migration/V1_4__utils_tasks.sql)
  52. Line       : 1
  53. Statement  : CREATE SCHEMA IF NOT EXISTS utils
  54.  
  55. 2019-10-18 15:19:36.575  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
  56. 2019-10-18 15:19:36.593  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
  57. 2019-10-18 15:19:36.599  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
  58. 2019-10-18 15:19:36.642  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener :
  59.  
  60. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  61. 2019-10-18 15:19:36.653 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed
  62.  
  63. 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.internal.command.DbMigrate$FlywayMigrateSqlException:
  64. Migration V1_4__utils_tasks.sql failed
  65. --------------------------------------
  66. SQL State  : 42501
  67. Error Code : 0
  68. Message    : ERROR: permission denied for database coupons
  69. Location   : db/migration/V1_4__utils_tasks.sql (/file:/app/category-service.jar!/BOOT-INF/lib/database-layer-0.0.1.jar!/db/migration/V1_4__utils_tasks.sql)
  70. Line       : 1
  71. Statement  : CREATE SCHEMA IF NOT EXISTS utils
  72.  
  73.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
  74.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  75.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  76.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  77.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  78.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  79.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  80.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  81.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  82.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  83.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  84.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  85.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  86.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  87.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  88.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  89.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  90.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  91.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:17)
  92.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  93.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  94.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  95.     at java.lang.reflect.Method.invoke(Method.java:498)
  96.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  97.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  98.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  99.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  100. Caused by: org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateSqlException:
  101. Migration V1_4__utils_tasks.sql failed
  102. --------------------------------------
  103. SQL State  : 42501
  104. Error Code : 0
  105. Message    : ERROR: permission denied for database coupons
  106. Location   : db/migration/V1_4__utils_tasks.sql (/file:/app/category-service.jar!/BOOT-INF/lib/database-layer-0.0.1.jar!/db/migration/V1_4__utils_tasks.sql)
  107. Line       : 1
  108. Statement  : CREATE SCHEMA IF NOT EXISTS utils
  109.  
  110.     at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:365)
  111.     at org.flywaydb.core.internal.command.DbMigrate.access$400(DbMigrate.java:52)
  112.     at org.flywaydb.core.internal.command.DbMigrate$5.call(DbMigrate.java:297)
  113.     at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:75)
  114.     at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:294)
  115.     at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:259)
  116.     at org.flywaydb.core.internal.command.DbMigrate.access$300(DbMigrate.java:52)
  117.     at org.flywaydb.core.internal.command.DbMigrate$4.call(DbMigrate.java:179)
  118.     at org.flywaydb.core.internal.command.DbMigrate$4.call(DbMigrate.java:176)
  119.     at org.flywaydb.core.internal.database.postgresql.PostgreSQLAdvisoryLockTemplate.execute(PostgreSQLAdvisoryLockTemplate.java:71)
  120.     at org.flywaydb.core.internal.database.postgresql.PostgreSQLConnection.lock(PostgreSQLConnection.java:110)
  121.     at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:148)
  122.     at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:176)
  123.     at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:145)
  124.     at org.flywaydb.core.Flyway$1.execute(Flyway.java:1206)
  125.     at org.flywaydb.core.Flyway$1.execute(Flyway.java:1168)
  126.     at org.flywaydb.core.Flyway.execute(Flyway.java:1655)
  127.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  128.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  129.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  130.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  131.     ... 26 common frames omitted
  132. Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for database coupons
  133.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  134.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  135.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
  136.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  137.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  138.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  139.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  140.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  141.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  142.     at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:95)
  143.     at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
  144.     at org.flywaydb.core.internal.util.jdbc.JdbcTemplate.executeStatement(JdbcTemplate.java:265)
  145.     at org.flywaydb.core.internal.database.StandardSqlStatement.execute(StandardSqlStatement.java:41)
  146.     at org.flywaydb.core.internal.database.ExecutableSqlScript.execute(ExecutableSqlScript.java:128)
  147.     at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:75)
  148.     at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:363)
  149.     ... 46 common frames omitted
  150.  
  151. Listening for transport dt_socket at address: 8787
  152. 2019-10-18 15:20:10.167  INFO 1 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@2a54a73f: startup date [Fri Oct 18 15:20:10 MSK 2019]; root of context hierarchy
  153. 2019-10-18 15:20:11.002  INFO 1 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  154. 2019-10-18 15:20:11.225  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$9a17dcf0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  155. 2019-10-18 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement