Well i have found my mistake.
It was not the good version of mysql-connector i had.
Now i have compiled the xwiki-core and i've got a
xwiki-core-1.3-SNAPSHOT.jar file.
How can i use it?
Thank for your time.
antoine SEILLES a écrit :
Hi xwikiers.
I have tried to install Stable: xwiki-web-standard-1.1.2.war
<https://forge.objectweb.org/project/download.php?group_id=170&file_id=9423>
.
But i have an error :
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
My database is xwiki, my user is xwiki@localhost and his pass is xwiki.
and my hibernate.cfg.xml have been uncommented, so i have:
<property
name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property
name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
Last point, i have add mysql-connector-java-5.0.4-bin.jar in WEB-INF/lib.
What should i do?
Happy new year.
--
Antoine SEILLES
Doctorant (phd student)
Pikko software
Cap Omega - Rond Point Benjamin Franklin
CS 39521
34960 Montpellier Cedex 2
FRANCE
LIRMM CNRS
UMR 5506 - 161 rue Ada
34392 Montpellier Cedex 5
FRANCE
Tel: +33 (0)6 10 192 055
http://www.pikko-software.com
http://www.lirmm.fr