The error seems to be "La fonction org.postgresql.jdbc4.Jdbc4Connection.isValid(int) n'est pas encore implémentée.". That would mean the postgres connector you have on this system is too old for XWiki. You can check the version of the jdbc4 connector by looking at /usr/share/java/postgresql-jdbc4*.jar. I seems to work well for me with 9.2-1004 and I think I remember some issues with lower version variant of 9.2 and 100% sure it does not work with version lower than 9.2. On Fri, Jun 19, 2015 at 1:09 PM, Stéphane LASSIRE <[email protected]> wrote:
Hello THomas,
THanks for your help.
the log file is very big, I put the head of each mother exception but before (it sounds at the end that SQL was part f the problem) I test postgres and it run fine.
control of Postgres postgres@CESAP-WIKI01:/var/log/tomcat7$ psql -l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+----------+-------------+-------------+----------------------- postgres | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | template0 | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres test | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | xwiki | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | (5 rows)
Catalina log
exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [http://wiki.cesap.asso.fr:8080/xwiki/bin/view/Main/]
cause mère com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [http://wiki.cesap.asso.fr:8080/xwiki/bin/view/Main/]
cause mère java.lang.RuntimeException: Failed to located wiki descriptor for alias [wiki.cesap.asso.fr]
cause mère org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass document for wiki alias [wiki.cesap.asso.fr]
cause mère org.xwiki.query.QueryException: Exception while translating [where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%'] XWQL query to the [hql] language. Query statement = [where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%']
cause mère com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiServerClass]
cause mère org.hibernate.HibernateException: Could not create a DBCP pool. There is an error in the Hibernate configuration file, please review it.
cause mère java.sql.SQLException: Cannot create PoolableConnectionFactory (La fonction org.postgresql.jdbc4.Jdbc4Connection.isValid(int) n'est pas encore implémentée.)
cause mère java.sql.SQLFeatureNotSupportedException: La fonction org.postgresql.jdbc4.Jdbc4Connection.isValid(int) n'est pas encore implémentée.
Cordialement
Stéphane Lassire Chargé de l'informatique et de la communication Tél direct : 01 42 85 81 87 Courriel : [email protected] Ce courrier est adressé uniquement à son destinataire et contient des informations couvertes par le secret professionnel. Si ce message vous a été adressé par erreur, merci d'en informer son auteur et de le détruire immédiatement.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne