Hello, What database are you using? If this is Mysql:
1. are you sure you merged/kept the hibernate.xml.cfg file? 2. Is the mysql JDBC jar file in place in WEB-INF/lib directory? (mysql-connector-xx.jar) 3. Are the rights of your user (in hibernate.xml.cfg) ok? Can you connect with it from the operating system? (mysql -u USER -p ) Regards, Guillaume Fenollar 2012/9/7 gogi <[email protected]> > Dear XWiki users, > > When I try to migrate the database from the version 3.5.1 to the version > 4.0, i get the following error message: > > 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 3202 in 3: Exception while reading document > [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], > type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] > Wrapped Exception: Could not create a DBCP pool. There is an error in the > hibernate configuration file, please review it. > > Caused by: > > com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize > main > XWiki context > Wrapped Exception: Error number 3202 in 3: Exception while reading document > [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], > type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] > Wrapped Exception: Could not create a DBCP pool. There is an error in the > hibernate configuration file, please review it. > at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:413) > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/XWiki-upgrade-from-3-5-1-to-4-0-failing-tp7581202.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
