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

Warnings in Distribution Wizard about missing certificates paths related to "grizzly" and "Tyrus"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 15.10.8, 16.2.0
    • Distribution - Flavor
    • None
    • Windows 11 Pro, Edge 123, using a local instance of XWiki 15.10.8 and 16.2.0 on Jetty/HSQL
    • Unknown

    Description

      Steps to reproduce

      1. Create an XWiki instance (e.g. 15.10.8 or 16.2.0)
      2. Run the Distribution Wizard
      3. Observe the logs on the Distribution Wizard

      Expected results

      No warnings are displayed.

      Actual results

      Some warnings about missing certificate paths are displayed for grizzly:

      Unexpected error when trying to find extension dependency [grizzly-framework 2.3.25] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
      Unexpected error when trying to find extension dependency [grizzly-http-server 2.3.25] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
      Unexpected error when trying to find extension dependency [grizzly-http 2.3.25] in repository [jvnet-nexus-snapshots:maven:https://maven.java.net/content/repositories/snapshots]: SunCertPathBuilderException: unable to find valid certification path to requested target

       And for Tyrus:

      Unexpected error when trying to find extension dependency [Tyrus Client 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
      Unexpected error when trying to find extension dependency [Tyrus Core 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target
      Unexpected error when trying to find extension dependency [Tyrus Container SPI 1.13.1] in repository [jvnet-nexus-releases:maven:https://maven.java.net/content/repositories/releases/]: SunCertPathBuilderException: unable to find valid certification path to requested target

      The warnings could be reproduced with Java 11 (11.0.22), Java 17 (17.0.10) as well as with Java 21 (21.0.2) from Oracle.

      I was able to reproduce the issue also on Docker (on my Windows machine the containers are running in WSL2 Ubuntu environment) with Java 17 OpenJDK.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: