Cannot start Axelor 8.0.4

Dear all,
I am trying to start an instance of Axelor Open Suite version 8.0.4, based on a build made from the open-suite-webapp and axelor-open-suite repositories, on a Debian 11 server, with Tomcat 9, Java OpenJDK 11 and PostgreSQL 13.
I have set a config file /etc/axelor/axelor-config.properties, and updated /etc/default/tomcat9 accordingly.

Please find below the tomcat9 systemd journal upon failed startup:

Apr 11 10:11:52 ERP8 systemd[1]: Stopping Apache Tomcat 9 Web Application Server...
Apr 11 10:11:52 ERP8 tomcat9[953]: Pausing ProtocolHandler ["http-nio-8080"]
Apr 11 10:11:52 ERP8 tomcat9[953]: Stopping service [Catalina]
Apr 11 10:11:52 ERP8 tomcat9[953]: Stopping ProtocolHandler ["http-nio-8080"]
Apr 11 10:11:52 ERP8 tomcat9[953]: Destroying ProtocolHandler ["http-nio-8080"]
Apr 11 10:11:52 ERP8 systemd[1]: tomcat9.service: Succeeded.
Apr 11 10:11:52 ERP8 systemd[1]: Stopped Apache Tomcat 9 Web Application Server.
Apr 11 10:11:52 ERP8 systemd[1]: tomcat9.service: Consumed 4min 34.733s CPU time.
Apr 11 10:11:52 ERP8 systemd[1]: Starting Apache Tomcat 9 Web Application Server...
Apr 11 10:11:52 ERP8 systemd[1]: Started Apache Tomcat 9 Web Application Server.
Apr 11 10:11:52 ERP8 tomcat9[1451]: NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Apr 11 10:11:52 ERP8 tomcat9[1451]: Listening for transport dt_socket at address: 8000
Apr 11 10:11:52 ERP8 tomcat9[1451]: Server version name:   Apache Tomcat/9.0.43 (Debian)
Apr 11 10:11:52 ERP8 tomcat9[1451]: Server built:          Jan 11 1970 23:30:21 UTC
Apr 11 10:11:52 ERP8 tomcat9[1451]: Server version number: 9.0.43.0
Apr 11 10:11:52 ERP8 tomcat9[1451]: OS Name:               Linux
Apr 11 10:11:52 ERP8 tomcat9[1451]: OS Version:            6.1.0-18-amd64
Apr 11 10:11:52 ERP8 tomcat9[1451]: Architecture:          amd64
Apr 11 10:11:52 ERP8 tomcat9[1451]: Java Home:             /usr/lib/jvm/java-11-openjdk-amd64
Apr 11 10:11:52 ERP8 tomcat9[1451]: JVM Version:           11.0.22+7-post-Debian-1deb11u1
Apr 11 10:11:52 ERP8 tomcat9[1451]: JVM Vendor:            Debian
Apr 11 10:11:52 ERP8 tomcat9[1451]: CATALINA_BASE:         /var/lib/tomcat9
Apr 11 10:11:52 ERP8 tomcat9[1451]: CATALINA_HOME:         /usr/share/tomcat9
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.awt.headless=true
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Daxelor.config=/etc/axelor/axelor-config.properties
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.io.tmpdir=/data/axelor/tmp
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Dignore.endorsed.dirs=
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Dcatalina.base=/var/lib/tomcat9
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Dcatalina.home=/usr/share/tomcat9
Apr 11 10:11:53 ERP8 tomcat9[1451]: Command line argument: -Djava.io.tmpdir=/tmp
Apr 11 10:11:53 ERP8 tomcat9[1451]: Loaded Apache Tomcat Native library [1.2.26] using APR version [1.7.0].
Apr 11 10:11:53 ERP8 tomcat9[1451]: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Apr 11 10:11:53 ERP8 tomcat9[1451]: APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
Apr 11 10:11:53 ERP8 tomcat9[1451]: OpenSSL successfully initialized [OpenSSL 1.1.1w  11 Sep 2023]
Apr 11 10:11:53 ERP8 tomcat9[1451]: Initializing ProtocolHandler ["http-nio-8080"]
Apr 11 10:11:53 ERP8 tomcat9[1451]: Server initialization in [640] milliseconds
Apr 11 10:11:53 ERP8 tomcat9[1451]: Starting service [Catalina]
Apr 11 10:11:53 ERP8 tomcat9[1451]: Starting Servlet engine: [Apache Tomcat/9.0.43 (Debian)]
Apr 11 10:11:53 ERP8 tomcat9[1451]: Deploying web application archive [/var/lib/tomcat9/webapps/ROOT.war]
Apr 11 10:12:09 ERP8 tomcat9[1451]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 11 10:12:10 ERP8 tomcat9[1451]: 2024-04-11 10:12:10.379 DEBUG 1451 --- [           main] com.axelor.db.JpaModule                  : Configuring database...
Apr 11 10:12:10 ERP8 tomcat9[1451]: 2024-04-11 10:12:10.642  INFO 1451 --- [           main] com.axelor.db.JpaModule                  : JCache provider: com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.357  INFO 1451 --- [           main] com.axelor.app.AppModule                 : Configuring app modules...
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.358 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.utils.module.UtilsModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.370 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.message.module.MessageModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.382 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.studio.module.StudioModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.469 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.base.module.BaseModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.691 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.crm.module.CrmModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.718 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.sale.module.SaleModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.754 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.stock.module.StockModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.801 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.purchase.module.PurchaseModule
Apr 11 10:12:12 ERP8 tomcat9[1451]: 2024-04-11 10:12:12.814 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.account.module.AccountModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.066 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.supplychain.module.SupplychainModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.132 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.production.module.ProductionModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.187 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.contract.module.ContractModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.200 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.bankpayment.module.BankPaymentModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.241 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.project.module.ProjectModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.261 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.hr.module.HumanResourceModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.333 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.businessproject.module.BusinessProjectModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.359 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.talent.module.TalentModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.366 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.businessproduction.module.BusinessProductionModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.383 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.helpdesk.module.HelpdeskModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.390 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.portal.module.ClientPortalModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.391 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.businesssupport.module.BusinessSupportModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.396 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.customer.portal.module.PortalModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.425 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.prestashop.module.PrestaShopModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.444 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.redmine.module.RedmineModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.454 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.dailyts.module.DailytsModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.458 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.docusign.module.DocuSignModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.461 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.marketing.module.MarketingModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.464 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.sendinblue.module.SendinBlueModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.467 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.partner.portal.module.PartnerPortalModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.471 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.budget.module.BudgetModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.550 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.cash.management.module.CashManagementModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.561 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.quality.module.QualityModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.579 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.fleet.module.FleetModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.581 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.gdpr.module.GdprModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.593 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.mobilesettings.module.MobileSettingsModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.604 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.supplierportal.module.SupplierPortalModule
Apr 11 10:12:13 ERP8 tomcat9[1451]: 2024-04-11 10:12:13.609 DEBUG 1451 --- [           main] com.axelor.app.AppModule                 : Configure module: com.axelor.apps.maintenance.module.MaintenanceModule
Apr 11 10:12:17 ERP8 tomcat9[1451]: One or more listeners failed to start. Full details will be found in the appropriate container log file
Apr 11 10:12:17 ERP8 tomcat9[1451]: Context [] startup failed due to previous errors
Apr 11 10:12:19 ERP8 tomcat9[1451]: 2024-04-11 10:12:19.105  INFO 1451 --- [           main] com.axelor.meta.loader.ViewWatcher       : Starting view watch...
Apr 11 10:12:19 ERP8 tomcat9[1451]: 2024-04-11 10:12:19.106 DEBUG 1451 --- [           main] com.axelor.meta.loader.ViewWatcher       : Watching: /var/lib/tomcat9/webapps/ROOT/WEB-INF/classes/i18n
Apr 11 10:12:19 ERP8 tomcat9[1451]: 2024-04-11 10:12:19.107 DEBUG 1451 --- [           main] com.axelor.meta.loader.ViewWatcher       : Watching: /var/lib/tomcat9/webapps/ROOT/WEB-INF/lib
Apr 11 10:12:19 ERP8 tomcat9[1451]: The web application [ROOT] appears to have started a thread named [FileSystemWatchService] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/sun.nio.fs.LinuxWatchService.poll(Native Method)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:316)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.lang.Thread.run(Thread.java:829)
Apr 11 10:12:19 ERP8 tomcat9[1451]: The web application [ROOT] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/jdk.internal.misc.Unsafe.park(Native Method)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  com.axelor.meta.loader.ViewWatcher.handleEvents(ViewWatcher.java:125)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  com.axelor.meta.loader.ViewWatcher.lambda$start$10(ViewWatcher.java:398)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  com.axelor.meta.loader.ViewWatcher$$Lambda$755/0x0000000840777840.run(Unknown Source)
Apr 11 10:12:19 ERP8 tomcat9[1451]:  java.base@11.0.22/java.lang.Thread.run(Thread.java:829)
Apr 11 10:12:19 ERP8 tomcat9[1451]: Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT]
Apr 11 10:12:19 ERP8 tomcat9[1451]: java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader 'bootstrap')
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2282)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:2257)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1626)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1554)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:461)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5469)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:946)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1792)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:757)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1520)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
Apr 11 10:12:19 ERP8 tomcat9[1451]:     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:477)
Apr 11 10:12:19 ERP8 tomcat9[1451]: Deployment of web application archive [/var/lib/tomcat9/webapps/ROOT.war] has finished in [25,604] ms
Apr 11 10:12:19 ERP8 tomcat9[1451]: Starting ProtocolHandler ["http-nio-8080"]
Apr 11 10:12:19 ERP8 tomcat9[1451]: Server startup in [25710] milliseconds

Can you please help me debugging this error and push me towards a successful start of the app?
Kind regards.

Hello,

To resolve the error problem when starting the Axelor Open Suite version 8.0.4 instance on a Debian 11 server with Tomcat 9 and Java OpenJDK 11, several solutions can be considered:

  1. Check Java, Tomcat and Axelor Open Suite version compatibility, update Java OpenJDK and check configuration settings and dependencies to resolve data type mismatch error when clearing data cache ObjectStreamClass$Caches.
  2. Rebuilding the application from source can be an additional solution to ensure that dependencies and configurations are correct and match your specific environment, which can help resolve potential incompatibility issues between different software versions.

By combining these approaches, you increase your chances of solving the problem and getting off to a successful start.

Regards,

Thank you PakMax for your help, but I had already asked for help to various generative AIs, in vain.

Hello,

may be current Tomcat 9.0.87 corrects bugs from 9.0.43 ?
As current Linux 6.8 should be better than 6.1 ?

Does your tomcat 9 run ok without Axelor ? Do its servlets/JSP demos work ?

How was your « build made » ? (and with which JDK ?) How was it « deployed » to your tomcat ?
(see my post « A first look at v8 from sources » if you can reproduce, what detail are (not) same…)

Dear @opensam
Thank you for your answer.
I use the latest version of Debian 11 (Bullseye) where versions of Tomcat and Java OpenJDK match those required for AOS 8 (i.e. 9 and 11, respectively). I have not tried more up-to-date versions of these packages.

As for building the application, I followed the workflow described in this official video. I cloned the open-suite-webapp repository in which I called for all submodules, updated them and built the application, which more or less reads like:

$ git clone https://github.com/axelor/open-suite-webapp
$ cd open-suite-webapp
$ git submodule init && git submodule update
$ ./gradlew clean build

After that, I copied the resulting application archive to the proper location for Tomcat, before restarting it:

$ cp build/libs/axelor-erp-8.0.4.war /var/lib/tomcat9/webapps/ROOT.war
$ systemd start tomcat9 && journalctl -f -u tomcat9

Note that prior to building the application, I had cloned the axelor-addons repository into open-suite-webapp/modules, as described here.

In order to investigate the error I encounter and reported in this post, I ended up removing this addons repository from the modules directory, and rebuilt the application. It turned out that the error went away. However, I do need one addon (PrestaShop). Leaving the addons repository solely with the directory of this addon and rebuilding the application turned out successful as well.
Therefore some addon(s) seem to be at the origin of the error stated here.
I have not taken the time to find out which of them cause the issue.

After a few tries, I ended up observing that the error reproduces when building the application with addons axelor-customer-portal and axelor-partner-portal (which depend on one another).

Thank you for this precious feedback. The reproducible bug you have found should be reported on github in the addons repository issues.