<
From version < 43.3 >
edited by Vincent Massol
on 2018/07/10
To version < 45.1 >
edited by Vincent Massol
on 2018/07/10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -AdminGuide.Installation
1 +xwiki:Documentation.AdminGuide.Installation.InstallationWAR.WebHome
Content
... ... @@ -4,53 +4,52 @@
4 4  
5 5  = Compatibility Considerations =
6 6  
7 +{{error}}
8 +Currently we seem to have some [[problem with MySQL 8.x>>https://jira.xwiki.org/browse/XWIKI-15215]]. You should use MySQL 5.x for the time being until this is solved.
9 +{{/error}}
10 +
7 7  == MyISAM storage engine ==
8 8  
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.
16 +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.
21 +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
27 +* Download and install [[MySQL>>http://www.mysql.com/]] 5.x or greater.
28 +* Start the MySQL server. You can do that in several ways. For example use {{code}}mysqld --console{{/code}}
29 +* 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.(((
30 +You can create the database in several ways. For example use:
31 +
32 +{{code}}
33 +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"
36 +* 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:(((
37 +{{code}}
38 +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'"
41 +* 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##:(((
42 +{{code}}
43 +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 -
45 +)))
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/]].(((
47 +* 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.
49 +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):(((
52 +* 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>
59 +<property name="connection.useUnicode">true</property>
60 +<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 -)))
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 {{code}}mysqld --console --max_allowed_packet=32M{{/code}} or you can modify directly the ##my.cnf## configuration file to set this value permanently.
65 +* 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 -)))
69 += Tips =
83 83  
84 -= Troubleshooting =
71 +== Convert a database from latin1 (or collation utf8_ci) to utf8/utf8_bin ==
85 85  
86 -== Unable to login to MySQL Console ==
73 +{{code}}
74 +#!/bin/bash
87 87  
88 -When running
76 +db=xwiki
77 +to_character_set=utf8
78 +to_collation=utf8_bin
89 89  
90 -{{code language="none"}}
91 -mysql -u root -e "create database xwiki default character set utf8
80 +mysql_cmd="mysql -u root"
81 +
82 +$mysql_cmd -e "ALTER DATABASE $db CHARACTER SET utf8 COLLATE utf8_unicode_ci;"
83 +
84 +TBL_LIST=$($mysql_cmd -N -s -r -e "use $db;show tables;")
85 +
86 +for tbl_name in $TBL_LIST;
87 +do
88 +$mysql_cmd -e "alter table $db.$tbl_name convert to character set $to_character_set collate $to_collation;"
89 +done
90 +
91 +echo "Here the result of the operation:"
92 +$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
95 +== Convert from MyISAM to InnoDB ==
95 95  
96 -{{code language="none"}}
97 -ERROR 1045 (28000): Access denied for user 'xwiki'@'localhost' (using password: YES)
97 +{{code}}
98 +#!/bin/bash
99 +
100 +MYSQL_COMMAND=mysql
101 +TO_ENGINE=INNODB
102 +
103 +DATABASES=$(mysql -N -s -r -e 'show databases'|grep -v ^information_schema$|grep -v ^mysql$)
104 +
105 +
106 +for db in $DATABASES
107 +do
108 +
109 +echo "Working on database $db..."
110 +echo ""
111 +
112 +TABLES=$(mysql -N -s -r -e "show tables from $db;")
113 +
114 +for tb in $TABLES
115 +do
116 +
117 +$MYSQL_COMMAND -e "ALTER TABLE $db.$tb ENGINE = $TO_ENGINE;"
118 +
119 +done
120 +
121 +$MYSQL_COMMAND -e "SELECT table_name,Engine,table_collation FROM information_schema.tables WHERE table_schema = DATABASE();"
122 +
123 +echo ""
124 +echo ""
125 +
126 +done
98 98  {{/code}}
99 99  
129 += Troubleshooting =
130 +
131 +== Unable to login to MySQL Console ==
132 +
133 +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"}}
140 +{{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:
147 +To start MySQL run the following command instead:
114 114  
115 -{{code language="none"}}
149 +{{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"}}
157 +{{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"}}
173 +{{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).
197 +In this case, try to disable **skip-networking** in MySQL *.ini file. Thanks a lot //M Rawash// (see his comment below).
198 +
199 +== Unknown database 'xwiki' ==
200 +
201 +If you get the following error:
202 +
203 +{{code language="none"}}
204 +Caused by: class com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'xwiki'
205 + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
206 + at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
207 + at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
208 + at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
209 + at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
210 + at com.mysql.jdbc.Util.getInstance(Util.java:383)
211 + at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1062)
212 + at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226)
213 + at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158)
214 + at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
215 + at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
216 + at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2834)
217 + at com.mysql.jdbc.ConnectionImpl.setCatalog(ConnectionImpl.java:5456)
218 + at org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:374)
219 + at org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:374)
220 + at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setCatalog(PoolingDataSource.java:333)
221 + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
222 + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
223 + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
224 + at java.lang.reflect.Method.invoke(Method.java:606)
225 + at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:74)
226 + at com.sun.proxy.$Proxy47.setCatalog(Unknown Source)
227 + at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:729)
228 + at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911)
229 + at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843)
230 + at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:830)
231 +...
232 +{{/code}}
233 +
234 +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.
235 +
236 +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}}).
237 +
238 +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]].
239 +
240 +== MySQLSyntaxErrorException: Row size too large (> 8126) ==
241 +
242 +if you get the following error:
243 +
244 +{{code language="none"}}
245 +MySQLSyntaxErrorException: Row size too large (> 8126).
246 +Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help.
247 +In current row format, BLOB prefix of 768 bytes is stored inline.
248 +{{/code}}
249 +
250 +When you are using a MySQL Server 5.6.20 you can get a "row size too large error."
251 +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."
252 +
253 +You can solve the problem by changing the innodb_log_file_size in the my.ini text file.
254 +Find more details in the link below.
255 +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