Stefan Gundlach wrote:
Hi xwiki-users!
Our xwiki is in version 0.9.543 and we need a working upgrade path. But it
seems that all our effort end up in a non operational state.
Currently i try to get working the stable XWiki Enterprise 1.7.2. After
installing, importing the xar, copying the database and starting tomcat, it
does a lot of conversions. All I get afterwards is an exception report:
root cause
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: java.lang.String
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
[...]
A deeper stacktrace would be useful, as this is just the top error,
which doesn't say much about the real problem.
In the logfile a probably wrong sql statement can be
found:
insert into xwikipreferences (XWP_LANGUAGE, XWP_DEFAULT_LANGUAGE,
XWP_MULTI_LINGUAL, XWP_AUTHENTICATE_EDIT, XWP_AUTHENTICATE_VIEW,
XWP_AUTH_ACTIVE_CHECK, XWP_BACKLINKS, XWP_SKIN, XWP_STYLESHEET,
XWP_STYLESHEETS, XWP_EDITOR, XWP_EDITBOX_WIDTH, XWP_EDITBOX_HEIGHT,
XWP_WEBCOPYRIGHT, XWP_TITLE, XWP_VERSION, XWP_MENU, XWP_META,
XWP_USE_EMAIL_VERIFICATION, XWP_SMTP_SERVER, XWP_ADMIN_EMAIL,
XWP_VALIDATION_EMAIL_CONTENT, XWP_CONFIRMATION_EMAIL_CONTENT,
XWP_INVITATION_EMAIL_CONTENT, XWP_MACROS_LANGUAGE, XWP_MACROS_VELOCITY,
XWP_MACROS_GROOVY, XWP_MACROS_WIKI2, XWP_MACROS_MAPPING,
XWP_NOTIFICATION_PAGES, XWP_LEFT_PANELS, XWP_RIGHT_PANELS,
XWP_SHOW_LEFT_PANELS, XWP_SHOW_RIGHT_PANELS, XWP_PAGE_WIDTH, XWP_LANGUAGES,
XWP_REGISTRATION_ANONYMOUS, XWP_REGISTRATION_REGISTERED, XWP_EDIT_ANONYMOUS,
XWP_EDIT_REGISTERED, XWP_COMMENT_ANONYMOUS, XWP_COMMENT_REGISTERED,
XWP_DOCUMENT_BUNDLES, XWP_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
Can someone give me a helping hand, please?
Stefan
This looks like a problem with a changed XClass definition, but without
the nested exceptions I cannot be sure.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/