Hi Ricardo,
I've tried the dump you sent and it worked perfectly fine...
Here's what I did:
1) dropped existing xwiki database
2) created it again and assigned permissions
3) imported the dump
4) unzippped the HSQLDB zip distribution
5) removed the database/ dir
6) copied the mysql 5.1.5 connector driver
7) edited the hibernate.cfg.xml file and removed the HSQLDB section
and uncommented the MySQL one without changing a single line
8) started xwiki with the start_xwiki.sh script
9) opened a browser and called
http://localhost:8080/xwiki/bin/view/Main/
10) navigated to other pages
Thanks
-Vincent
On Feb 25, 2008, at 1:59 PM, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote:
Trying to answer to Vincent about Toucan use I am
facing a problem
while
updating a 1.3M1 to 1.3M2 in my test box.
Here the error:
javax.servlet.ServletException: 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.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception while loading
archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: Null value was assigned to a property of primitive
type setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.diff
org
.apache
.struts
.action.RequestProcessor.processException(RequestProcessor.java:535)
org
.apache
.struts
.action.RequestProcessor.processActionPerform(RequestProcessor.java:
433)
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:
414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
117)
I am using the same MySQL connector than with 1.3M1,
mysql-connector-java-5.1.5-bin, and hibernate has been edited to
uncomment and set up a MySQL connection. I noticed that hibernate
includes a new line (or at least it is I think the first time I read
it)
in the MySQL configuration comment:
We need to set the sql_mode to a less strict value, see XWIKI-1945
And connection.url is slightly different:
jdbc:mysql://localhost/xwiki?
useServerPrepStmts=false&sessionVariables=sql_mode=''
Perhaps I am doing something wrong, but I think I am following the
same
proces I've used before.
Thanks for your help,
Ricardo
--
Ricardo RodrÃguez
Your EPEC Network ICT Team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users