Hi Ricardo,
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.
Do you think you could try using the latest 1.3RC1 snapshot war for
the upgrade:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-we…
Also if you can it would be great if you could connect on irc
(
irc.freenode.net, channel #xwiki) so that we can work on solving this
upgrade issue. I'd really like it to work seamlessly but we're running
out of time for the release (already 1 day behind).
Thanks
-Vincent
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