Changes for page MySQL Installation
Last modified by Thomas Mortagne on 2022/05/25
Change comment:
Rollback to version 19.2
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:Documentation.AdminGuide.Installation.InstallationWAR.WebHome1 +AdminGuide.Installation - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +XWiki.ahmettsdvn - Content
-
... ... @@ -9,41 +9,46 @@ 9 9 MyISAM (the default storage engine for MySQL) does not support transactions. If there is an error while data is being saved to the database, XWiki will attempt to rollback the transaction to its previous known good state. If you use MyISAM it will do nothing, leaving the database in whatever state it was in when the error occurred. 10 10 11 11 {{warning}} 12 -If you use MySQL with thedefault engine MyISAM, you will most likely corrupt your database.**We highly recommend using a storage engine such as InnoDB which supports transactions.**12 +If you use MySQL with default engine MyISAM, you will most likely corrupt your database.** We highly recommend using a storage engine such as InnoDB which supports transactions. 13 13 {{/warning}} 14 14 15 15 == MySQL versions older than 5.0 == 16 16 17 -XWiki does not fully work with MySQL versions 4.x or lower, due to several limitations of the way the SQL standards are implemented in MySQL, limited support for non-latin1 encodings, the flaky integration of Hibernate and MySQL 4, and other things. Most partsof the application work fine, but there are some parts that cannot be easily fixed, so if you must use MySQL 4.x, you're doing it on your own. MySQL 4 is pretty old and buggy sowe recommend upgrading.17 +XWiki does not fully work with MySQL versions 4.x or lower, due to several limitations of the way the SQL standards are implemented in MySQL, limited support for non-latin1 encodings, the flaky integration of Hibernate and MySQL 4, and other things. Most of the application works fine, but there are some parts that cannot be easily fixed, so if you must use MySQL 4.x, you're doing it on your own. Seriously, MySQL 4 is pretty old and buggy, you should consider upgrading. 18 18 19 19 = Installation Steps = 20 20 21 21 Follow these instructions: 22 22 23 -* Download and install [[MySQL>>http://www.mysql.com/]] 5.x or greater. 24 -* Start the MySQL server. You can do that in several ways. For example use {{code}}mysqld --console{{/code}} 25 -* Create the wiki database. You can use the name you want for the database, but you will have to set the hibernate configuration file and ##xwiki.cfg## file accordingly.((( 26 -You can create the database in several ways. For example use: 27 - 28 -{{code}} 29 -mysql -u root -e "create database xwiki default character set utf8 collate utf8_bin" 23 +* Download and install [[MySQL>>http://www.mysql.com/]] 5.X or greater. 24 +* Start the MySQL server. You can do that in several ways. For example:((( 25 +{{code language="none"}} 26 +mysqld --console 30 30 {{/code}} 31 31 ))) 32 -* Give privilegesto the##xwiki##userforaccessingandcreatingdatabases(forthemultiwiki support). Specificallythe##xwiki##users needs permissionstobebletoexecute {{code}}CREATEDATABASE{{/code}},{{code}}DROP SCHEMA{{/code}},andthenallCRUDoperationsontables.Notethat thecommandelowshould betunedto be more restrictiveas granting allpermissionsis notrequired:(((33 -{{code}} 34 -mysql -u root -e " grant all privilegeson *.* toxwiki@localhostidentifiedby 'xwiki'"29 +* Create the wiki database. You can use the name you want for the database, but you will have to set hibernate configuration file and xwiki.cfg file accordingly. You can create the database in several ways. For example:((( 30 +{{code language="none"}} 31 +mysql -u root -e "create database xwiki default character set utf8" 35 35 {{/code}} 36 36 ))) 37 -* If the abovecommandfailswith a password-does-not-meet-requirementserror,uninstalltheMySQL password_validateplugin orpickamorecomplexpasswordandupdatethe password usedbydefault in##hibernate.cfg.xml##:(((38 -{{code}} 39 -mysql -u root - p -e "uninstall pluginvalidate_password;"34 +* Give all privileges to the xwiki user for accessing the xwiki database. You can do that in several ways. For example (if you get connection problems try localhost instead of the IP address below):((( 35 +{{code language="none"}} 36 +mysql -u root -e "grant all privileges on xwiki.* to xwiki@localhost identified by 'xwiki'" 40 40 {{/code}} 41 -))) 42 -* Please make sure that the DNS-name "localhost" is defined in your hosts-file (i.e. ##/etc/hosts##) 43 -* You need to have the MySQL JDBC Driver JAR (named ##mysql-connector-java*.jar##) installed in XWiki's WAR file. If this file isn't present in XWiki's ##WEB-INF/lib## directory you'll need to download it and copy it there. You can download it from the [[MySQL Connector/J Driver page>>http://www.mysql.com/downloads/connector/j/]] or directly from the [[Maven Central Repository>>http://repo1.maven.org/maven2/mysql/mysql-connector-java/]].((( 38 + 44 44 {{warning}} 45 - You needthe5.x versionorhigher.The3.x versiondoesn'thandle Booleandatacorrectlyand will eitherthrow errors orwill makeall documents hidden by default.40 +If you're going to use Workspace Manager, you should also grant access to the database ##workspacetemplate## 46 46 {{/warning}} 42 + 43 +{{code language="none"}} 44 +mysql -u root -e "grant all privileges on workspacetemplate.* to xwiki@localhost identified by 'xwiki'" 45 +{{/code}} 46 + 47 +* Please make sure that the DNS-name "localhost" is defined in your hosts-file (i.e. /etc/hosts) 48 +* You need to have the MySQL JDBC Driver JAR (named ##mysql-connector-java*.jar##) installed in XWiki's WAR file. If this file isn't present in XWiki's ##WEB-INF/lib## directory you'll need to download it and copy it there. You can download it from the [[MySQL Connector/J Driver page>>http://www.mysql.com/products/connector/j/]] or directly from the [[Maven Central Repository>>http://repo1.maven.org/maven2/mysql/mysql-connector-java/]].((( 49 +{{warning}} 50 +You need the 5.x version or higher. The 3.x version doesn't handle Boolean data correctly and will either throw errors, or will make all documents hidden by default. 51 +{{/warning}} 47 47 ))) 48 48 * Now you need to tell XWiki to use MySQL. To do this, edit the ##WEB-INF/hibernate.cfg.xml## file where you have expanded the XWiki WAR file and replace the matching properties with the following ones:((( 49 49 {{code language="xml"}} ... ... @@ -52,81 +52,46 @@ 52 52 <property name="connection.password">xwiki</property> 53 53 <property name="connection.driver_class">com.mysql.jdbc.Driver</property> 54 54 <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> 55 -<property name="connection.useUnicode">true</property> 56 -<property name="connection.characterEncoding">UTF-8</property> 57 57 {{/code}} 61 +))) 58 58 59 59 {{info}} 60 -* By default MySQL only accepts packets that are smaller than 1MB. If you get the "Packet for query is too large (max_allowed_packet)" error then see the [[Packet too large error page>>http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html]]. For example to increase the packet size to 32M you could start the MySQL server with {{code}}mysqld --console --max_allowed_packet=32M{{/code}} or you can modify directly the ##my.cnf## configuration file to set this value permanently. 61 -* If an empty XWiki starts with no errors, but you are unable to upload the default set of pages (XAR file) try to increase the ##max_allowed_packet## parameter as shown above. 64 +By default MySQL only accepts packets that are smaller than 1MB. If you get the "Packet for query is too large (max_allowed_packet)" error then see the [[Packet too large error page>>http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html]]. For example to increase the packet size to 32M you could start the MySQL server with: 65 + 66 +((( 67 +{{code language="none"}} 68 +mysqld --console --max_allowed_packet=32M 69 +{{/code}} 70 +))) 62 62 {{/info}} 72 + 73 +((( 74 +{{info}} 75 +If an empty Xwiki starts with no errors, but you unable to upload the default set of pages (XAR file) also try to increase "max_allowed_packet" parameter as shown above. 76 +{{/info}} 63 63 ))) 64 64 65 -= Tips = 79 +{{warning}} 80 +XWiki does not create the Database Indexes automatically. You can use the [[Admin Tools Application>>extensions:Extension.AdminTools]] for that or [[create them manually>>AdminGuide.Database Administration]] 81 +{{/warning}} 82 +))) 66 66 67 -= =Convert a databasefrom latin1 (or collationutf8_ci) to utf8/utf8_bin==84 += Troubleshooting = 68 68 69 -{{code}} 70 -#!/bin/bash 86 +== Unable to login to MySQL Console == 71 71 72 -db=xwiki 73 -to_character_set=utf8 74 -to_collation=utf8_bin 88 +When running 75 75 76 -mysql_cmd="mysql -u root" 77 - 78 -$mysql_cmd -e "ALTER DATABASE $db CHARACTER SET utf8 COLLATE utf8_unicode_ci;" 79 - 80 -TBL_LIST=$($mysql_cmd -N -s -r -e "use $db;show tables;") 81 - 82 -for tbl_name in $TBL_LIST; 83 -do 84 -$mysql_cmd -e "alter table $db.$tbl_name convert to character set $to_character_set collate $to_collation;" 85 -done 86 - 87 -echo "Here the result of the operation:" 88 -$mysql_cmd -e "USE $db;SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLLATION_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA=DATABASE();" 90 +{{code language="none"}} 91 +mysql -u root -e "create database xwiki default character set utf8 89 89 {{/code}} 90 90 91 - == ConvertfromMyISAMtoInnoDB ==94 +you may get a 92 92 93 -{{code}} 94 -#!/bin/bash 95 - 96 -MYSQL_COMMAND=mysql 97 -TO_ENGINE=INNODB 98 - 99 -DATABASES=$(mysql -N -s -r -e 'show databases'|grep -v ^information_schema$|grep -v ^mysql$) 100 - 101 - 102 -for db in $DATABASES 103 -do 104 - 105 -echo "Working on database $db..." 106 -echo "" 107 - 108 -TABLES=$(mysql -N -s -r -e "show tables from $db;") 109 - 110 -for tb in $TABLES 111 -do 112 - 113 -$MYSQL_COMMAND -e "ALTER TABLE $db.$tb ENGINE = $TO_ENGINE;" 114 - 115 -done 116 - 117 -$MYSQL_COMMAND -e "SELECT table_name,Engine,table_collation FROM information_schema.tables WHERE table_schema = DATABASE();" 118 - 119 -echo "" 120 -echo "" 121 - 122 -done 96 +{{code language="none"}} 97 +ERROR 1045 (28000): Access denied for user 'xwiki'@'localhost' (using password: YES) 123 123 {{/code}} 124 124 125 -= Troubleshooting = 126 - 127 -== Unable to login to MySQL Console == 128 - 129 -When running {{code}}mysql -u root -e "create database xwiki default character set utf8{{/code}} you may get a {{code}}ERROR 1045 (28000): Access denied for user 'xwiki'@'localhost' (using password: YES){{/code}} error. 130 130 This means that you have a password set for the MySQL root user, but you are not specifying it in the console command. You must also use the //-p// parameter. Using this you will be prompted to enter the password and be allowed to login to the MySQL console and create the database. 131 131 132 132 == Can't create test file == ... ... @@ -133,7 +133,7 @@ 133 133 134 134 When running ##mysqld ~-~-console## you may get the following (especially if you're on a Mac): 135 135 136 -{{code}} 106 +{{code language="none"}} 137 137 071111 17:20:53 [Warning] Can't create test file /usr/local/mysql-5.0.45-osx10.4-i686/data/Vincent.lower-test 138 138 071111 17:20:53 [Warning] Can't create test file /usr/local/mysql-5.0.45-osx10.4-i686/data/Vincent.lower-test 139 139 mysqld: Can't change dir to '/usr/local/mysql-5.0.45-osx10.4-i686/data/' (Errcode: 13) ... ... @@ -140,9 +140,9 @@ 140 140 071111 17:20:53 [ERROR] Aborting 141 141 {{/code}} 142 142 143 -To start MySQL run the following commandinstead:113 +To start MySQL run the following instead: 144 144 145 -{{code}} 115 +{{code language="none"}} 146 146 sudo /usr/local/mysql/bin/mysqld_safe --user=mysql 147 147 {{/code}} 148 148 ... ... @@ -150,7 +150,7 @@ 150 150 151 151 If you receive an Exception like the following while installing/upgrading XWiki, chances are that you are using an outdated version of MySQLConnectorJ. 152 152 153 -{{code}} 123 +{{code language="none"}} 154 154 Caused by: java.sql.BatchUpdateException: Data truncation: Out of 155 155 range value adjusted for column 'XWD_HIDDEN' at row 1 156 156 at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:894) ... ... @@ -166,7 +166,8 @@ 166 166 167 167 == HTTP 500 Error == 168 168 169 -{{code}} 139 +((( 140 +{{code language="none"}} 170 170 HTTP Status 500 - 171 171 172 172 type Exception report ... ... @@ -189,63 +189,6 @@ 189 189 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute 190 190 Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. 191 191 {{/code}} 163 +))) 192 192 193 -In this case, try to disable **skip-networking** in MySQL *.ini file. Thanks a lot //M Rawash// (see his comment below). 194 - 195 -== Unknown database 'xwiki' == 196 - 197 -If you get the following error: 198 - 199 -{{code language="none"}} 200 -Caused by: class com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'xwiki' 201 - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 202 - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 203 - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 204 - at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 205 - at com.mysql.jdbc.Util.handleNewInstance(Util.java:408) 206 - at com.mysql.jdbc.Util.getInstance(Util.java:383) 207 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1062) 208 - at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226) 209 - at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158) 210 - at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615) 211 - at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776) 212 - at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2834) 213 - at com.mysql.jdbc.ConnectionImpl.setCatalog(ConnectionImpl.java:5456) 214 - at org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:374) 215 - at org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:374) 216 - at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setCatalog(PoolingDataSource.java:333) 217 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 218 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 219 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 220 - at java.lang.reflect.Method.invoke(Method.java:606) 221 - at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:74) 222 - at com.sun.proxy.$Proxy47.setCatalog(Unknown Source) 223 - at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:729) 224 - at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) 225 - at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) 226 - at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:830) 227 -... 228 -{{/code}} 229 - 230 -It means that XWiki could connect to your database but there's no ##xwiki## schema available there. This is the default name of the schema XWiki is looking for, for the main wiki database. 231 - 232 -It probably means you've created a database named other than ##xwiki## (for example you might have created a database named ##abcd## and set the following connection URL in your ##hibernate.cfg## file: {{code language="none"}}<property name="connection.url">jdbc:mysql://localhost/abcd</property>{{/code}}). 233 - 234 -If this is the case [[you need to tell XWiki that you're using a different schema by setting the ##xwiki.db## configuration property>>platform:AdminGuide.Configuration#HConfigurethenamesofdatabaseschemas]]. 235 - 236 -== MySQLSyntaxErrorException: Row size too large (> 8126) == 237 - 238 -if you get the following error: 239 - 240 -{{code language="none"}} 241 -MySQLSyntaxErrorException: Row size too large (> 8126). 242 -Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. 243 -In current row format, BLOB prefix of 768 bytes is stored inline. 244 -{{/code}} 245 - 246 -When you are using a MySQL Server 5.6.20 you can get a "row size too large error." 247 -In the release notes, it is explained that a innodb_log_file_size which is too small will trigger a "Row size too large error." 248 - 249 -You can solve the problem by changing the innodb_log_file_size in the my.ini text file. 250 -Find more details in the link below. 251 -http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html 165 +In this case, try to disable **skip-networking** in MySQL *.ini file. Thanks a lot M Rawash for saved time (see his comment below).
- XWiki.XWikiComments[8]
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.MarkHeptinstall - Comment
-
... ... @@ -1,13 +1,0 @@ 1 -The sample hibernate.cfg.xml in this article suggests the following line: 2 - 3 -{{code}} 4 -<property name="connection.url">jdbc:mysql://localhost/xwiki</property> 5 -{{/code}} 6 - 7 -Though the hibernate.cfg.xml that comes with 4.3 RC1 has this: 8 - 9 -{{code}} 10 -<property name="connection.url">jdbc:mysql://localhost/xwiki ?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8</property> 11 -{{/code}} 12 - 13 -Which should we be using? - Date
-
... ... @@ -1,1 +1,0 @@ 1 -2012-11-24 18:26:54.0
- XWiki.XWikiComments[9]
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.loomchild - Comment
-
... ... @@ -1,4 +1,0 @@ 1 -The article does not mention that you need to tell hibernate that your database is UTF, otherwise characters will not be stored correctly. You can do it by adding these lines to ##WEB-INF/hibernate.cfg.xml##: 2 -## <property name="connection.useUnicode">true</property> 3 - <property name="connection.characterEncoding">UTF-8</property>## 4 -(probably alternative syntax in above comment will also work, haven't checked) - Date
-
... ... @@ -1,1 +1,0 @@ 1 -2013-02-07 14:29:43.0
- XWiki.XWikiComments[10]
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.juannicolas - Comment
-
... ... @@ -1,14 +1,0 @@ 1 -running ##{{{mysql -u root -e "grant all privileges on xwiki.* to xwiki@localhost identified by 'xwiki'"}}}## will give you problems due to xwiki requires to run CREATE, DELETE on mysql. That's why the documentation tell you to ##{{{run mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified by 'xwiki'"}}}##. 2 - 3 -If you don't want to give full access to whole mysql schema you could run instead: 4 - 5 -{{code language="none"}} 6 -mysql -u root -e "grant SELECT,CREATE,DELETE on *.* to xwiki@localhost identified by 'xwiki'" 7 -{{/code}} 8 - 9 -and then 10 - 11 -{{code language="none"}} 12 -mysql -u root -e "grant all privileges on xwiki.* to xwiki@localhost identified by 'xwiki'" 13 -{{/code}} 14 - - Date
-
... ... @@ -1,1 +1,0 @@ 1 -2014-03-10 23:36:40.0
- XWiki.XWikiComments[11]
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.jirib - Comment
-
... ... @@ -1,57 +1,0 @@ 1 -should mariadb work with xwiki? i tried it with mariadb-java-client-1.6.3.jar but i get ERRORS. 2 - 3 -{{{ 4 -<property name="connection.url">jdbc:mariadb://localhost/xwiki?useSSL=false</property> 5 - <property name="connection.username">xwiki</property> 6 - <property name="connection.password">xwiki</property> 7 - <property name="connection.driver_class">org.mariadb.jdbc.Driver</property> 8 - <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> 9 - 10 - <property name="connection.useUnicode">true</property> 11 -<property name="connection.characterEncoding">UTF-8</property> 12 -}}} 13 - 14 -{{{ 15 -2017-08-16 23:05:22,296 [XWiki initialization] ERROR o.h.i.SessionFactoryImpl - Error in named query: listGroupsForUserInOtherWiki 16 -org.hibernate.hql.ast.QuerySyntaxException: XWikiDocument is not mapped [ 17 - select distinct doc.fullName from XWikiDocument as doc, BaseObject as obj, StringProperty as prop 18 - where obj.name = doc.fullName 19 - and obj.className='XWiki.XWikiGroups' 20 - and obj.id = prop.id.id and prop.id.name='member' 21 - and prop.value=:prefixedmembername 22 - ] 23 - at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) 24 - at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:111) 25 - at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:93) 26 - at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:327) 27 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3441) 28 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3325) 29 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:733) 30 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:584) 31 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) 32 - at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:244) 33 - at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:256) 34 - at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187) 35 - at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) 36 - at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) 37 - at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) 38 - at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124) 39 - at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:549) 40 - at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:413) 41 - at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) 42 - at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:266) 43 - at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:710) 44 - at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:863) 45 - at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280) 46 - at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1830) 47 - at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1871) 48 - at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1288) 49 - at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1262) 50 - at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1201) 51 - at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1116) 52 - at com.xpn.xwiki.XWiki.<init>(XWiki.java:1089) 53 - at com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117) 54 - at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206) 55 - at org.xwiki.job.AbstractJob.run(AbstractJob.java:189) 56 - at java.lang.Thread.run(Thread.java:745) 57 -}}} - Date
-
... ... @@ -1,1 +1,0 @@ 1 -2017-08-16 23:18:16.0