Problem solved. I was importing the wrong file :) Stupid. 2010/7/12 Igor Popov <[email protected]>:
Has no one ever met this problem?
2010/7/9 Igor Popov <[email protected]>:
Thanks a lot, Thomas! Now I managed to get an empty XWiki working. Now I'm stuck with another problem: I'm trying to import a default XAR into my wiki. First, I was stopped by getting an error of exceeding the default upload max size, but I solved this problem by directly entering URL and editing objects on XWikiPreferences page (I was surprised that this obstacle was not mentioned anywhere in installation docs). Now I'm having problems with empty package contents being displayed on the Import page. How can I fix it?
2010/7/8 Thomas Mortagne <[email protected]>:
On Thu, Jul 8, 2010 at 08:03, Igor Popov <[email protected]> wrote:
Hi!
I'm trying to install XWiki Enterprise 2.3.1 on Tomcat 6.0.20 with MySQL 5.0.32 (installing as WAR). I've deployed WAR, set up the database but when I connect to XWiki I get the following exception trace: (sorry if the message is big, but I'd better post the full trace)
------------------------
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiGroupTemplate ... Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xD0\xA1\xD0\xBE\xD0\xB7...' for column 'XWR_COMMENT' at row 1
Looks like you have created a latin1 mysql database instead of an UTF8 one and try to save UTF8 (which is the default for XWiki) characters in it.
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) ... 62 more
---------------------
So, is there a known compatibility issue?
P.S.: I've tried MySQL connectors 3.0.17, 5.0.2, 5.1.8, 5.1.9 (the last three I've downloaded directly from maven repository http://repo1.maven.org/maven2/mysql/mysql-connector-java/ as it was suggested somewhere in the MySQL troubleshooting section of xwiki.org). The last one does not produce an exception, but seems to "hang" Tomcat. It consumes 100% CPU and when I stop the server I see a lot of OutOfMemory exceptions in logs. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users