Appian 22.1 error when starting Web Application Server

Hello everyone, i am trying to upgrade from 20.4 to 22.1. All the services start normally, but on tomcat log, i get the following : 

Using CATALINA_BASE: "C:\appian\tomcat\apache-tomcat"
Using CATALINA_HOME: "C:\appian\tomcat\apache-tomcat"
Using CATALINA_TMPDIR: "C:\appian\tomcat\apache-tomcat\temp"
Using JRE_HOME: "C:\Appian\java"
Using CLASSPATH: "C:\appian\tomcat\apache-tomcat\bin\bootstrap.jar;C:\appian\tomcat\apache-tomcat\bin\tomcat-juli.jar"
Using CATALINA_OPTS: " -Dfile.encoding=UTF-8 -Duser.timezone=GMT -Djava.naming.factory.initial=com.appiancorp.tomcat.naming.TomcatInitialContextFactory -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dorg.osgi.framework.security=osgi -Dsun.net.inetaddr.ttl=60 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dtomcat.cacheArchiveEntries=true -Dio.opentracing.contrib.jdbc.excludeFastQueryThresholdMs=100 -Dio.opentracing.contrib.jdbc.slowQueryThresholdMs=200 -XX:-TieredCompilation -XX:ReservedCodeCacheSize=256M -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+UseStringDeduplication -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+SafepointTimeout -XX:SafepointTimeoutDelay=10000 -XX:NumberOfGCLogFiles=25 -XX:GCLogFileSize=3M -XX:+HeapDumpOnOutOfMemoryError -XX:+UseMembar -verbose:gc -Dae.home=C:\appian -Xloggc:C:\appian\logs\tomcat\gc.log -Xms2048m -Xmx4096m"
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.77
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 13 2022 19:13:33 UTC
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.77.0
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2016
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Appian\java\jre
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_322-b06
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Temurin
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\appian\tomcat\apache-tomcat
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\appian\tomcat\apache-tomcat
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\appian\tomcat\apache-tomcat\conf\logging.properties
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.timezone=GMT
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.naming.factory.initial=com.appiancorp.tomcat.naming.TomcatInitialContextFactory
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.net.preferIPv4Stack=true
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.osgi.framework.security=osgi
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.net.inetaddr.ttl=60
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.rmi.dgc.client.gcInterval=3600000
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.rmi.dgc.server.gcInterval=3600000
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dtomcat.cacheArchiveEntries=true
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dio.opentracing.contrib.jdbc.excludeFastQueryThresholdMs=100
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dio.opentracing.contrib.jdbc.slowQueryThresholdMs=200
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-TieredCompilation
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ReservedCodeCacheSize=256M
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+ExplicitGCInvokesConcurrent
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseStringDeduplication
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDetails
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDateStamps
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseGCLogFileRotation
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCApplicationStoppedTime
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCApplicationConcurrentTime
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+SafepointTimeout
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:SafepointTimeoutDelay=10000
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:NumberOfGCLogFiles=25
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:GCLogFileSize=3M
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+HeapDumpOnOutOfMemoryError
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseMembar
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -verbose:gc
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dae.home=C:\appian
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xloggc:C:\appian\logs\tomcat\gc.log
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms2048m
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx4096m
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\appian\tomcat\apache-tomcat
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\appian\tomcat\apache-tomcat
2024-04-18 15:49:25 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\appian\tomcat\apache-tomcat\temp
2024-04-18 15:49:26 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
2024-04-18 15:49:26 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-0.0.0.0-8009"]
2024-04-18 15:49:26 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 881 ms
2024-04-18 15:49:26 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
2024-04-18 15:49:26 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.77]
2024-04-18 15:49:26 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [C:\appian\tomcat\apache-tomcat\conf\Catalina\localhost\suite.xml]
Tomcat Cache Archive Entries [true]
2024-04-18 15:49:37 SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool.
java.sql.SQLException: Unable to load class: com.ibm.as400.access.AS400JDBCDriver from ClassLoader:java.net.URLClassLoader@19469ea2;ClassLoader:AppianWebappClassLoader
context: suite
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@19469ea2

at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:316)
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:228)
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:764)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:692)
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:496)
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:121)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:110)
at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:560)
at org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:244)
at com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory.getObjectInstance(EncodedPasswordDataSourceFactory.java:52)
at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:332)
at org.apache.naming.NamingContext.lookup(NamingContext.java:846)
at org.apache.naming.NamingContext.lookup(NamingContext.java:157)
at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
at org.apache.naming.NamingContext.lookup(NamingContext.java:171)
at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1013)
at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:552)
at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:245)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5130)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:673)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassNotFoundException: Unable to load class: com.ibm.as400.access.AS400JDBCDriver from ClassLoader:java.net.URLClassLoader@19469ea2;ClassLoader:AppianWebappClassLoader
context: suite
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@19469ea2

at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:56)
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:305)
... 32 more
Caused by: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1415)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1223)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:38)
... 33 more
2024-04-18 15:49:37 WARNING [localhost-startStop-1] org.apache.naming.NamingContext.lookup Unexpected exception resolving reference
java.sql.SQLException: Unable to load class: com.ibm.as400.access.AS400JDBCDriver from ClassLoader:java.net.URLClassLoader@19469ea2;ClassLoader:AppianWebappClassLoader
context: suite
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@19469ea2

at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:316)
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:228)
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:764)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:692)
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:496)
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:121)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:110)
at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:560)
at org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:244)
at com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory.getObjectInstance(EncodedPasswordDataSourceFactory.java:52)
at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:332)
at org.apache.naming.NamingContext.lookup(NamingContext.java:846)
at org.apache.naming.NamingContext.lookup(NamingContext.java:157)
at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
at org.apache.naming.NamingContext.lookup(NamingContext.java:171)
at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1013)
at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:552)
at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:245)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5130)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:673)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassNotFoundException: Unable to load class: com.ibm.as400.access.AS400JDBCDriver from ClassLoader:java.net.URLClassLoader@19469ea2;ClassLoader:AppianWebappClassLoader
context: suite
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@19469ea2

at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:56)
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:305)
... 32 more
Caused by: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1415)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1223)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:38)
... 33 more
2024-04-18 15:49:37 WARNING [localhost-startStop-1] org.apache.catalina.core.NamingContextListener.addResource Failed to register in JMX: [javax.naming.NamingException: Unexpected exception resolving reference [Root exception is java.sql.SQLException: Unable to load class: com.ibm.as400.access.AS400JDBCDriver from ClassLoader:java.net.URLClassLoader@19469ea2;ClassLoader:AppianWebappClassLoader
context: suite
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@19469ea2
]]
2024-04-18 15:49:38 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.PropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/.../faq.html for more info.
log4j:WARN Exception while initializing AppianRollingFileAppender named 'INTEGRATION_REQ_RESP_ALL'
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 10
C:\appian\logs/perflogs/http-requests-and-responses/integration_req_resp_activity(\.[0-9]{4}_[0-9]{2}_[0-9]{2})\.([0-9]+).log
^
at java.util.regex.Pattern.error(Pattern.java:1969)
at java.util.regex.Pattern.escape(Pattern.java:2485)
at java.util.regex.Pattern.atom(Pattern.java:2212)
at java.util.regex.Pattern.sequence(Pattern.java:2144)
at java.util.regex.Pattern.expr(Pattern.java:2010)
at java.util.regex.Pattern.compile(Pattern.java:1702)
at java.util.regex.Pattern.<init>(Pattern.java:1352)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at com.appiancorp.common.logging.rolling.RollingUtils.getFilePathPattern(RollingUtils.java:73)
at com.appiancorp.common.logging.rolling.DailyRollingPolicyDeleteManager.initialize(DailyRollingPolicyDeleteManager.java:52)
at com.appiancorp.common.logging.rolling.DailyRollingPolicy.initialize(DailyRollingPolicy.java:121)
at com.appiancorp.common.logging.rolling.AppianRollingFileAppender.activateOptions(AppianRollingFileAppender.java:74)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:284)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:160)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:100)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:802)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:738)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:652)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:518)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:421)
at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:911)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:85)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:59)
at org.apache.log4j.PropertyWatchdog.<init>(PropertyConfigurator.java:903)
at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:479)
at com.appiancorp.common.logging.ConfigureLog4j.configureFile(ConfigureLog4j.java:310)
at com.appiancorp.common.logging.ConfigureLog4j.configure(ConfigureLog4j.java:284)
at com.appiancorp.common.logging.ConfigureLog4j.configure(ConfigureLog4j.java:135)
at com.appiancorp.common.logging.ConfigureLog4j.initialize(ConfigureLog4j.java:56)
at com.appiancorp.common.logging.ConfigureLog4j.contextInitialized(ConfigureLog4j.java:65)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:673)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2024-04-18 15:49:39,778 [wait-for-component] INFO com.appiancorp.tools.WaitForServers - Waiting for servers to be up...
2024-04-18 15:49:39,811 [wait-for-component] INFO com.appiancorp.common.persistence.search.SearchServerClientConfiguration - Using the Search Server client configuration specified in C:\appian\conf\appian-topology.xml.
2024-04-18 15:49:40,020 [wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Appian component Primary datasource RDBMS is healthy
2024-04-18 15:49:40,073 [wait-for-component] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - initializing client with server addresses: [localhost:9200]
2024-04-18 15:49:40,676 [wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Appian component Data Server is healthy
2024-04-18 15:49:41,076 [wait-for-component] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - client configured nodes: [[host=http://localhost:9200]]
2024-04-18 15:49:41,453 [wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Appian component Kafka Topics is healthy
2024-04-18 15:49:41,488 [wait-for-component] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - search server: productName=ElasticSearch, productVersion=7.9.3, driverName=org.elasticsearch.client.RestHighLevelClient, driverVersion=7.9.3
2024-04-18 15:49:41,515 [wait-for-component] INFO com.appiancorp.tools.WaitForServers - Waiting for analytics to be ready...
2024-04-18 15:49:41,526 [wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Appian component Search Server is healthy
2024-04-18 15:49:41,630 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache types.type [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemCoupledLirs, appian.cacheattributes.MaxObjects=20000, //=AN-165948 use a single segment to work around deadlocks due to coupled keys having different hashes, appian.cacheattributes.SegmentCount=1, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.cacheKey=appian/cache/jcs-datatype-config.ccf, appian.cacheattributes.MaxMemoryIdleTimeSeconds=14400, appian.cacheattributes.cacheName=types.type, appian.cacheattributes.ShrinkerIntervalSeconds=3600}
2024-04-18 15:49:41,689 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache userPreferences [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=1200, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=600, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.MaxObjects=5000, appian.cacheattributes.cacheKey=appian/cache/jcs-userPreferences-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=userPreferences}
2024-04-18 15:49:41,718 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache globalization [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=14400, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=3600, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.MaxObjects=10, appian.cacheattributes.cacheKey=appian/cache/jcs-globalization-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=globalization}
2024-04-18 15:49:41,723 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache i18n [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=14400, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=3600, appian.cacheattributes.MaxObjects=1500, appian.cacheattributes.cacheKey=appian/cache/jcs-i18n-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=i18n}
2024-04-18 15:49:41,757 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache groupNames [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.MaxObjects=5000, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.cacheKey=appian/cache/jcs-groupNameCache-config.ccf, appian.elementattributes.MaxLifeSeconds=5400, appian.cacheattributes.MaxMemoryIdleTimeSeconds=1800, appian.cacheattributes.cacheName=groupNames, appian.cacheattributes.ShrinkerIntervalSeconds=2700}
2024-04-18 15:49:41,761 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache groupMemberships [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=1200, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=600, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.MaxObjects=5000, appian.cacheattributes.cacheKey=appian/cache/jcs-groupMembershipCache-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=groupMemberships}
2024-04-18 15:49:42,925 [wait-for-component] INFO com.appiancorp.tools.WaitForServers - ... done.
2024-04-18 15:49:43,334 [wait-for-component] INFO com.appiancorp.cache.CacheBase - Initializing Cache favoritesCache [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=7200, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=10800, appian.elementattributes.MaxLifeSeconds=7200, appian.cacheattributes.MaxObjects=40000, appian.cacheattributes.cacheKey=appian/cache/jcs-favoritesCache-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=favoritesCache}
2024-04-18 15:49:43,371 [wait-for-component] INFO com.appiancorp.common.startup.WaitForStatefulComponents - Appian component Engines is healthy
2024-04-18 15:49:43,371 [localhost-startStop-1] INFO com.appiancorp.common.startup.WaitForStatefulComponents - All Appian components required for webapp are ready [Primary datasource RDBMS, Engines, Kafka Topics, Search Server, Data Server]. Initializing Appian webapp...
2024-04-18 15:49:44,951 [localhost-startStop-1] INFO com.appiancorp.cache.CacheBase - Initializing Cache idByUuid [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=3600, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=3600, appian.elementattributes.MaxLifeSeconds=3600, appian.cacheattributes.MaxObjects=64, appian.cacheattributes.cacheKey=appian/cache/jcs-idByUuidCache-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=idByUuid}
2024-04-18 15:49:44 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
2024-04-18 15:49:44,978 [localhost-startStop-1] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
2024-04-18 15:49:51,228 [localhost-startStop-1] INFO com.appiancorp.common.persistence.search.SearchServerClientConfiguration - Using the Search Server client configuration specified in C:\appian\conf\appian-topology.xml.
2024-04-18 15:49:51,231 [localhost-startStop-1] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - initializing client with server addresses: [localhost:9200]
2024-04-18 15:49:51,236 [localhost-startStop-1] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - client configured nodes: [[host=http://localhost:9200]]
2024-04-18 15:49:51,242 [localhost-startStop-1] INFO com.appiancorp.common.persistence.search.AppianSearchSpringConfig - search server: productName=ElasticSearch, productVersion=7.9.3, driverName=org.elasticsearch.client.RestHighLevelClient, driverVersion=7.9.3
2024-04-18 15:49:51,260 [localhost-startStop-1] INFO com.appiancorp.common.persistence.search.SearchServerClientConfiguration - Using the Search Server client configuration specified in C:\appian\conf\appian-topology.xml.
2024-04-18 15:49:56,176 [localhost-startStop-1] INFO com.appiancorp.cache.CacheBase - Initializing Cache administeredConfiguration [com.appiancorp.cache.DefaultLirsCacheWrapper] with Configuration:
{appian.cacheattributes.MaxMemoryIdleTimeSeconds=14400, appian.cache.metrics.collectFullMetrics=false, appian.cacheattributes.ShrinkerIntervalSeconds=3600, appian.cacheattributes.distributionMode=LOCAL_WITH_DISTRIBUTED_CLEAR, appian.cacheattributes.MaxObjects=100, appian.cacheattributes.cacheKey=appian/cache/jcs-administration-config.ccf, appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.JavaCachingSystemLirs, appian.cacheattributes.cacheName=administeredConfiguration}
2024-04-18 15:49:58,252 [localhost-startStop-1] INFO com.appiancorp.rdbms.hb.DataSourceManagerHbImpl - [jdbc/AppianPrimaryDS] Checking schema and migrating if necessary (appian/db/changelog/db-changelog-master.xml)...
2024-04-18 15:50:05,491 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#65' while setting bean property 'sourceList' with key [65]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:428)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:934)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at com.appiancorp.common.AppianSpringContextLoaderListener$AppianContextLoaderListener.lambda$contextInitialized$0(AppianSpringContextLoaderListener.java:27)
at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:34)
at com.appiancorp.common.AppianSpringContextLoaderListener$AppianContextLoaderListener.contextInitialized(AppianSpringContextLoaderListener.java:25)
at com.appiancorp.common.web.StartupHaltingServletContextListener.doContextInitialized(StartupHaltingServletContextListener.java:85)
at com.appiancorp.common.web.StartupHaltingServletContextListener$1.run(StartupHaltingServletContextListener.java:57)
at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:38)
at com.appiancorp.common.web.StartupHaltingServletContextListener.contextInitialized(StartupHaltingServletContextListener.java:54)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:673)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:428)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:173)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:693)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 37 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 51 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 63 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311)
... 73 more
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:430)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:464)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:277)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at com.sun.proxy.$Proxy120.get(Unknown Source)
at com.appiancorp.common.config.persistence.ReadWriteConfigurationDaoImpl.getConfig(ReadWriteConfigurationDaoImpl.java:46)
at com.appiancorp.common.config.persistence.ReadWriteConfigurationDaoImpl.containsKey(ReadWriteConfigurationDaoImpl.java:62)
at org.apache.commons.configuration.SubsetConfiguration.containsKey(SubsetConfiguration.java:164)
at org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:261)
at org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1171)
at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1038)
at com.appiancorp.common.config.ReadOnlyConfiguration.getString(ReadOnlyConfiguration.java:214)
at com.appiancorp.common.config.AbstractConfiguration.lambda$getString$1(AbstractConfiguration.java:338)
at com.appiancorp.common.config.AbstractConfiguration.getCachedConfigurationProperty(AbstractConfiguration.java:324)
at com.appiancorp.common.config.AbstractConfiguration.getString(AbstractConfiguration.java:338)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredStringAccessor.getValue(AdministeredStringAccessor.java:23)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredStringAccessor.getValue(AdministeredStringAccessor.java:10)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredProperty.lambda$getValue$1(AdministeredProperty.java:135)
at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsUserIfNoContextSet(SpringSecurityContextHelper.java:354)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredProperty.getValue(AdministeredProperty.java:134)
at com.appiancorp.suite.cfg.adminconsole.AdministeredConfiguration.getValue(AdministeredConfiguration.java:456)
at com.appiancorp.suite.cfg.CustomBrandingConfiguration.getSitename(CustomBrandingConfiguration.java:187)
at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsAdmin(SpringSecurityContextHelper.java:188)
at com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint.<init>(HttpBasicAuthenticationEntryPoint.java:47)
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 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
... 75 more
Caused by: java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.migrateSchema(DataSourceManagerHbImpl.java:698)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.ensureSchema(DataSourceManagerHbImpl.java:727)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getEntityManagerFactory(DataSourceManagerHbImpl.java:675)
at com.appiancorp.common.config.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:39)
at com.appiancorp.common.config.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:43)
at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:448)
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:369)
... 108 more
Caused by: java.lang.IllegalStateException: liquibase.exception.ValidationFailedException: Validation Failed:
2 change sets check sum
db-changelog-000243-add-index-for-replica-load-event-type-uuid.yaml::000243.0.0::appian was: 8:64fe11a4f07747be9b94e8e6a665bb46 but is now: 8:d41d8cd98f00b204e9800998ecf8427e
db-changelog-000262-add-schedule-refresh.yaml::000262.5.0::appian was: 8:566d224d86c6134ac008561a4bdf3021 but is now: 8:d41d8cd98f00b204e9800998ecf8427e

at com.appiancorp.rdbms.common.schema.SchemaMigrator.migrate(SchemaMigrator.java:193)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.migrateSchema(DataSourceManagerHbImpl.java:693)
... 114 more
Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
2 change sets check sum
db-changelog-000243-add-index-for-replica-load-event-type-uuid.yaml::000243.0.0::appian was: 8:64fe11a4f07747be9b94e8e6a665bb46 but is now: 8:d41d8cd98f00b204e9800998ecf8427e
db-changelog-000262-add-schedule-refresh.yaml::000262.5.0::appian was: 8:566d224d86c6134ac008561a4bdf3021 but is now: 8:d41d8cd98f00b204e9800998ecf8427e

at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:288)
at liquibase.Liquibase.update(Liquibase.java:198)
at liquibase.Liquibase.update(Liquibase.java:179)
at liquibase.Liquibase.update(Liquibase.java:175)
at com.appiancorp.rdbms.common.schema.SchemaMigrator.migrate(SchemaMigrator.java:191)
... 115 more
2024-04-18 15:50:05,512 [localhost-startStop-1] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#65' while setting bean property 'sourceList' with key [65]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#65' while setting bean property 'sourceList' with key [65]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at com.appiancorp.common.web.StartupHaltingServletContextListener.contextInitialized(StartupHaltingServletContextListener.java:66)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:673)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#65' while setting bean property 'sourceList' with key [65]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at com.appiancorp.common.AppianSpringContextLoaderListener$AppianContextLoaderListener.contextInitialized(AppianSpringContextLoaderListener.java:32)
at com.appiancorp.common.web.StartupHaltingServletContextListener.doContextInitialized(StartupHaltingServletContextListener.java:85)
at com.appiancorp.common.web.StartupHaltingServletContextListener$1.run(StartupHaltingServletContextListener.java:57)
at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:38)
at com.appiancorp.common.web.StartupHaltingServletContextListener.contextInitialized(StartupHaltingServletContextListener.java:54)
... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#65' while setting bean property 'sourceList' with key [65]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:428)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:934)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at com.appiancorp.common.AppianSpringContextLoaderListener$AppianContextLoaderListener.lambda$contextInitialized$0(AppianSpringContextLoaderListener.java:27)
at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:34)
at com.appiancorp.common.AppianSpringContextLoaderListener$AppianContextLoaderListener.contextInitialized(AppianSpringContextLoaderListener.java:25)
... 17 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#65': Cannot resolve reference to bean 'mobileClientValidationFilter' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:428)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:173)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:693)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 37 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mobileClientValidationFilter' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean 'httpBasicAuthenticationEntryPoint' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 51 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpBasicAuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
... 63 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311)
... 73 more
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:430)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:464)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:277)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at com.sun.proxy.$Proxy120.get(Unknown Source)
at com.appiancorp.common.config.persistence.ReadWriteConfigurationDaoImpl.getConfig(ReadWriteConfigurationDaoImpl.java:46)
at com.appiancorp.common.config.persistence.ReadWriteConfigurationDaoImpl.containsKey(ReadWriteConfigurationDaoImpl.java:62)
at org.apache.commons.configuration.SubsetConfiguration.containsKey(SubsetConfiguration.java:164)
at org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:261)
at org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1171)
at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1038)
at com.appiancorp.common.config.ReadOnlyConfiguration.getString(ReadOnlyConfiguration.java:214)
at com.appiancorp.common.config.AbstractConfiguration.lambda$getString$1(AbstractConfiguration.java:338)
at com.appiancorp.common.config.AbstractConfiguration.getCachedConfigurationProperty(AbstractConfiguration.java:324)
at com.appiancorp.common.config.AbstractConfiguration.getString(AbstractConfiguration.java:338)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredStringAccessor.getValue(AdministeredStringAccessor.java:23)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredStringAccessor.getValue(AdministeredStringAccessor.java:10)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredProperty.lambda$getValue$1(AdministeredProperty.java:135)
at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsUserIfNoContextSet(SpringSecurityContextHelper.java:354)
at com.appiancorp.suite.cfg.adminconsole.administeredproperty.AdministeredProperty.getValue(AdministeredProperty.java:134)
at com.appiancorp.suite.cfg.adminconsole.AdministeredConfiguration.getValue(AdministeredConfiguration.java:456)
at com.appiancorp.suite.cfg.CustomBrandingConfiguration.getSitename(CustomBrandingConfiguration.java:187)
at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsAdmin(SpringSecurityContextHelper.java:188)
at com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint.<init>(HttpBasicAuthenticationEntryPoint.java:47)
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 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
... 75 more
Caused by: java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration.
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.migrateSchema(DataSourceManagerHbImpl.java:698)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.ensureSchema(DataSourceManagerHbImpl.java:727)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getEntityManagerFactory(DataSourceManagerHbImpl.java:675)
at com.appiancorp.common.config.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:39)
at com.appiancorp.common.config.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:43)
at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:448)
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:369)
... 108 more
Caused by: java.lang.IllegalStateException: liquibase.exception.ValidationFailedException: Validation Failed:
2 change sets check sum
db-changelog-000243-add-index-for-replica-load-event-type-uuid.yaml::000243.0.0::appian was: 8:64fe11a4f07747be9b94e8e6a665bb46 but is now: 8:d41d8cd98f00b204e9800998ecf8427e
db-changelog-000262-add-schedule-refresh.yaml::000262.5.0::appian was: 8:566d224d86c6134ac008561a4bdf3021 but is now: 8:d41d8cd98f00b204e9800998ecf8427e

at com.appiancorp.rdbms.common.schema.SchemaMigrator.migrate(SchemaMigrator.java:193)
at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.migrateSchema(DataSourceManagerHbImpl.java:693)
... 114 more
Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
2 change sets check sum
db-changelog-000243-add-index-for-replica-load-event-type-uuid.yaml::000243.0.0::appian was: 8:64fe11a4f07747be9b94e8e6a665bb46 but is now: 8:d41d8cd98f00b204e9800998ecf8427e
db-changelog-000262-add-schedule-refresh.yaml::000262.5.0::appian was: 8:566d224d86c6134ac008561a4bdf3021 but is now: 8:d41d8cd98f00b204e9800998ecf8427e

at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:288)
at liquibase.Liquibase.update(Liquibase.java:198)
at liquibase.Liquibase.update(Liquibase.java:179)
at liquibase.Liquibase.update(Liquibase.java:175)
at com.appiancorp.rdbms.common.schema.SchemaMigrator.migrate(SchemaMigrator.java:191)
... 115 more
2024-04-18 15:50:05,515 [localhost-startStop-1] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Appian initialization FAILED: see above stacktrace for details

  Discussion posts and replies are publicly visible