Upgrading from 7.15 to 7.19 fails
Asked by Marco Vici:

Hello, after the upgrade Confluence can no longer start properly.

The installation was successfull. I also applied the files listed in *7.15.0-modifications.txt*.

```
The following provides a list of file modifications within the confluence directory.

Modified files: 
(none)
Removed files:
(none)
Added files:
confluence\WEB-INF\classes\log4j-diagnostic.properties
confluence\WEB-INF\lib\mysql-connector-java-5.1.49-bin.jar
confluence\WEB-INF\lib\mysql-connector-java-5.1.49.jar
```

I copied them from the backup of the home dir.

After starting the service it is not possible to stop it. I have to kill it.

This is the content of *atlassian-confluence.log*
>
> ```
> 2022-11-21 09:04:25,028 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.19.3 [build 8804 based on commit hash 1604fd8838b7914724c93701a43b3fd71ae845d9] - synchrony version 5.0.3
> 2022-11-21 09:04:30,122 INFO [Catalina-utility-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
> 2022-11-21 09:04:34,451 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
> 2022-11-21 09:04:48,389 INFO [Catalina-utility-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext initialized in 18267 ms
> 2022-11-21 09:04:48,748 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] lambda$earlyStartup$5 Plugin system earlyStartup begun
> 2022-11-21 09:04:49,515 WARN [Catalina-utility-1] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-2-2-1.9.22-atlassian-2.jar and xerces-bridge-2-3-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-2-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-3-1.9.22-atlassian-2.jar'
> 2022-11-21 09:04:49,531 WARN [Catalina-utility-1] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-2-0-1.9.22-atlassian-2.jar and xerces-bridge-2-2-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-0-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-2-1.9.22-atlassian-2.jar'
> 2022-11-21 09:04:49,531 WARN [Catalina-utility-1] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-1.9.22-atlassian-2.jar and xerces-bridge-2-0-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-0-1.9.22-atlassian-2.jar'
> 2022-11-21 09:04:52,859 WARN [FelixStartLevel] [extender.internal.support.ExtenderConfiguration] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.
> 2022-11-21 09:05:19,765 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.user.UserKeyService' for component importation purposes. Skipping...
> 2022-11-21 09:05:19,781 WARN [ThreadPoolAsyncTaskExecutor::Thread 4] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.util.I18nHelper' for component importation purposes. Skipping...
> 2022-11-21 09:05:30,218 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system earlyStartup ended
> 2022-11-21 09:05:30,593 INFO [Catalina-utility-1] [confluence.upgrade.impl.DefaultUpgradeManager] beforeUpgrade Generating pre-upgrade recovery file...
> 2022-11-21 09:05:30,640 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] begin Starting 
> 2022-11-21 09:05:30,640 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting DATABASE_INFORMATION 
> 2022-11-21 09:05:30,656 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing DATABASE_INFORMATION 
> 2022-11-21 09:05:30,656 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLE_DEFINITION 
> 2022-11-21 09:05:31,937 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing TABLE_DEFINITION 
> 2022-11-21 09:05:31,937 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] totalNumberOfTables Total number of tables: 226
> 2022-11-21 09:05:31,937 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLES_DATA 
> 2022-11-21 09:07:17,628 WARN [Catalina-utility-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
> ->[null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #1657157583)
> 2022-11-21 09:10:35,608 WARN [Catalina-utility-1] [zaxxer.hikari.pool.ProxyConnection] checkException HikariPool-1 - Connection com.mysql.jdbc.JDBC4Connection@53692dd8 marked as broken because of SQLSTATE(08007), ErrorCode(0)
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.Util.getInstance(Util.java:386)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
> at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4541)
> at com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:396)
> at com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java)
> at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:116)
> at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.rollback(JdbcResourceLocalTransactionCoordinatorImpl.java:251)
> at org.hibernate.engine.transaction.internal.TransactionImpl.rollback(TransactionImpl.java:100)
> at com.atlassian.hibernate.adapter.adapters.TransactionV2Adapter.rollback(TransactionV2Adapter.java:44)
> at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:532)
> at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateTransactionManager.doRollback(ConfluenceHibernateTransactionManager.java:81)
> at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:835)
> at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:809)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
> at com.sun.proxy.$Proxy80.rollback(Unknown Source)
> at org.springframework.transaction.support.TransactionTemplate.rollbackOnException(TransactionTemplate.java:168)
> at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:144)
> at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.generate(DefaultRecoveryFileGenerator.java:61)
> at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.beforeUpgrade(DefaultUpgradeManager.java:173)
> at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:134)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.launchUpgrades(PluginFrameworkContextListener.java:122)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:82)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
> at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Unknown Source)
> 2022-11-21 09:10:35,702 ERROR [Catalina-utility-1] [springframework.transaction.support.TransactionTemplate] rollbackOnException Application exception overridden by rollback exception
> com.atlassian.confluence.upgrade.recovery.DbDumpException: Failed to generate recovery file
> at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.lambda$generate$0(DefaultRecoveryFileGenerator.java:86)
> at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
> at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.generate(DefaultRecoveryFileGenerator.java:61)
> at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.beforeUpgrade(DefaultUpgradeManager.java:173)
> at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:134)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.launchUpgrades(PluginFrameworkContextListener.java:122)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:82)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
> at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Unknown Source)
> Caused by: com.atlassian.confluence.upgrade.recovery.DbDumpException: Problem with table "null": 
> at com.atlassian.confluence.upgrade.recovery.RecoveryErrorService.newImportExportSqlException(RecoveryErrorService.java:21)
> at com.atlassian.dbexporter.jdbc.JdbcUtils.withNoAutoCommit(JdbcUtils.java:57)
> at com.atlassian.dbexporter.exporter.DataExporter.lambda$export$1(DataExporter.java:50)
> at com.atlassian.dbexporter.jdbc.JdbcUtils.withConnection(JdbcUtils.java:29)
> at com.atlassian.dbexporter.exporter.DataExporter.export(DataExporter.java:48)
> at com.atlassian.dbexporter.DbExporter.exportData(DbExporter.java:65)
> at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.lambda$generate$0(DefaultRecoveryFileGenerator.java:80)
> ... 17 more
> Caused by: java.sql.SQLException: Unexpected exception encountered during query.
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2506)
> at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4776)
> at com.zaxxer.hikari.pool.ProxyConnection.setAutoCommit(ProxyConnection.java:414)
> at com.zaxxer.hikari.pool.HikariProxyConnection.setAutoCommit(HikariProxyConnection.java)
> at com.atlassian.config.db.DelegatingConnection.setAutoCommit(DelegatingConnection.java:53)
> at jdk.internal.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
> at com.atlassian.activeobjects.spi.ConnectionHandler.delegate(ConnectionHandler.java:39)
> at com.atlassian.activeobjects.spi.ConnectionHandler.invoke(ConnectionHandler.java:34)
> at com.sun.proxy.$Proxy2424.setAutoCommit(Unknown Source)
> at com.atlassian.dbexporter.jdbc.JdbcUtils.withNoAutoCommit(JdbcUtils.java:54)
> ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 80 out of bounds for length 80
> at com.mysql.jdbc.Buffer.readByte(Buffer.java:277)
> at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:685)
> at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:412)
> at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3070)
> at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2338)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2725)
> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
> ... 33 more
> 2022-11-21 09:10:35,702 ERROR [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Error initialising plugin manager: Could not roll back Hibernate transaction; nested exception is net.sf.hibernate.TransactionException: Unable to rollback against JDBC Connection
> org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is net.sf.hibernate.TransactionException: Unable to rollback against JDBC Connection
> at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:535)
> at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateTransactionManager.doRollback(ConfluenceHibernateTransactionManager.java:81)
> at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:835)
> at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:809)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
> at com.sun.proxy.$Proxy80.rollback(Unknown Source)
> at org.springframework.transaction.support.TransactionTemplate.rollbackOnException(TransactionTemplate.java:168)
> at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:144)
> at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.generate(DefaultRecoveryFileGenerator.java:61)
> at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.beforeUpgrade(DefaultUpgradeManager.java:173)
> at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:134)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.launchUpgrades(PluginFrameworkContextListener.java:122)
> at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:82)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
> at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Unknown Source)
> Caused by: net.sf.hibernate.TransactionException: Unable to rollback against JDBC Connection
> at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:122)
> at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.rollback(JdbcResourceLocalTransactionCoordinatorImpl.java:251)
> at org.hibernate.engine.transaction.internal.TransactionImpl.rollback(TransactionImpl.java:100)
> at com.atlassian.hibernate.adapter.adapters.TransactionV2Adapter.rollback(TransactionV2Adapter.java:44)
> at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:532)
> ... 28 more
> Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.Util.getInstance(Util.java:386)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
> at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4541)
> at com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:396)
> at com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java)
> at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:116)
> ... 32 more
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@34a12d73 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@457b6280 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@38f40cc4 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@614b9d45 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@5cbceeaa (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@42cde8df (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@5ca93a39 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@710fba63 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@11db3e02 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@2cb3081e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@395e8743 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@492ae96f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,546 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@4030b96 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@463ac619 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@542c1737 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@4ad3fd4c (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@5610103b (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@460a0eee (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@722b2cb7 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:36,562 WARN [pool-12-thread-10] [zaxxer.hikari.pool.PoolBase] isConnectionAlive HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@27c78623 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
> 2022-11-21 09:10:37,765 ERROR [Catalina-utility-1] [zaxxer.hikari.pool.HikariPool] throwPoolInitializationException HikariPool-2 - Exception during pool initialization.
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
>
> The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
> at jdk.internal.reflect.GeneratedConstructorAccessor309.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
> at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2187)
> at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2220)
> at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2015)
> at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:768)
> at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> at jdk.internal.reflect.GeneratedConstructorAccessor117.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323)
> at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
> at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364)
> at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
> at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476)
> at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
> at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
> at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
> at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59)
> at com.atlassian.confluence.impl.hibernate.DelegatingHikariConnectionProvider.configure(DelegatingHikariConnectionProvider.java:53)
> at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at com.atlassian.config.db.DatabaseHelper.getConnection(DatabaseHelper.java:111)
> at com.atlassian.config.db.DatabaseHelper.setDatabaseLowerProperty(DatabaseHelper.java:45)
> at com.atlassian.config.db.DatabaseLowerPropertyCheck.startup(DatabaseLowerPropertyCheck.java:31)
> at com.atlassian.confluence.impl.setup.DefaultLifecycleManager.startUp(DefaultLifecycleManager.java:52)
> at com.atlassian.config.lifecycle.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:15)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
> at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Unknown Source)
> Caused by: java.net.ConnectException: Connection refused: connect
> at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
> at java.base/java.net.PlainSocketImpl.socketConnect(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
> at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
> at java.base/java.net.Socket.connect(Unknown Source)
> at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:299)
> ... 37 more
> 2022-11-21 09:10:37,765 ERROR [Catalina-utility-1] [atlassian.config.db.DatabaseHelper] closeConnectionOrLog Connection was null. We could not successfully connect to the specified database
> 2022-11-21 09:10:37,765 ERROR [Catalina-utility-1] [atlassian.config.lifecycle.LifecycleManager] panicAndShutdown Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:dblowercheck (Check to ensure the database correctly supports lower() for non-ASCII characters)
> org.hibernate.HibernateException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
>
> The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
> at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:63)
> at com.atlassian.confluence.impl.hibernate.DelegatingHikariConnectionProvider.configure(DelegatingHikariConnectionProvider.java:53)
> at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at com.atlassian.config.db.DatabaseHelper.getConnection(DatabaseHelper.java:111)
> at com.atlassian.config.db.DatabaseHelper.setDatabaseLowerProperty(DatabaseHelper.java:45)
> at com.atlassian.config.db.DatabaseLowerPropertyCheck.startup(DatabaseLowerPropertyCheck.java:31)
> at com.atlassian.confluence.impl.setup.DefaultLifecycleManager.startUp(DefaultLifecycleManager.java:52)
> at com.atlassian.config.lifecycle.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:15)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
> at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Unknown Source)
> Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
>
> The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
> at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596)
> at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582)
> at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
> at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
> at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59)
> ... 18 more
> Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
>
> The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
> at jdk.internal.reflect.GeneratedConstructorAccessor309.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
> at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2187)
> at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2220)
> at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2015)
> at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:768)
> at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> at jdk.internal.reflect.GeneratedConstructorAccessor117.newInstance(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)
> at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323)
> at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
> at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364)
> at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
> at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476)
> at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
> ... 21 more
> Caused by: java.net.ConnectException: Connection refused: connect
> at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
> at java.base/java.net.PlainSocketImpl.socketConnect(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
> at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
> at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
> at java.base/java.net.Socket.connect(Unknown Source)
> at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:299)
> ... 37 more
> 2022-11-21 09:10:37,765 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] destroy Shutting down long running task service
> 2022-11-21 09:12:23,873 INFO [Catalina-utility-2] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.19.3 [build 8804 based on commit hash 1604fd8838b7914724c93701a43b3fd71ae845d9] - synchrony version 5.0.3
> 2022-11-21 09:12:32,170 INFO [Catalina-utility-2] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
> 2022-11-21 09:12:38,701 INFO [Catalina-utility-2] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
> 2022-11-21 09:12:59,304 INFO [Catalina-utility-2] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext initialized in 27134 ms
> 2022-11-21 09:13:00,951 INFO [Catalina-utility-2] [atlassian.plugin.manager.DefaultPluginManager] lambda$earlyStartup$5 Plugin system earlyStartup begun
> 2022-11-21 09:13:02,206 WARN [Catalina-utility-2] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-2-2-1.9.22-atlassian-2.jar and xerces-bridge-2-3-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-2-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-3-1.9.22-atlassian-2.jar'
> 2022-11-21 09:13:02,237 WARN [Catalina-utility-2] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-2-0-1.9.22-atlassian-2.jar and xerces-bridge-2-2-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-0-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-2-1.9.22-atlassian-2.jar'
> 2022-11-21 09:13:02,237 WARN [Catalina-utility-2] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'org.cyberneko.html.xercesbridge' with different versions. Files: xerces-bridge-1.9.22-atlassian-2.jar and xerces-bridge-2-0-1.9.22-atlassian-2.jar
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-1.9.22-atlassian-2.jar'
> 'C:\Atlassian\Confluence\Confluence_INSTALL\confluence\WEB-INF\lib\xerces-bridge-2-0-1.9.22-atlassian-2.jar'
> 2022-11-21 09:13:06,977 WARN [FelixStartLevel] [extender.internal.support.ExtenderConfiguration] addDefaultDependencyFactories Gemini Blueprint extensions bundle not present, annotation processing disabled.
> 2022-11-21 09:14:23,238 WARN [ThreadPoolAsyncTaskExecutor::Thread 17] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.user.UserKeyService' for component importation purposes. Skipping...
> 2022-11-21 09:14:23,254 WARN [ThreadPoolAsyncTaskExecutor::Thread 17] [scanner.runtime.impl.ComponentImportBeanFactoryPostProcessor] loadServiceClass Unable to load class 'com.atlassian.jira.util.I18nHelper' for component importation purposes. Skipping...
> 2022-11-21 09:14:43,910 INFO [Catalina-utility-2] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system earlyStartup ended
> 2022-11-21 09:14:44,769 INFO [Catalina-utility-2] [confluence.upgrade.impl.DefaultUpgradeManager] beforeUpgrade Generating pre-upgrade recovery file...
> 2022-11-21 09:14:45,191 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] begin Starting 
> 2022-11-21 09:14:45,253 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting DATABASE_INFORMATION 
> 2022-11-21 09:14:45,316 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing DATABASE_INFORMATION 
> 2022-11-21 09:14:45,316 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLE_DEFINITION 
> 2022-11-21 09:14:47,269 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing TABLE_DEFINITION 
> 2022-11-21 09:14:47,269 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] totalNumberOfTables Total number of tables: 226
> 2022-11-21 09:14:47,269 INFO [Catalina-utility-2] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLES_DATA 
> 2022-11-21 09:16:19,796 WARN [Catalina-utility-2] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
> ->[null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #940659765)
> ```
>
> Thanks to anyone who wants to help me


Answers:
author: AAMIR ANSARI
body: Hi [@Marco Vici](/t5/user/viewprofilepage/user-id/675951)

There are a couple of errors I see in the logs you have shared.

1. Communication link failure error

```
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59)
... 18 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
```

For this, please follow the resolution mentioned under the below KB. Basically, you will need to do some changes in the confluence.cfg.xl file.

* <https://confluence.atlassian.com/confkb/confluence-is-not-starting-with-mysql-and-confluence-java-11-1064089758.html>

2. Recovery file generation error

```
Caused by: com.atlassian.confluence.upgrade.recovery.DbDumpException: Problem with table "null": 
at com.atlassian.confluence.upgrade.recovery.RecoveryErrorService.newImportExportSqlException(RecoveryErrorService.java:21)
at com.atlassian.dbexporter.jdbc.JdbcUtils.withNoAutoCommit(JdbcUtils.java:57)
at com.atlassian.dbexporter.exporter.DataExporter.lambda$export$1(DataExporter.java:50)
at com.atlassian.dbexporter.jdbc.JdbcUtils.withConnection(JdbcUtils.java:29)
at com.atlassian.dbexporter.exporter.DataExporter.export(DataExporter.java:48)
at com.atlassian.dbexporter.DbExporter.exportData(DbExporter.java:65)
at com.atlassian.confluence.upgrade.recovery.DefaultRecoveryFileGenerator.lambda$generate$0(DefaultRecoveryFileGenerator.java:80)
```

For this, please follow the below KB to disable the recovery file generation during the upgrade. If you are taking database backup prior to the upgrade, then this step is not needed. You can disable it from the setenv.sh file.

* <https://confluence.atlassian.com/confkb/how-to-disable-upgrade-recovery-file-generation-in-confluence-1047534410.html>

I hope this helps.

Thanks,

Aamir

comments: author: Marco Vici
body: Hi Aamir,

Thank you very much for your reply.

I dealt with the links you provided but unfortunately they didn't solve the problem.

Googling again I came across a suggestion about increasing the Java memory pool size. I actually had such a kind of error in previous attempts, but not in the log I posted, that was the last attempt.

Anyway I wanted to try and unexpectdly it soleved my problem. I followed this guide:

<https://confluence.atlassian.com/confkb/how-to-fix-out-of-memory-errors-by-increasing-available-memory-154071.html>

I hope this can help someone else with the same problem.

Thanks again,

Marco


Tags: confluence-server

server