I resolved it by carefully importing every page I created along with XWiki.XWikiPreferece, ***.WebPrefereces, XWiki.XWikiAllGroup and XWiki.AdminGroup.
It seems that the method of importing everything and overwirting with official XE XAR doesn't work. But it will be an increasing daunting task as the site grows. Thanks for the trouble. On Mon, Dec 21, 2009 at 9:04 PM, Zhaolin Feng <[email protected]> wrote: > Forget to memtion, I'm using the zip versions of XE. > > On Mon, Dec 21, 2009 at 9:04 PM, Zhaolin Feng <[email protected]> wrote: >> Hi: >> >> I'm updating from 2.1M1 to 2.1 Final release, and encountered an >> error. Please someone help me out. Many thanks. >> >> I did the following things. >> 1. Export everything from 2.1M1 to backup.xar >> 2. Import backup.xar to 2.1Final >> 3. Import official XE XAR, effectively overwrite the things in >> backup.xar, with the exception of XWiki.XWikiPreference and >> ***.WebPreference. >> 4. So far so fine. But after restarting the server, I encounter the >> following error: >> >> HTTP ERROR 500 >> Problem accessing /xwiki/bin/view/Main/. Reason: >> >> Error number 3 in 0: Could not initialize main XWiki context >> Wrapped Exception: Error number 3001 in 3: Cannot load class >> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager >> from param xwiki.store.migration.manager.class >> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute >> Wrapped Exception: Could not create a DBCP pool. There is an error in >> the hibernate configuration file, please review it. >> >> -- >> -- Zhaolin Feng >> -- www.mapbar.com >> -- Currahee! We stand alone together! >> > > > > -- > -- Zhaolin Feng > -- www.mapbar.com > -- Currahee! We stand alone together! > -- -- Zhaolin Feng -- www.mapbar.com -- Currahee! We stand alone together! _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

