guestAT

Untitled

Jun 2nd, 2021
971
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-06-03_11:51:54.533 [main] INFO  c.s.c.c.DbMigrationManager [] - Trying to migrate the database schema if needed
  2. 2021-06-03_11:51:54.916 [main] INFO  c.g.flyway.core.command.DbMigrate [] - Current version of schema "public": 00066
  3. 2021-06-03_11:51:54.917 [main] INFO  c.g.flyway.core.command.DbMigrate [] - Migrating schema "public" to version 00067
  4. 2021-06-03_11:51:57.512 [main] ERROR c.g.flyway.core.command.DbMigrate [] - Migration of schema "public" to version 00067 failed! Changes successfully rolled back.
  5. 2021-06-03_11:51:59.004 [main] ERROR o.s.web.context.ContextLoader [] - Context initialization failed
  6. 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:/opt/tomcat6/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: CREATE TABLE soc_inform_tech_request
  7. (
  8.     id                      BIGSERIAL PRIMARY KEY,
  9.     uuid                    VARCHAR(64)                       NOT NULL,
  10.     conversation_id         VARCHAR(255) DEFAULT NULL,
  11.     status                  VARCHAR(24)                       NOT NULL,
  12.     adapter_status          VARCHAR(64) DEFAULT NULL,
  13.     gd_message_id           BIGINT REFERENCES gd_message (id),
  14.     service_code            VARCHAR(255) DEFAULT NULL,
  15.     create_timestamp        TIMESTAMP    DEFAULT NOW(),
  16.     start_ping_timestamp    TIMESTAMP    DEFAULT NULL,
  17.     last_try_ping_timestamp TIMESTAMP    DEFAULT NULL,
  18.     next_try_ping_timestamp TIMESTAMP DEFAULT NULL,
  19.     attempts                INT DEFAULT 0,
  20.     max_attempts            INT DEFAULT 100 NOT  NULL,
  21.     response                TEXT         DEFAULT NULL,
  22.     err_msg                 TEXT DEFAULT NULL,
  23.     comment                 TEXT DEFAULT NULL
  24. )
  25.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  26.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  27.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  28.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  29.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  30.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  31.         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:733) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  32.         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  33.         at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  34.         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  35.         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  36.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210) [catalina.jar:6.0.44]
  37.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) [catalina.jar:6.0.44]
  38.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802) [catalina.jar:6.0.44]
  39.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) [catalina.jar:6.0.44]
  40.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) [catalina.jar:6.0.44]
  41.         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:944) [catalina.jar:6.0.44]
  42.         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:779) [catalina.jar:6.0.44]
  43.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505) [catalina.jar:6.0.44]
  44.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) [catalina.jar:6.0.44]
  45.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325) [catalina.jar:6.0.44]
  46.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) [catalina.jar:6.0.44]
  47.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068) [catalina.jar:6.0.44]
  48.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) [catalina.jar:6.0.44]
  49.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) [catalina.jar:6.0.44]
  50.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) [catalina.jar:6.0.44]
  51.         at org.apache.catalina.core.StandardService.start(StandardService.java:525) [catalina.jar:6.0.44]
  52.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) [catalina.jar:6.0.44]
  53.         at org.apache.catalina.startup.Catalina.start(Catalina.java:595) [catalina.jar:6.0.44]
  54.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_211]
  55.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_211]
  56.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_211]
  57.         at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
  58.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.44]
  59.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.44]
  60. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbMigrationManager'"soc_inform_tech_request" already exists
  61.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  62.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  63.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  64.         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  65.         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  66.         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  67.         at com.googlecode.flyway.core.dbsupport.JdbcTemplate.executeStatement(JdbcTemplate.java:230) ~[flyway-core-2.3.1.jar:na]
  68.         at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:90) ~[flyway-core-2.3.1.jar:na]
  69.         ... 73 common frames omitted
  70.  
RAW Paste Data