[xwiki-users] XWiki on an Ingres database
Ive modifed the hybernate xml file but the database tables seem to not be getting created correctly. Is there anything else that needs to be done in order to make sure that the database tables get created correctly? When I access xwiki I get the following exceptions: 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 execute query Wrapped Exception: ca.gcf.util.SqlEx: Table 'xwikidbversion' does not exist or is not owned by you. Radek Rekas VFMFocus Developer eVALUA Pty Ltd 66B Maryborough St Fyshwick, ACT, Australia T: +61 2 6228 1904 F: +61 2 6228 1131 Http://www.evalua.com.au
Hi, Radek Rekas wrote:
Ive modifed the hybernate xml file but the database tables seem to not be getting created correctly.
Is there anything else that needs to be done in order to make sure that the database tables get created correctly?
When I access xwiki I get the following exceptions: 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 execute query
Wrapped Exception: ca.gcf.util.SqlEx: Table 'xwikidbversion' does not exist or is not owned by you.
What database are you using? Have you followed http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalland... ? Did you "Create a user with all privileges on that xwiki database"? See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL for an example. Hope this helps, Marius
Radek Rekas
VFMFocus Developer
eVALUA Pty Ltd
66B Maryborough St
Fyshwick, ACT, Australia
T: +61 2 6228 1904
F: +61 2 6228 1131
Http://www.evalua.com.au _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Radek, On Dec 18, 2009, at 3:29 AM, Radek Rekas wrote:
Ive modifed the hybernate xml file but the database tables seem to not be getting created correctly.
Is there anything else that needs to be done in order to make sure that the database tables get created correctly?
Yes you need to provide Hibernate mapping files for Ingres. You can check the ones we bundle here: http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/r... So you need to provide 2: xwiki.ingres.hbm.xml feeds.ingres.hbm.xml Then reference them from hibernate.cfg.xml Thanks -Vincent
When I access xwiki I get the following exceptions: 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 execute query
Wrapped Exception: ca.gcf.util.SqlEx: Table 'xwikidbversion' does not exist or is not owned by you.
Radek Rekas
VFMFocus Developer
eVALUA Pty Ltd
66B Maryborough St
Fyshwick, ACT, Australia
T: +61 2 6228 1904
F: +61 2 6228 1131
Http://www.evalua.com.au
participants (3)
-
Marius Dumitru Florea -
Radek Rekas -
Vincent Massol