Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1267

Errors in console during war deployment for Jars with invalid Jandex index files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.7.0.GA
    • EAP 7.2.6
      Thorntail 2.5.0

    • 2020 Week 07-09 (from Feb 10), 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25), 2020 Week 25-27 (from Jun 15), 2020 Week 28-30 (from Jul 6), 2020 Week 31-33 (from Jul 27), 2020 Week 34-36 (from Aug 17), 2020 Week 37-39 (from Sep 7), 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19), 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8)

      For some Jars there's an ERROR log message in the console when starting central.

      09:21:41,753 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/kubernetes-client-4.6.0.jar/META-INF/jandex.idx
      09:21:41,791 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/kubernetes-model-4.6.0.jar/META-INF/jandex.idx
      09:21:43,034 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/kubernetes-model-common-4.6.0.jar/META-INF/jandex.idx
      09:21:43,237 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/openshift-client-4.6.0.jar/META-INF/jandex.idx
      09:21:48,769 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0002: Could not read provided index: /content/decision-central.war/WEB-INF/lib/kubernetes-client-4.6.0.jar/META-INF/jandex.idx
      09:21:48,810 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0002: Could not read provided index: /content/decision-central.war/WEB-INF/lib/kubernetes-model-4.6.0.jar/META-INF/jandex.idx
      09:21:51,283 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0002: Could not read provided index: /content/decision-central.war/WEB-INF/lib/kubernetes-model-common-4.6.0.jar/META-INF/jandex.idx
      09:21:52,399 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0002: Could not read provided index: /content/decision-central.war/WEB-INF/lib/openshift-client-4.6.0.jar/META-INF/jandex.idx
      

      The reason for these errors seems to be a version mismatch between Jandex jar in the EAP(older: 2.0.5) compared to the one that was used for the index file generation (newer: 2.1.1,2.1.2).

      Note: appears also when running on Thorntail.

            elguardian@gmail.com Enrique González Martínez (Inactive)
            jstastny@redhat.com Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: