2019-05-08 17:11:53.088:INFO:oejs.Server:main: jetty-9.4.8.v20171121, build timestamp: 2017-11-21T23:27:37+02:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8 2019-05-08 17:11:53.120:INFO:oejs.AbstractNCSARequestLog:main: Opened C:\LUCRU VM\XWIKI 11.3\xwiki-platform-distribution-flavor-jetty-hsqldb-11.3 MySQL\data\logs\2019_05_08.request.log 2019-05-08 17:11:53.135:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///C:/LUCRU%20VM/XWIKI%2011.3/xwiki-platform-distribution-flavor-jetty-hsqldb-11.3%20MySQL/jetty/contexts/] at interval 0 2019-05-08 17:11:53.386:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0 2019-05-08 17:11:53.399:INFO:oejs.session:main: No SessionScavenger set, using defaults 2019-05-08 17:11:53.401:INFO:oejs.session:main: Scavenging every 600000ms 2019-05-08 17:11:53.462:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@cb644e{/,file:///C:/LUCRU%20VM/XWIKI%2011.3/xwiki-platform-distribution-flavor-jetty-hsqldb-11.3%20MySQL/webapps/root/,AVAILABLE}{/root} 2019-05-08 17:13:34,332 [main] INFO iPropertiesConfigurationSource - loading xwiki.properties from file:/C:/LUCRU%20VM/XWIKI%2011.3/xwiki-platform-distribution-flavor-jetty-hsqldb-11.3%20MySQL/webapps/xwiki/WEB-INF/xwiki.properties 2019-05-08 17:13:34,593 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [data] 2019-05-08 17:13:42,922 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2019-05-08 17:13:42,937 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [data\solr] 2019-05-08 17:13:46,171 [coreLoadExecutor-6-thread-1] WARN o.a.s.c.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly. 2019-05-08 17:13:49,110 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 2019-05-08 17:13:51.827:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@23fe1d71{/xwiki,file:///C:/LUCRU%20VM/XWIKI%2011.3/xwiki-platform-distribution-flavor-jetty-hsqldb-11.3%20MySQL/webapps/xwiki/,AVAILABLE}{/xwiki} 2019-05-08 17:13:51.937:INFO:oejs.AbstractConnector:main: Started ServerConnector@67cd193d{HTTP/1.1,[http/1.1]}{0.0.0.0:1131} 2019-05-08 17:13:51.937:INFO:oejs.Server:main: Started @124623ms 2019-05-08 17:13:51.937:INFO:oxtjl.NotifyListener:main: ---------------------------------- 2019-05-08 17:13:51.937:INFO:oxtjl.NotifyListener:main: Server started, you can now open http://10.0.2.15:1131/ in your browser to access your wiki. 2019-05-08 17:13:51.937:INFO:oxtjl.NotifyListener:main: ---------------------------------- Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2019-05-08 17:14:03,015 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 2019-05-08 17:14:30,623 [XWiki initialization] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled 2019-05-08 17:14:31,171 [XWiki initialization] INFO .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] currently in version [1130000] 2019-05-08 17:14:31,171 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 2019-05-08 17:14:44,723 [XWiki initialization] INFO ationFilterPreferencesMigrator - Wiki [xwiki] has already been migrated. 2019-05-08 17:14:44,840 [org.xwiki.search.solr.internal.job.IndexerJob@5169ca87([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 2019-05-08 17:14:46,072 [org.xwiki.search.solr.internal.job.IndexerJob@5169ca87([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - 7 documents added, 0 deleted and 0 updated during the synchronization of the Solr index. 2019-05-08 17:14:46,079 [org.xwiki.search.solr.internal.job.IndexerJob@5169ca87([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]] 2019-05-08 17:15:14.132:INFO:oejshC.xwiki:http://localhost:1131/xwiki/rest/jobstatus/flavor/search/wiki%3Axwiki: RestletServlet: [Restlet] ServerServlet: component class is null 2019-05-08 17:15:22.527:INFO:oejshC.xwiki:http://localhost:1131/xwiki/rest/jobstatus/flavor/search/wiki%3Axwiki: RestletServlet: [Restlet] Attaching application: org.xwiki.rest.internal.XWikiRestletJaxRsApplication@4227c59c to URI: /xwiki/rest 2019-05-08 17:34:44,506 [http://localhost:1131/xwiki/bin/get/WikiManager/WikisLiveTableResults?outputSyntax=plain&transprefix=platform.wiki.browse.&classname=XWiki.XWikiServerClass&collist=wikiprettyname%2Cdescription%2Cowner%2Cdoc.creationDate%2CmembershipType&queryFilters=currentlanguage%2Chidden&offset=1&limit=10&reqNo=1&sort=wikiprettyname&dir=asc] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 13:xwiki:WikiManager.WikisLiveTableResults@276,47 2019-05-08 17:34:59,217 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:01,023 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:01,026 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:01,078 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:01,111 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.NotificationFilterDisplayerClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:01,160 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:02,002 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:02,003 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:02,008 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:02,014 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.WikiMacroParameterClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:02,034 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:03,048 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:03,048 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:03,054 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:03,054 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.NotificationEmailRendererClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:03,090 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:03,883 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:03,884 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:03,897 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:03,928 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiSkinFileOverrideClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:03,970 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:04,732 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:04,733 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:04,738 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:04,750 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.RedirectClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:04,796 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:05,589 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:05,589 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:05,589 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:05,589 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:Panels.PanelClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:05,630 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:06,442 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:06,443 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:06,444 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:06,444 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.EditModeClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:06,480 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:07,241 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:07,243 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:07,246 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:07,250 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiUsers] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:07,283 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:07,999 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:08,000 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:08,005 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:08,009 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:WikiManager.WikiCandidateMemberClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:08,060 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:08,773 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:08,773 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:08,773 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:08,789 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.EditorBindingClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:08,805 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:09,512 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:09,512 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:09,516 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:09,523 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.TranslationDocumentClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:09,557 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:10,293 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:10,293 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:10,293 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:10,293 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.TagClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:10,337 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:11,100 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:11,101 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:11,104 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:11,109 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.ToggleableFilterPreferenceClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:11,136 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:11,877 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:11,877 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:11,893 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:11,893 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiPreferences] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:11,941 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:12,640 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:12,640 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:12,640 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:12,640 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.NotificationPreferenceClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:12,672 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:13,659 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:13,662 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:13,705 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:13,756 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.NotificationDisplayerClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:13,834 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:14,778 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:14,787 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:14,790 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:14,795 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.UIExtensionClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:14,813 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:15,633 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:15,633 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:15,639 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:15,645 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.SchedulerJobClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:15,660 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:16,410 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:16,411 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:16,419 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:16,426 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.EditorClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:16,458 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:17,225 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:17,227 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:17,239 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:17,244 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.StyleSheetExtension] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:17,294 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:18,090 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:18,090 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:18,090 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:18,090 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiGlobalRights] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:18,129 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:18,977 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:18,978 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:18,985 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:19,012 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:Crypto.CertificateClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:19,079 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:19,874 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:19,879 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:19,883 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:19,907 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.AutomaticWatchModeClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:19,949 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:20,668 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:20,668 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:20,684 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:20,684 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:Crypto.PrivateKeyClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:20,740 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:21,454 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:21,455 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:21,459 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:21,461 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Notifications.Code.NotificationEmailPreferenceClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:21,478 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:22,195 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:22,196 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:22,202 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:22,213 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.JavaScriptExtension] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:22,251 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:23,137 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:23,138 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:23,142 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:23,147 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.EventStream.Code.EventClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:23,170 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:23,929 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:23,929 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:23,933 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:23,948 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.Mail] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:24,007 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:24,684 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:24,684 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:24,684 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:24,699 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:Crypto.SignatureClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:24,699 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:25,417 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:25,418 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:25,421 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:211) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:221) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:274) at org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120) at org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:68) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1380) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 28 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 30 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 36 common frames omitted 2019-05-08 17:35:25,436 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .AnnotationConfigurationSource - Failed to access configuration property com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:AnnotationCode.AnnotationConfig] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:211) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:221) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:274) at org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120) at org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:68) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1380) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 17 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 21 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 23 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 28 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 30 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 36 common frames omitted 2019-05-08 17:35:25,467 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:26,240 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:26,241 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:26,244 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:26,261 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiComments] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:26,293 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:27,053 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:27,054 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:27,054 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:27,054 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:WikiManager.WikiUserClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:27,092 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:27,793 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:27,809 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:27,812 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:27,826 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiAllGroup] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:27,860 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:28,572 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:28,574 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:28,574 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:28,574 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiGroups] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:28,614 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:29,288 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:29,288 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:29,288 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:29,288 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.WikiMacroClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:29,330 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:30,042 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:30,045 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:30,047 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:30,052 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiComments] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:30,093 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:30,856 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:30,856 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:30,856 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:30,856 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiSkins] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:30,906 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:31,583 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:31,598 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:31,607 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:31,623 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.SheetClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:31,652 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:32,369 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:32,369 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:32,384 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:32,384 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR c.x.x.XWiki - Failed to initialize mandatory document com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiRights] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1383) at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1350) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:108) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 11 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 15 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 17 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 22 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 24 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 30 common frames omitted 2019-05-08 17:35:32,420 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:33,127 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:33,127 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:33,132 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2107) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:294) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.virtualInit(AbstractDocumentSkinExtensionPlugin.java:160) at com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin.virtualInit(JsSkinExtensionPlugin.java:81) at com.xpn.xwiki.plugin.XWikiPluginManager.virtualInit(XWikiPluginManager.java:166) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:113) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 24 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 26 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 32 common frames omitted 2019-05-08 17:35:33,146 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR actDocumentSkinExtensionPlugin - Cannot get skin extension class [XWiki.JavaScriptExtension] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.JavaScriptExtension] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2107) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:294) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.virtualInit(AbstractDocumentSkinExtensionPlugin.java:160) at com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin.virtualInit(JsSkinExtensionPlugin.java:81) at com.xpn.xwiki.plugin.XWikiPluginManager.virtualInit(XWikiPluginManager.java:166) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:113) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 13 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 17 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 19 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 24 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 26 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 32 common frames omitted 2019-05-08 17:35:33,201 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:33,886 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:33,886 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:33,886 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2107) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:294) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.virtualInit(AbstractDocumentSkinExtensionPlugin.java:160) at com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin.virtualInit(CssSkinExtensionPlugin.java:73) at com.xpn.xwiki.plugin.XWikiPluginManager.virtualInit(XWikiPluginManager.java:166) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:113) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 24 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 26 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 32 common frames omitted 2019-05-08 17:35:33,900 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR actDocumentSkinExtensionPlugin - Cannot get skin extension class [XWiki.StyleSheetExtension] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.StyleSheetExtension] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2107) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.getExtensionClass(AbstractDocumentSkinExtensionPlugin.java:294) at com.xpn.xwiki.plugin.skinx.AbstractDocumentSkinExtensionPlugin.virtualInit(AbstractDocumentSkinExtensionPlugin.java:160) at com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin.virtualInit(CssSkinExtensionPlugin.java:73) at com.xpn.xwiki.plugin.XWikiPluginManager.virtualInit(XWikiPluginManager.java:166) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:113) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 13 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 17 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 19 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 24 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 26 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 32 common frames omitted 2019-05-08 17:35:33,900 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:34,861 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:34,861 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:34,861 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1940) at org.xwiki.component.wiki.internal.DefaultWikiComponentBuilderEventListener.installOrUpdateComponentXClass(DefaultWikiComponentBuilderEventListener.java:134) at org.xwiki.component.wiki.internal.DefaultWikiComponentBuilderEventListener.onEvent(DefaultWikiComponentBuilderEventListener.java:94) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 25 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 27 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 33 common frames omitted 2019-05-08 17:35:34,878 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR iComponentBuilderEventListener - Failed to install or update wiki component XClasses com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.ComponentClass] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1940) at org.xwiki.component.wiki.internal.DefaultWikiComponentBuilderEventListener.installOrUpdateComponentXClass(DefaultWikiComponentBuilderEventListener.java:134) at org.xwiki.component.wiki.internal.DefaultWikiComponentBuilderEventListener.onEvent(DefaultWikiComponentBuilderEventListener.java:94) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 14 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 18 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 20 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 25 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 27 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 33 common frames omitted 2019-05-08 17:35:34,912 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:35,617 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:35,618 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:35,622 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1940) at org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroInitializer.installOrUpgradeWikiMacroClasses(DefaultWikiMacroInitializer.java:244) at org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroInitializer.registerMacrosForWiki(DefaultWikiMacroInitializer.java:171) at org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:146) at org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:115) at org.xwiki.rendering.internal.macro.wikibridge.WikiMacroInitializerListener.onEvent(WikiMacroInitializerListener.java:97) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 28 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 30 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 36 common frames omitted 2019-05-08 17:35:35,626 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN .i.DefaultWikiMacroInitializer - Failed to register macros for wiki [subwikiglobal]: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.WikiMacroClass] 2019-05-08 17:35:35,652 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:36,331 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:36,331 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:36,331 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:288) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2701) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2740) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2684) at com.xpn.xwiki.XWiki.getAvailableLocales(XWiki.java:3093) at org.xwiki.search.solr.internal.SolrIndexAvailableLocalesListener.onEvent(SolrIndexAvailableLocalesListener.java:136) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 32 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 34 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 40 common frames omitted 2019-05-08 17:35:36,347 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR PreferencesConfigurationSource - Failed to access configuration property com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiPreferences] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:288) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2701) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2740) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2684) at com.xpn.xwiki.XWiki.getAvailableLocales(XWiki.java:3093) at org.xwiki.search.solr.internal.SolrIndexAvailableLocalesListener.onEvent(SolrIndexAvailableLocalesListener.java:136) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 21 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 25 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 27 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 32 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 34 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 40 common frames omitted 2019-05-08 17:35:36,385 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:37,186 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:37,188 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:37,192 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:288) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2701) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2740) at com.xpn.xwiki.XWiki.getDefaultLocale(XWiki.java:3066) at com.xpn.xwiki.XWiki.getAvailableLocales(XWiki.java:3108) at org.xwiki.search.solr.internal.SolrIndexAvailableLocalesListener.onEvent(SolrIndexAvailableLocalesListener.java:136) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 32 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 34 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 40 common frames omitted 2019-05-08 17:35:37,201 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR PreferencesConfigurationSource - Failed to access configuration property com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiPreferences] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:288) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2701) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2740) at com.xpn.xwiki.XWiki.getDefaultLocale(XWiki.java:3066) at com.xpn.xwiki.XWiki.getAvailableLocales(XWiki.java:3108) at org.xwiki.search.solr.internal.SolrIndexAvailableLocalesListener.onEvent(SolrIndexAvailableLocalesListener.java:136) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 21 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 25 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 27 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 32 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 34 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 40 common frames omitted 2019-05-08 17:35:37,241 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:38,148 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:38,149 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:38,150 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.containsKey(AbstractDocumentConfigurationSource.java:196) at org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45) at org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.getProperty(AbstractCompositeConfigurationSource.java:95) at org.xwiki.eventstream.store.internal.LegacyEventStreamStoreConfiguration.getNumberOfDaysToKeep(LegacyEventStreamStoreConfiguration.java:104) at org.xwiki.eventstream.store.internal.EventStreamCleanerJobDocumentInitializer.onEvent(EventStreamCleanerJobDocumentInitializer.java:201) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 31 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 33 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 39 common frames omitted 2019-05-08 17:35:38,150 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR PreferencesConfigurationSource - Failed to access configuration property com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [subwikiglobal:XWiki.XWikiPreferences] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:1040) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:353) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1980) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:2042) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:323) at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.containsKey(AbstractDocumentConfigurationSource.java:196) at org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45) at org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.getProperty(AbstractCompositeConfigurationSource.java:95) at org.xwiki.eventstream.store.internal.LegacyEventStreamStoreConfiguration.getNumberOfDaysToKeep(LegacyEventStreamStoreConfiguration.java:104) at org.xwiki.eventstream.store.internal.EventStreamCleanerJobDocumentInitializer.onEvent(EventStreamCleanerJobDocumentInitializer.java:201) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:682) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:912) ... 20 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 24 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 26 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 31 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 33 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 39 common frames omitted 2019-05-08 17:35:38,150 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:38,862 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:38,862 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:38,862 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:38,862 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [Object XWiki.Notifications.Code.NotificationFilterDisplayerClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:38,920 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:39,680 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:39,695 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:39,696 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:39,696 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [XWiki.Notifications.Code.NotificationEmailRendererClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:39,712 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:40,455 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:40,456 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:40,457 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:40,457 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [XWiki.Notifications.Code.NotificationDisplayerClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:40,457 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:41,158 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:41,158 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:41,158 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:41,158 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [XWiki.UIExtensionClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:41,190 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:42,047 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:42,048 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:42,053 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:42,066 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [Panels.PanelClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:42,082 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:42,781 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:42,783 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:42,786 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.component.wiki.internal.bridge.WikiObjectComponentManagerEventListenerProxy.registerAllObjectComponents(WikiObjectComponentManagerEventListenerProxy.java:128) at org.xwiki.component.wiki.internal.bridge.DefaultWikiObjectComponentManagerEventListener.onEvent(DefaultWikiObjectComponentManagerEventListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 29 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 31 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 37 common frames omitted 2019-05-08 17:35:42,786 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN onentManagerEventListenerProxy - Unable to register the components for [XWiki.EventStream.Code.EventClass] XObjects: SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:42,849 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:43,643 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:43,643 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:43,648 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.loadTranslations(DocumentTranslationBundleFactory.java:227) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$200(DocumentTranslationBundleFactory.java:86) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$2.onEvent(DocumentTranslationBundleFactory.java:177) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 30 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 32 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 38 common frames omitted 2019-05-08 17:35:43,653 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR cumentTranslationBundleFactory - Failed to load existing translations org.xwiki.query.QueryException: Exception while executing query. Query statement = [ select distinct doc.fullName from XWikiDocument as doc , BaseObject as translation WHERE 1=1 and doc.fullName=translation.name and translation.className='XWiki.TranslationDocumentClass' ] at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:195) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:124) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.loadTranslations(DocumentTranslationBundleFactory.java:227) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$200(DocumentTranslationBundleFactory.java:86) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$2.onEvent(DocumentTranslationBundleFactory.java:177) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database subwikiglobal at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:345) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) ... 16 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database subwikiglobal seems to be not writable, please check your configuration! at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) ... 23 common frames omitted Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ... 25 common frames omitted Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 30 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 32 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 38 common frames omitted 2019-05-08 17:35:43,671 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:44,450 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:44,454 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:44,478 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:637) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:920) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:990) at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:177) at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296) at org.xwiki.edit.internal.EditorWikiComponentBuilder.getDocumentReferences(EditorWikiComponentBuilder.java:91) at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.registerAllDocumentComponents(DefaultWikiComponentManagerEventListener.java:124) at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.onEvent(DefaultWikiComponentManagerEventListener.java:111) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 27 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 29 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 35 common frames omitted 2019-05-08 17:35:44,504 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN e.i.EditorWikiComponentBuilder - Failed to query the editors defined in wiki pages. Root cause: [SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist] 2019-05-08 17:35:44,565 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [subwikiglobal] 2019-05-08 17:35:45,223 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 2019-05-08 17:35:45,225 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR o.h.u.JDBCExceptionReporter - Table 'subwikiglobal.xwikidbversion' doesn't exist 2019-05-08 17:35:45,228 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .HibernateDataMigrationManager - The empty database subwikiglobal seems to be not writable, please check your configuration! com.xpn.xwiki.store.migration.DataMigrationException: Unable to store new data version 1130000 into database subwikiglobal at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:165) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.updateMigrationStatus(AbstractDataMigrationManager.java:509) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(AbstractDataMigrationManager.java:470) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:140) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:339) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.setWiki(HibernateStore.java:302) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:472) at com.xpn.xwiki.internal.store.hibernate.HibernateStore.beginTransaction(HibernateStore.java:422) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:652) at com.xpn.xwiki.store.XWikiHibernateStore.searchGenericInternal(XWikiHibernateStore.java:2638) at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentReferencesInternal(XWikiHibernateStore.java:2600) at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentReferences(XWikiHibernateStore.java:2328) at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentReferences(XWikiHibernateStore.java:2313) at com.xpn.xwiki.store.XWikiCacheStore.searchDocumentReferences(XWikiCacheStore.java:470) at org.xwiki.component.wiki.internal.DefaultWikiComponentBuilder.getDocumentReferences(DefaultWikiComponentBuilder.java:92) at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.registerAllDocumentComponents(DefaultWikiComponentManagerEventListener.java:124) at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.onEvent(DefaultWikiComponentManagerEventListener.java:111) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:309) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:274) at com.xpn.xwiki.internal.WikiInitializerJob.runInternal(WikiInitializerJob.java:120) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236) at org.xwiki.job.AbstractJob.run(AbstractJob.java:213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:927) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1036) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBVersionToDatabase(HibernateDataMigrationManager.java:153) ... 27 common frames omitted Caused by: org.hibernate.exception.SQLGrammarException: could not execute update query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110) at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:423) at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283) at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288) at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117) at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doInHibernate(HibernateDataMigrationManager.java:158) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:921) ... 29 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table 'subwikiglobal.xwikidbversion' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:955) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1094) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1042) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1345) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1027) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101) ... 35 common frames omitted 2019-05-08 17:35:45,242 [com.xpn.xwiki.internal.WikiInitializerJob@163c96af([initialization, wiki, subwikiglobal])] ERROR .i.DefaultWikiComponentBuilder - Failed to search for existing wiki components [Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.fullName from XWikiDocument as doc , BaseObject as obj, StringProperty as role where obj.className=? and obj.name=doc.fullName and role.id.id=obj.id and role.id.name=? and (role.value <> '' or (role.value is not null and '' is null))]] 2019-05-08 17:37:18.992:INFO:oxtjl.NotifyListener:Thread-1: ---------------------------------- 2019-05-08 17:37:18.993:INFO:oxtjl.NotifyListener:Thread-1: Server stopping, please wait while all resources are closed... 2019-05-08 17:37:19.181:INFO:oejs.AbstractConnector:Thread-1: Stopped ServerConnector@67cd193d{HTTP/1.1,[http/1.1]}{0.0.0.0:1131} 2019-05-08 17:37:19.182:INFO:oejs.session:Thread-1: Stopped scavenging 2019-05-08 17:37:20.593:INFO:oejsh.ContextHandler:Thread-1: Stopped o.e.j.w.WebAppContext@23fe1d71{/xwiki,null,UNAVAILABLE}{/xwiki} 2019-05-08 17:37:20.614:INFO:oejsh.ContextHandler:Thread-1: Stopped o.e.j.w.WebAppContext@cb644e{/,null,UNAVAILABLE}{/root} 2019-05-08 17:37:20.628:INFO:oxtjl.NotifyListener:Thread-1: Done!