I’ve solved this part by replacing localhost in « hibernate.cfg.xml » by the ip of the
server.
Probably related to my hosts file (or something like that) but the base configuration of
our virtual machines is handled by saltstack (who push configuration) so if possible, I
prefer to not touch it (or ask for exception).
So.. next problem (I hope this will end soon :) ) :
http://pastebin.com/6UzFgAzr
Memory related for what i can see on the web. Everything seems to be ok for the
configuration.
Maybe you can tell me more about it or confirme that is related to memory ?
Thanks..again for everyone who can help.
Daniel
Le 29 août 2015 à 22:46, Daniel Tibô
<daniel.tibo(a)gmail.com> a écrit :
Extra information : I can connect myself to the database with the xwiki user with a
simple « mysql -u xwiki -p « .
Thx
> Le 29 août 2015 à 22:04, Daniel Tibô <daniel.tibo(a)gmail.com
<mailto:daniel.tibo@gmail.com>> a écrit :
>
> Hi Vincent,
>
> There was, indeed, a problem with the connector.
>
> I’ve forgot to place it after the second installation…
>
> But, when I have double checked if i had the right version from oracle, i have seen
that the 5.0.8 i had (direct link from the installation guide) is not « recommended » for
my version of mysql (5.1).
> (
https://dev.mysql.com/doc/connector-j/en/connector-j-versions.html
<https://dev.mysql.com/doc/connector-j/en/connector-j-versions.html> )
>
> So i’ve tried with the « 5.1.36 » and… I have something else now..
>
> It’s related to the database access for the xwiki user maybe ? (
java.sql.SQLException: Access denied for user 'xwiki'(a)'127.0.0.1' (using
password: YES) )
>
>
> with : "org.hibernate.HibernateException: Could not create a DBCP pool. »
>
> I’ve tried to comment the 2 line :
>
> <property name="dbcp.poolPreparedStatements">true</property>
> <property name="dbcp.maxOpenPreparedStatements">20</property>
>
> but without success due to the previous « access denied » i think. (do i have to
leave it commented for the futur ?)
>
> Thanks for your help !
>
> Daniel
>