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

Lucene related message in logs when starting XWiki 16.2.0 RC1 on Java 21

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 16.2.0-rc-1
    • Search - Solr
    • Windows 11 Pro, Edge 122, using a local instance of XWiki 16.2.0 RC1 on Tomcat 9.0.87, Oracle 19c, reproducible also on Jetty/HSQLDB, Java 21
    • Unknown

    Description

      Steps to reproduce

      1. Start XWiki 16.2.0 RC1 (on Jetty/HSQLDB or on Tomcat) on Java 21
      2. Observe the XWiki console

      Expected results

      No (other) stacktrace is displayed.

      Actual results

      The following message is displayed on Jetty:

      mar. 21, 2024 3:21:11 P.M. org.apache.lucene.store.MemorySegmentIndexInputProvider <init>
      INFO: Using MemorySegmentIndexInput with Java 21; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false

      On Tomcat 9.0.87:

      21-Mar-2024 15:56:09.933 INFO [coreLoadExecutor-11-thread-1] org.apache.lucene.store.MemorySegmentIndexInputProvider.<init> Using MemorySegmentIndexInput with Java 21; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false

       

      When starting XWiki 16.2.0 RC1 on Java 17, the message is not displayed.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: