guestAT

Untitled

Jun 29th, 2021
1,227
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-06-29_07:19:51.332 [localhost-startStop-1] INFO  c.g.flyway.core.command.DbMigrate [] - Migrating schema "public" to version 00077
  2. 2021-06-29_07:19:51.373 [localhost-startStop-1] ERROR c.g.flyway.core.command.DbMigrate [] - Migration of schema "public" to version 00077 failed! Changes successfully rolled back.
  3. 2021-06-29_07:19:51.416 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader [] - Context initialization failed
  4. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbMigrationManager' defined in URL [jar:file:/usr/local/tomcat/webapps/cpgu/WEB-INF/lib/cpgu-model-1.0-SNAPSHOT.jar!/META-INF/spring/cpgu-model-app-context.xml]: Invocation of init method failed; nested exception is com.googlecode.flyway.core.command.FlywaySqlScriptException: Error executing statement at line 1: INSERT INTO cpgu_user (id, password, username, display_name, phone, code, first_name, last_name, patronymic,
  5.                        active_directory_login, is_new_interface, position, warrant_number, warrant_date,
  6.                        is_permitted_to_edit_wiki, damask_password, damask_login, auto_ping_queue, default_classifier_id,
  7.                        change_timestamp,
  8.                        signature_key_alias, fake_queue, advanced_monitoring_call_center, is_damask_manual_authorization,
  9.                        pk_pvd_login,
  10.                        pk_pvd_password, call_by_ticket_id, redirect_to_other_windows, permitted_to_edit_expert_system,
  11.                        is_interface_threedotzero, email, control_regulations_role, kr_role, reset_password,
  12.                        is_equeue_use, token, password_next, change_timestamp_password_next)
  13. VALUES (nextval('hibernate_sequence'), '', '111-222-333 00', 'Пользователь ARM', '', '', 'ARM', 'ARM', 'ARM',
  14.         null, true, '', '', null, true, '', '', false, null, null, '', false, false, false, null, null,
  15.         true, true, false, false, null, null, null, false, false, null, null, null)
  16.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  17.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  18.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  19.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  20.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  21.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  22.         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:733) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  23.         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  24.         at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  25.         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  26.         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  27.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5128) [catalina.jar:7.0.109]
  28.         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5653) [catalina.jar:7.0.109]
  29.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:7.0.109]
  30.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007) [catalina.jar:7.0.109]
  31.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983) [catalina.jar:7.0.109]
  32.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639) [catalina.jar:7.0.109]
  33.         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1128) [catalina.jar:7.0.109]
  34.         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020) [catalina.jar:7.0.109]
  35.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_292]
  36.         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_292]
  37.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_292]
  38.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_292]
  39.         at java.lang.Thread.run(Thread.java:748) [na:1.8.0_292]
  40. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbMigrationManager' defined in URL [jar:file:/usr/local/tomcat/webapps/cpgu/WEB-INF/lib/cpgu-model-1.0-SNAPSHOT.jar!/META-INF/spring/cpgu-model-app-context.xml]: Invocation of init method failed; nested exception is com.googlecode.flyway.core.command.FlywaySqlScriptException: Error executing statement at line 1: INSERT INTO cpgu_user (id, password, username, display_name, phone, code, first_name, last_name, patronymic,
  41.                        active_directory_login, is_new_interface, position, warrant_number, warrant_date,
  42.                        is_permitted_to_edit_wiki, damask_password, damask_login, auto_ping_queue, default_classifier_id,
  43.                        change_timestamp,
  44.                        signature_key_alias, fake_queue, advanced_monitoring_call_center, is_damask_manual_authorization,
  45.                        pk_pvd_login,
  46.                        pk_pvd_password, call_by_ticket_id, redirect_to_other_windows, permitted_to_edit_expert_system,
  47.                        is_interface_threedotzero, email, control_regulations_role, kr_role, reset_password,
  48.                        is_equeue_use, token, password_next, change_timestamp_password_next)
  49. VALUES (nextval('hibernate_sequence'), '', '111-222-333 00', 'Пользователь ARM', '', '', 'ARM', 'ARM', 'ARM',
  50.         null, true, '', '', null, true, '', '', false, null, null, '', false, false, false, null, null,
  51.         true, true, false, false, null, null, null, false, false, null, null, null)
  52.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  53.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  54.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  55.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  56.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  57.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  58.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  59.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  60.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  61.         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  62.         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  63.         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  64.         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  65.         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  66.         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  67.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  68.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  69.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  70.         ... 23 common frames omitted
  71. Caused by: com.googlecode.flyway.core.command.FlywaySqlScriptException: Error executing statement at line 1: INSERT INTO cpgu_user (id, password, username, display_name, phone, code, first_name, last_name, patronymic,
  72.                        active_directory_login, is_new_interface, position, warrant_number, warrant_date,
  73.                        is_permitted_to_edit_wiki, damask_password, damask_login, auto_ping_queue, default_classifier_id,
  74.                        change_timestamp,
  75.                        signature_key_alias, fake_queue, advanced_monitoring_call_center, is_damask_manual_authorization,
  76.                        pk_pvd_login,
  77.                        pk_pvd_password, call_by_ticket_id, redirect_to_other_windows, permitted_to_edit_expert_system,
  78.                        is_interface_threedotzero, email, control_regulations_role, kr_role, reset_password,
  79.                        is_equeue_use, token, password_next, change_timestamp_password_next)
  80. VALUES (nextval('hibernate_sequence'), '', '111-222-333 00', 'Пользователь ARM', '', '', 'ARM', 'ARM', 'ARM',
  81.         null, true, '', '', null, true, '', '', false, null, null, '', false, false, false, null, null,
  82.         true, true, false, false, null, null, null, false, false, null, null, null)
  83.         at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:92) ~[flyway-core-2.3.1.jar:na]
  84.         at com.googlecode.flyway.core.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:72) ~[flyway-core-2.3.1.jar:na]
  85.         at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:243) ~[flyway-core-2.3.1.jar:na]
  86.         at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:241) ~[flyway-core-2.3.1.jar:na]
  87.         at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) ~[flyway-core-2.3.1.jar:na]
  88.         at com.googlecode.flyway.core.command.DbMigrate.applyMigration(DbMigrate.java:241) ~[flyway-core-2.3.1.jar:na]
  89.         at com.googlecode.flyway.core.command.DbMigrate.access$700(DbMigrate.java:44) ~[flyway-core-2.3.1.jar:na]
  90.         at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:186) ~[flyway-core-2.3.1.jar:na]
  91.         at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:135) ~[flyway-core-2.3.1.jar:na]
  92.         at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) ~[flyway-core-2.3.1.jar:na]
  93.         at com.googlecode.flyway.core.command.DbMigrate.migrate(DbMigrate.java:135) ~[flyway-core-2.3.1.jar:na]
  94.         at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:872) ~[flyway-core-2.3.1.jar:na]
  95.         at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:819) ~[flyway-core-2.3.1.jar:na]
  96.         at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1200) ~[flyway-core-2.3.1.jar:na]
  97.         at com.googlecode.flyway.core.Flyway.migrate(Flyway.java:819) ~[flyway-core-2.3.1.jar:na]
  98.         at com.sc.cpgu.configuration.DbMigrationManager.manageMigrations(DbMigrationManager.java:32) ~[cpgu-model-1.0-SNAPSHOT.jar:na]
  99.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_292]
  100.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_292]
  101.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_292]
  102.         at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_292]
  103.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  104.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  105.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  106.         ... 40 common frames omitted
  107. Caused by: org.postgresql.util.PSQLException: ERROR: column "default_classifier_id" of relation "cpgu_user" does not exist
  108.   Position: 313
  109.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  110.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  111.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  112.         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  113.         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  114.         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  115.         at com.googlecode.flyway.core.dbsupport.JdbcTemplate.executeStatement(JdbcTemplate.java:230) ~[flyway-core-2.3.1.jar:na]
  116.         at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:90) ~[flyway-core-2.3.1.jar:na]
  117.         ... 62 common frames omitted
RAW Paste Data