Wikis - Page

Error deploying to Kubernetes cluster - Caused by: com.fortify.ssc.init.SeedingException: Unable to seed all init seed bundles.

0 Likes

Summary

SSC initial configuration was unable to complete. Seed failed with the following error:

Product

Fortify SSC

Environment

SSC: fortifydocker/ssc-webapp:20.1.0.0169

MySQL: docker.io/bitnami/mysql:8.0.33-debian-11-r12

Helm Chart Values

ssc-values.yaml
# tried 
jdbcDriverUri
https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.31/mysql-connector-j-8.0.31.jar, 
https://downloads.mariadb.com/Connectors/java/connector-java-2.5.3/mariadb-java-client-2.5.3.jar

ssc.autoconfig.yaml

appProperties:
host.url: 'https://localhost:443/'
host.validation: true

datasourceProperties:
db.username: <string>
db.password: <string>
db.driver.class: com.mysql.cj.jdbc.Driver
db.dialect: com.fortify.manager.util.hibernate.MySQLDialect
db.like.specialCharacters: '%_\\'
jdbc.url: "jdbc:mysql://mysql:3306/fortify?useSSL=false&connectionCollation=latin1_general_cs&rewriteBatchedStatements=true&max_allowed_packet=1073741824&sql_mode=TRADITIONAL&integratedsecurity=true"

# tried connectionCollation=latin1_general_cs, utf8_bin, utf8_general_ci

# tried rewriteBatchedStatements=true, false

# tried integratedsecurity=true, false

dbMigrationProperties:
migration.enabled: true
migration.username:<string>
migration.password:<string>

...

Caused by: java.lang.IllegalStateException: Unable to auto seed application
at com.fortify.ssc.webapp.SscApplicationConfigurer.autoconfigure(SscApplicationConfigurer.java:128)
at com.fortify.ssc.webapp.SscApplicationConfigurer.lambda$buildContextInitializer$0(SscApplicationConfigurer.java:111)
at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:623)
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:367)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at com.fortify.ssc.webapp.SscSpringBootApplication.onStartup(SscSpringBootApplication.java:48)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5140)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 38 more
Caused by: com.fortify.ssc.init.SeedingException: Unable to seed all init seed bundles.
at com.fortify.ssc.init.SeedContextProvider.seedInitBundles(SeedContextProvider.java:110)
at com.fortify.ssc.init.AutoConfigService.automate(AutoConfigService.java:76)
at com.fortify.ssc.webapp.SscApplicationConfigurer.autoconfigure(SscApplicationConfigurer.java:126)

...

Full log

Getting JDBC_DRIVER_URI from https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.31/mysql-connector-j-8.0.31.jar
Fetched 0.0 MB
Fetching from https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.31/mysql-connector-j-8.0.31.jar
Fetched 2.4 MB
'/fortify/cache/jdbc-driver-49d93ca1.jar' -> '/app/tomcat/lib/jdbc-driver-49d93ca1.jar'
31-May-2023 13:46:51.044 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/9.0.33
31-May-2023 13:46:51.046 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 11 2020 09:31:38 UTC
31-May-2023 13:46:51.046 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.33.0
31-May-2023 13:46:51.046 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
31-May-2023 13:46:51.046 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.15.90.1-microsoft-standard-WSL2
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/zulu-8-amd64/jre
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_242-b20
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Azul Systems, Inc.
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /app/tomcat
31-May-2023 13:46:51.047 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /app/tomcat
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/app/tomcat/conf/logging.properties
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseContainerSupport
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxRAMPercentage=86.0
31-May-2023 13:46:51.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.fortify.ssc.logPath=/fortify/ssc/logs
31-May-2023 13:46:51.049 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseOpenJSSE
31-May-2023 13:46:51.049 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
31-May-2023 13:46:51.049 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/app/tomcat
31-May-2023 13:46:51.049 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/app/tomcat
31-May-2023 13:46:51.049 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/app/tomcat/temp
31-May-2023 13:46:51.199 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-8080"]
31-May-2023 13:46:51.211 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-8443"]
31-May-2023 13:46:51.556 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [619] milliseconds
31-May-2023 13:46:51.559 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
31-May-2023 13:46:51.559 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.33]
31-May-2023 13:46:51.567 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/app/webapps/ROOT]
31-May-2023 13:46:59.711 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/app/webapps/ROOT]
	java.lang.IllegalStateException: Error starting child
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
		at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
		at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
		at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
		at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
		at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
		at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
		at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
		at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
		at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
		at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
		at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
		at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
	Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
		at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
		... 37 more
	Caused by: com.fortify.ssc.init.exception.AppInitException: Error migrating database java.time.LocalDateTime cannot be cast to java.lang.String
		at com.fortify.ssc.init.process.MigrationRunner.runMigration(MigrationRunner.java:55)
		at com.fortify.ssc.init.AutoConfigService.automate(AutoConfigService.java:72)
		at com.fortify.ssc.webapp.SscApplicationConfigurer.autoconfigure(SscApplicationConfigurer.java:126)
		at com.fortify.ssc.webapp.SscApplicationConfigurer.lambda$buildContextInitializer$0(SscApplicationConfigurer.java:111)
		at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:623)
		at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:367)
		at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
		at com.fortify.ssc.webapp.SscSpringBootApplication.onStartup(SscSpringBootApplication.java:48)
		at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5140)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		... 38 more
	Caused by: java.lang.ClassCastException: java.time.LocalDateTime cannot be cast to java.lang.String
		at liquibase.changelog.StandardChangeLogHistoryService.getRanChangeSets(StandardChangeLogHistoryService.java:328)
		at liquibase.changelog.AbstractChangeLogHistoryService.upgradeChecksums(AbstractChangeLogHistoryService.java:66)
		at liquibase.changelog.StandardChangeLogHistoryService.upgradeChecksums(StandardChangeLogHistoryService.java:297)
		at liquibase.Liquibase.checkLiquibaseTables(Liquibase.java:1234)
		at liquibase.Liquibase.update(Liquibase.java:193)
		at liquibase.Liquibase.update(Liquibase.java:179)
		at liquibase.Liquibase.update(Liquibase.java:175)
		at liquibase.Liquibase.update(Liquibase.java:168)
		at com.fortify.ssc.init.process.MigrationRunner.runMigration(MigrationRunner.java:51)
		... 51 more
31-May-2023 13:46:59.712 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/app/webapps/ROOT] has finished in [8,145] ms
31-May-2023 13:46:59.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-8080"]
31-May-2023 13:46:59.715 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-8443"]
31-May-2023 13:46:59.715 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [8,159] milliseconds
Getting JDBC_DRIVER_URI from https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.21/mysql-connector-java-8.0.21.jar
Fetched 0.0 MB
Fetching from https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.21/mysql-connector-java-8.0.21.jar
Fetched 2.3 MB
'/fortify/cache/jdbc-driver-da0537dc.jar' -> '/app/tomcat/lib/jdbc-driver-da0537dc.jar'
31-May-2023 13:47:50.689 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/9.0.33
31-May-2023 13:47:50.690 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 11 2020 09:31:38 UTC
31-May-2023 13:47:50.690 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.33.0
31-May-2023 13:47:50.690 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
31-May-2023 13:47:50.690 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.15.90.1-microsoft-standard-WSL2
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/zulu-8-amd64/jre
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_242-b20
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Azul Systems, Inc.
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /app/tomcat
31-May-2023 13:47:50.691 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /app/tomcat
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/app/tomcat/conf/logging.properties
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseContainerSupport
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxRAMPercentage=86.0
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.fortify.ssc.logPath=/fortify/ssc/logs
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseOpenJSSE
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/app/tomcat
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/app/tomcat
31-May-2023 13:47:50.692 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/app/tomcat/temp
31-May-2023 13:47:50.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-8080"]
31-May-2023 13:47:50.844 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-8443"]
31-May-2023 13:47:51.132 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [531] milliseconds
31-May-2023 13:47:51.135 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
31-May-2023 13:47:51.135 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.33]
31-May-2023 13:47:51.143 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/app/webapps/ROOT]
Start of "sourcefilemap.fileName initial filling"
"sourcefilemap.fileName initial filling" is successfully completed
31-May-2023 13:48:11.879 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/app/webapps/ROOT]
	java.lang.IllegalStateException: Error starting child
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
		at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
		at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
		at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
		at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
		at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
		at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
		at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
		at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
		at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
		at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
		at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
		at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
	Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
		at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
		... 37 more
	Caused by: java.lang.IllegalStateException: Unable to auto seed application
		at com.fortify.ssc.webapp.SscApplicationConfigurer.autoconfigure(SscApplicationConfigurer.java:128)
		at com.fortify.ssc.webapp.SscApplicationConfigurer.lambda$buildContextInitializer$0(SscApplicationConfigurer.java:111)
		at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:623)
		at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:367)
		at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
		at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
		at com.fortify.ssc.webapp.SscSpringBootApplication.onStartup(SscSpringBootApplication.java:48)
		at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5140)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		... 38 more
	Caused by: com.fortify.ssc.init.SeedingException: Unable to seed all init seed bundles.
		at com.fortify.ssc.init.SeedContextProvider.seedInitBundles(SeedContextProvider.java:110)
		at com.fortify.ssc.init.AutoConfigService.automate(AutoConfigService.java:76)
		at com.fortify.ssc.webapp.SscApplicationConfigurer.autoconfigure(SscApplicationConfigurer.java:126)
		... 49 more
	Caused by: com.fortify.manager.exception.FMDALGeneralException: An unexpected error occurred.
		at com.fortify.manager.DAL.support.FMDALExceptionTranslationInterceptor.translateException(FMDALExceptionTranslationInterceptor.java:64)
		at com.fortify.manager.DAL.support.FMDALExceptionTranslationInterceptor.aroundRepositoryMethod(FMDALExceptionTranslationInterceptor.java:34)
		at sun.reflect.GeneratedMethodAccessor445.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
		at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
		at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
		at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
		at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
		at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
		at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
		at com.fortify.manager.DAL.impl.GlobalSeedManagerImpl$$EnhancerBySpringCGLIB$$42b5fcbd.createSeedDbHistory(<generated>)
		at com.fortify.manager.BLL.impl.SeedManagerImpl.loadSeedRoot(SeedManagerImpl.java:528)
		at com.fortify.manager.BLL.impl.SeedManagerImpl.batchSeed(SeedManagerImpl.java:271)
		at com.fortify.manager.BLL.impl.SeedManagerImpl$$FastClassBySpringCGLIB$$7c11a665.invoke(<generated>)
		at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
		at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
		at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
		at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
		at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
		at com.fortify.manager.BLL.impl.SeedManagerImpl$$EnhancerBySpringCGLIB$$585f43bc.batchSeed(<generated>)
		at com.fortify.ssc.init.SeedContextProvider.seedInitBundles(SeedContextProvider.java:108)
		... 51 more
	Caused by: org.hibernate.exception.ConstraintViolationException: could not execute batch
		at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:109)
		at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
		at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
		at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:129)
		at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.addToBatch(BatchingBatch.java:89)
		at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3202)
		at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3722)
		at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:91)
		at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)
		at org.hibernate.engine.spi.ActionQueue.executeInserts(ActionQueue.java:461)
		at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:258)
		at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317)
		at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:335)
		at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:292)
		at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:198)
		at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:128)
		at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:193)
		at org.hibernate.event.internal.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:38)
		at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:178)
		at org.hibernate.event.internal.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:32)
		at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:75)
		at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:108)
		at org.hibernate.internal.SessionImpl.fireSave(SessionImpl.java:618)
		at org.hibernate.internal.SessionImpl.save(SessionImpl.java:611)
		at org.hibernate.internal.SessionImpl.save(SessionImpl.java:606)
		at com.fortify.manager.DAL.HibernateDatabaseInterface.store(HibernateDatabaseInterface.java:262)
		at com.fortify.manager.DAL.AbstractEntityManager.add(AbstractEntityManager.java:118)
		at com.fortify.manager.DAL.AbstractEntityManager.add(AbstractEntityManager.java:107)
		at com.fortify.manager.DAL.impl.GlobalSeedManagerImpl.createSeedDbHistory(GlobalSeedManagerImpl.java:84)
		at com.fortify.manager.DAL.impl.GlobalSeedManagerImpl$$FastClassBySpringCGLIB$$be92c335.invoke(<generated>)
		at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
		at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750)
		at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
		at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
		at com.fortify.manager.DAL.support.FMDALExceptionTranslationInterceptor.aroundRepositoryMethod(FMDALExceptionTranslationInterceptor.java:32)
		... 77 more
	Caused by: java.sql.BatchUpdateException: Duplicate entry '26033-Credential Management: Sensitive Information in URL' for key 'catpacklookup.PRIMARY'
		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.util.Util.handleNewInstance(Util.java:192)
		at com.mysql.cj.util.Util.getInstance(Util.java:167)
		at com.mysql.cj.util.Util.getInstance(Util.java:174)
		at com.mysql.cj.jdbc.exceptions.SQLError.createBatchUpdateException(SQLError.java:224)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchedInserts(ClientPreparedStatement.java:755)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchInternal(ClientPreparedStatement.java:426)
		at com.mysql.cj.jdbc.StatementImpl.executeBatch(StatementImpl.java:796)
		at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223)
		at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223)
		at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:119)
		... 108 more
	Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '26033-Credential Management: Sensitive Information in URL' for key 'catpacklookup.PRIMARY'
		at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117)
		at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
		at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1092)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1040)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1347)
		at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchedInserts(ClientPreparedStatement.java:716)
		... 113 more
31-May-2023 13:48:11.881 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/app/webapps/ROOT] has finished in [20,738] ms
31-May-2023 13:48:11.882 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-8080"]
31-May-2023 13:48:11.884 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-8443"]
31-May-2023 13:48:11.884 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [20,752] milliseconds

Labels:

Other
Comment List
Related
Recommended