Hello,
I have been running xwiki 3.1 for a while now on Fedora 13 with
PostgreSQL/Tomcat.
I decided to upgrade to 3.2 by undeploying the previous version of xwiki and
installing the 3.2 war and default xar files, reconfiguring
hibernate.cfg.xml to access the PostgreSQL database etc.
After the new war install and the hibernate.cfg.xml reconfiguration, when
trying to connect xwiki, I get:
HTTP Status 500 -
_____
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
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:XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiPreferences
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2
]{docId=104408758, version2=1, version1=24}]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.
java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.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:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:109)
and in catalina.out, I get a lot of those
</property>
<property>
<showannotations></showannotations>
</property>
<property>
<showattachments></showattachments>
</property>
<property>
<showcomments></showcomments>
</property>
<property>
<showhistory></showhistory>
</property>
<property>
<showinformation></showinformation>
</property>
<property>
<skin>XWiki.DefaultSkin</skin>
</property>
<property>
<smtp_port></smtp_port>
</property>
<property>
<smtp_server>127.0.0.1</smtp_server>
</property>
<property>
<smtp_server_password></smtp_server_password>
</property>
<property>
<smtp_server_username></smtp_server_username>
</property>
<property>
<stylesheet>style.css</stylesheet>
</property>
<property>
<stylesheets>style.css</stylesheets>
</property>
<property>
<tags></tags>
</property>
<property>
<title>$tdoc.getRenderedTitle("plain/1.0") ($doc.fullName) -
XWiki</title>
</property>
<property>
<upload_maxsize>671088640</upload_maxsize>
</property>
<property>
<validation_email_content>#set ($wikiname = $request.serverName)
#set ($host = ${request.getRequestURL()})
#set ($host = ${host.substring(0, ${host.indexOf('/',
${mathtool.add(${host.indexOf('//')}, 2)})})})
Subject: Validate your account on ${wikiname}
Hello ${xwiki.getUserName("XWiki.$xwikiname", false)},
This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.
In order to activate your account, please follow this link:
${host}${xwiki.getURL('XWiki.AccountValidation', 'view',
"validkey=${validkey}&xwikiname=${xwikiname}")}</validation_email_conten
t>
</property>
<property>
<version>XWiki Enterprise $xwiki.getVersion() - <a
onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/…
ion', '_blank'); return false;"
href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation"&…
on</a></version>
</property>
<property>
<webcopyright>This wiki is licensed under a <a rel="license"
href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
2.0</a> license</webcopyright>
</property>
<property>
<xwiki.title.mandatory>0</xwiki.title.mandatory>
</property>
</object>
<content>{{include document="XWiki.AdminSheet"
/}}</content></xwikidoc>
Then a final
2011-10-12 22:56:30,809 [
http://192.168.1.1:8080/xwiki/bin/view/Main/] WARN
o.a.s.a.RequestProcessor - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiExcept
Any idea about what's going on ?
Thanks for your help,
Regards
Christophe.