Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22575

Errors in logs when starting XWiki 16.8.0 on Tomcat with Office server configured

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • 16.9.0-rc-1
    • 16.8.0
    • Office
    • Windows 11 Pro, Firefox 131, using a local instance of XWiki 16.8.0 on PostgreSQL 16, Tomcat 9.0.96, LibreOffice 24.2.6.2
    • Unknown

    Description

      Steps to reproduce

      1. Configure XWiki 16.8.0 with Tomcat (tested with Tomcat 9.0.95 and 9.0.96), the database seems to not be relevant, since the issue reproduced on PostgreSQL 16 and MySQL 9 as well
      2. Configure the Office server (tested with LibreOffice 24.2.6.2) in xwiki.properties file by uncommenting/configuring the following lines, in my case:
        openoffice.serverType = 0
        openoffice.serverPorts = 8100,8101
        openoffice.autoStart = true
        openoffice.homePath = C:/Program Files//LibreOffice
      1. Start XWiki

      Expected results

      No errors are displayed in the logs.

      Actual results

      In XWiki console, after the Tomcat server starts, at the end, there are the following errors displayed:

      2024-10-15 12:11:31,270 [Thread-25] ERROR o.j.l.o.VerboseProcess         - Entity: line 1: parser error : Document is empty
      2024-10-15 12:11:31,270 [Thread-25] ERROR o.j.l.o.VerboseProcess         -
      2024-10-15 12:11:31,270 [Thread-25] ERROR o.j.l.o.VerboseProcess         - ^
      2024-10-15 12:11:31,314 [Thread-27] ERROR o.j.l.o.VerboseProcess         - Entity: line 1: parser error : Document is empty
      2024-10-15 12:11:31,314 [Thread-27] ERROR o.j.l.o.VerboseProcess         -
      2024-10-15 12:11:31,314 [Thread-27] ERROR o.j.l.o.VerboseProcess         - ^

      From my tests, the issue seems to be reproducing only when the Office server is configured.

      The issue seems to not be reproducing on earlier XWiki versions, tested on XWiki 16.4.4 and 16.7.1.

      Also, I tested by starting XWiki 16.8.0 on Docker, but the issue did not reproduce.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: