Changes for page MySQL Installation

Last modified by Thomas Mortagne on 2023/11/16

<
From version < 43.3 >
edited by Vincent Massol
on 2018/07/10
To version < 44.1 >
edited by Vincent Massol
on 2018/07/10
>
Change comment: Rollback to version 39.7

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -AdminGuide.Installation
1 +xwiki:Documentation.AdminGuide.Installation.InstallationWAR.WebHome
Content
... ... @@ -9,48 +9,43 @@
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 default 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 the 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 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.
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 parts of 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 so we recommend 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:(((
25 -{{code language="none"}}
26 -mysqld --console
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"
27 27  {{/code}}
28 28  )))
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"
32 +* Give privileges to the ##xwiki## user for accessing and creating databases (for the multi wiki support). Specifically the ##xwiki## users needs permissions to be able to execute {{code}}CREATE DATABASE{{/code}}, {{code}}DROP SCHEMA{{/code}}, and then all CRUD operations on tables. Note that the command below should be tuned to be more restrictive as granting all permissions is not required:(((
33 +{{code}}
34 +mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified by 'xwiki'"
32 32  {{/code}}
33 33  )))
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'"
37 +* If the above command fails with a password-does-not-meet-requirements error, uninstall the MySQL password_validate plugin or pick a more complex password and update the password used by default in ##hibernate.cfg.xml##:(((
38 +{{code}}
39 +mysql -u root -p -e "uninstall plugin validate_password;"
37 37  {{/code}}
38 -
39 -{{warning}}
40 -If you're going to use Workspace Manager, you should also grant access to the database ##workspacetemplate##
41 -{{/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 -
41 +)))
47 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/]].(((
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/]].(((
49 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.
45 +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 51  {{/warning}}
52 52  )))
53 -* 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 (you can also comment out the HSQLDB part and uncomment the MySQL one):(((
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:(((
54 54  {{code language="xml"}}
55 55  <property name="connection.url">jdbc:mysql://localhost/xwiki</property>
56 56  <property name="connection.username">xwiki</property>
... ... @@ -57,46 +57,81 @@
57 57  <property name="connection.password">xwiki</property>
58 58  <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
59 59  <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
55 +<property name="connection.useUnicode">true</property>
56 +<property name="connection.characterEncoding">UTF-8</property>
60 60  {{/code}}
61 -)))
62 62  
63 63  {{info}}
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 -)))
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.
71 71  {{/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}}
77 77  )))
78 78  
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 -)))
65 += Tips =
83 83  
84 -= Troubleshooting =
67 +== Convert a database from latin1 (or collation utf8_ci) to utf8/utf8_bin ==
85 85  
86 -== Unable to login to MySQL Console ==
69 +{{code}}
70 +#!/bin/bash
87 87  
88 -When running
72 +db=xwiki
73 +to_character_set=utf8
74 +to_collation=utf8_bin
89 89  
90 -{{code language="none"}}
91 -mysql -u root -e "create database xwiki default character set utf8
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();"
92 92  {{/code}}
93 93  
94 -you may get a
91 +== Convert from MyISAM to InnoDB ==
95 95  
96 -{{code language="none"}}
97 -ERROR 1045 (28000): Access denied for user 'xwiki'@'localhost' (using password: YES)
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
98 98  {{/code}}
99 99  
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.
100 100  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.
101 101  
102 102  == Can't create test file ==
... ... @@ -103,7 +103,7 @@
103 103  
104 104  When running ##mysqld ~-~-console## you may get the following (especially if you're on a Mac):
105 105  
106 -{{code language="none"}}
136 +{{code}}
107 107  071111 17:20:53 [Warning] Can't create test file /usr/local/mysql-5.0.45-osx10.4-i686/data/Vincent.lower-test
108 108  071111 17:20:53 [Warning] Can't create test file /usr/local/mysql-5.0.45-osx10.4-i686/data/Vincent.lower-test
109 109  mysqld: Can't change dir to '/usr/local/mysql-5.0.45-osx10.4-i686/data/' (Errcode: 13)
... ... @@ -110,9 +110,9 @@
110 110  071111 17:20:53 [ERROR] Aborting
111 111  {{/code}}
112 112  
113 -To start MySQL run the following instead:
143 +To start MySQL run the following command instead:
114 114  
115 -{{code language="none"}}
145 +{{code}}
116 116  sudo /usr/local/mysql/bin/mysqld_safe --user=mysql
117 117  {{/code}}
118 118  
... ... @@ -120,7 +120,7 @@
120 120  
121 121  If you receive an Exception like the following while installing/upgrading XWiki, chances are that you are using an outdated version of MySQLConnectorJ.
122 122  
123 -{{code language="none"}}
153 +{{code}}
124 124  Caused by: java.sql.BatchUpdateException: Data truncation: Out of
125 125  range value adjusted for column 'XWD_HIDDEN' at row 1
126 126   at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:894)
... ... @@ -136,8 +136,7 @@
136 136  
137 137  == HTTP 500 Error ==
138 138  
139 -(((
140 -{{code language="none"}}
169 +{{code}}
141 141  HTTP Status 500 -
142 142  
143 143  type Exception report
... ... @@ -160,6 +160,63 @@
160 160  Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
161 161  Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
162 162  {{/code}}
163 -)))
164 164  
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).
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
XWiki.XWikiComments[8]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.MarkHeptinstall
Comment
... ... @@ -1,0 +1,13 @@
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&amp;useUnicode=true&amp;characterEncoding=UTF-8</property>
11 +{{/code}}
12 +
13 +Which should we be using?
Date
... ... @@ -1,0 +1,1 @@
1 +2012-11-24 18:26:54.0
XWiki.XWikiComments[9]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.loomchild
Comment
... ... @@ -1,0 +1,4 @@
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,0 +1,1 @@
1 +2013-02-07 14:29:43.0
XWiki.XWikiComments[10]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.juannicolas
Comment
... ... @@ -1,0 +1,14 @@
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,0 +1,1 @@
1 +2014-03-10 23:36:40.0
XWiki.XWikiComments[11]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.jirib
Comment
... ... @@ -1,0 +1,57 @@
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,0 +1,1 @@
1 +2017-08-16 23:18:16.0

Get Connected