On Sep 16, 2009, at 11:06 AM, Hervé Agnoux wrote:
Le mardi 15 septembre 2009, Caleb James DeLisle a écrit :
Sorry for the late reply, "the hsqldb part is commented." This is the way it should be. You have to un-comment it yourself.
So, each time I do a clean/install I do an un-comment ?
no, you just don't override the file... :) -Vincent
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL see the comment at the bottom of the page by "phile"
It's a long way... I'm a little lost...I have uncomment hsql in hibernate, and now the exception is :
com.xpn.xwiki.XWikiException: 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. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
I think it's because there is no hsqldb.jar in the classpath, I don't understand why. Here is a console output :
[couic] 16 sept. 2009 10:40:12 org.apache.catalina.startup.Catalina start INFO: Server startup in 23811 ms 2009-09-16 10:40:15,528 [http://localhost:8084/bin/view/Main/DocumentDoesNotExist] [http://localhost:8084/netbeans-tomcat-status-test?null] FATAL store.DBCPConnectionProvider - Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver' [couic]
And nothing like a hsqldb.jar stuff in checkout/enterprise/trunk/web/target/xwiki-enterprise-web-2.1- SNAPSHOT/WEB- INF/lib
(I can put it manually, is the Good Thing To Do ? )
Thanks for your patience.