[xwiki-users] migration failed from 1.0 to 1.2m1 with postgresql database
hi, I'm working on upgrading our xwiki form 1.0 to the 1.2m1, we using tomcat5.5 with postgresql8.0.8 database, everything configure in utf8, and we need keep the data. after I configure the hibernate, xwikicfg, webxml I start tomcat but I receive an exception when I getting into the page: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3005 in 3: Migration failed Wrapped Exception: Error number 13021 in 13: Exception while constructing document archive Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 173 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character. 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) root cause com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3005 in 3: Migration failed Wrapped Exception: Error number 13021 in 13: Exception while constructing document archive Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 173 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) 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) note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs. it shows in the exception that there was migration problem with parsing some xml file on some symbols.... but I really do not know what does that mean and how I can solve it. anyone have ideas or samiliar problem experienced can give a help? regards, muzi
just a bump. anyone can give an idea about this problem? thanks in advance! muzi On Oct 16, 2007 03:04 PM, xwiki xwiki <[email protected]> wrote:
hi,
I'm working on upgrading our xwiki form 1.0 to the 1.2m1, we using tomcat5.5 with postgresql8.0.8 database, everything configure in utf8, and we need keep the data.
after I configure the hibernate, xwikicfg, webxml I start tomcat but I receive an exception when I getting into the page:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3005 in 3: Migration failed Wrapped Exception: Error number 13021 in 13: Exception while constructing document archive Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 173 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character.
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)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3005 in 3: Migration failed Wrapped Exception: Error number 13021 in 13: Exception while constructing document archive Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 173 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
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)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
it shows in the exception that there was migration problem with parsing some xml file on some symbols.... but I really do not know what does that mean and how I can solve it.
anyone have ideas or samiliar problem experienced can give a help?
regards,
muzi
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On October 18, 2007 10:08:01 pm xwiki xwiki wrote:
just a bump.
anyone can give an idea about this problem?
Just an idea to get you started. You could to a search in the database for this character sequence that causes trouble: "". Where does it come from?
thanks marc for suggest, I think it's difficult to search the whole database if anywhere it has the string. It show in the exception that there is error parsing xml files, should not be problem with database which to my experience the exception will give a table name where it has update error, anyway there I did a sql query in xwikidocs table on the xwd_content colum resulting no entries match... any names of a table? also I did a grep in the xwiki docroot, and find this: xwiki # find | xargs grep "" ./tiny_mce/themes/wikieditor/jscripts/charmap.js: ['ˆ', 'ˆ', true, 'circumflex accent'], ./tiny_mce/themes/wikieditor/jscripts/charmap.js: ['˜', '˜', true, 'small tilde'], but I read no useful information from this result in relating to the exception... thanks in advance on any further suggestion. muzi On Oct 19, 2007 01:46 PM, Marc Lijour <[email protected]> wrote:
On October 18, 2007 10:08:01 pm xwiki xwiki wrote:
just a bump.
anyone can give an idea about this problem?
Just an idea to get you started. You could to a search in the database for this character sequence that causes trouble: "". Where does it come from? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Marc Lijour -
xwiki xwiki