This issue has been created
 
 
Wiki Initializer Application / cid:jira-generated-image-avatar-9644e5f2-6f09-4b3b-b16e-c0b29a72acd7 WKINIT-4 Open

XWiki fail to start with Postgresql

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-718a66b2-11d7-46a6-949b-a4691266f26e Josué Tille created this issue on 11/Sep/24 18:57
 
Summary: XWiki fail to start with Postgresql
Issue Type: cid:jira-generated-image-avatar-9644e5f2-6f09-4b3b-b16e-c0b29a72acd7 Bug
Affects Versions: 1.1.2
Assignee: Unassigned
Attachments: xwiki_start_fail.log
Created: 11/Sep/24 18:57
Environment: XWiki version: 16.7.1
Distribution: xwiki-platform-distribution-jetty-hsqldb
Database: The jdbc connector was installed manually to use Postgresql instead of hsqldb (version 42.7.4)
OS: Debian 12
Java version: openjdk 17.0.12 2024-07-16
Priority: cid:jira-generated-image-static-major-6aa1b7e9-e09b-4d48-bf9a-e5ccfa652514 Major
Reporter: Josué Tille
Description:

The filling configuration:

Step to reproduce:

  • Use the xwiki-platform-distribution-jetty-hsqldb archive
  • Download the jdbc connector from https://jdbc.postgresql.org/download/postgresql-42.7.4.jar
  • Configure hibernate.cfg.xml to use postgresql database
  • Install the Wiki Initializer Application
  • Enable the Initializer with theses 2 lines in xwiki.properties
    wikiInitializer.initializeMainWiki=true
    wikiInitializer.initializeSubWikis=true
    

Restart XWiki and see that it fail to start.

I've attached the long log