[xwiki-devs] I'm updating from 2.1M1 to 2.1 Final release, and encountered an error.
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!
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!
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!
Hi, Looks like XWiki can't access the database, do you use hsqldb ? if you're using another database have you put the connector in the webapp ? Thanks, JV. On Mon, Dec 21, 2009 at 2: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! _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I'm using the zipped version, everything default. I didn't setup another database. I suggest a small update to the existing export utility: Export only the pages that have changed since installation. That will be good enough for update purpose. On Mon, Dec 21, 2009 at 9:58 PM, Jean-Vincent Drean <[email protected]> wrote:
Hi,
Looks like XWiki can't access the database, do you use hsqldb ? if you're using another database have you put the connector in the webapp ?
Thanks, JV.
On Mon, Dec 21, 2009 at 2: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! _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- -- Zhaolin Feng -- www.mapbar.com -- Currahee! We stand alone together!
participants (2)
-
Jean-Vincent Drean -
Zhaolin Feng