Uploaded image for project: 'Xinit'
  1. Xinit
  2. XINIT-24

Default JVM options prevent Tomcat from starting on Java 17 and later

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.3.3
    • None
    • Unknown

    Description

      The default CATALINA_OPTS contains -XX:MaxPermSize=$MAX_PERM_SIZE. Java 17 and later reject that option:

      Unrecognized VM option 'MaxPermSize=192m'
      Error: Could not create the Java Virtual Machine.
      

      so a Tomcat started by xinit with the default configuration does not start on any Java version XWiki supports today (checked with Java 21).

      Attachments

        Activity

          People

            ciaens Clément Christiaens
            ciaens Clément Christiaens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: