Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2742

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.7.0.GA
    • None
    • Release Notes

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

      09:18:38,989 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/kubernetes-client-4.6.0.jar/META-INF/jandex.idx
      09:18:39,041 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/kubernetes-model-4.6.0.jar/META-INF/jandex.idx
      09:18:40,128 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-8) 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:18:40,279 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0002: Could not read provided index: /content/kie-server.war/WEB-INF/lib/openshift-client-4.6.0.jar/META-INF/jandex.idx
      09:18:45,110 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0002: Could not read provided index: /content/business-central.war/WEB-INF/lib/kubernetes-client-4.6.0.jar/META-INF/jandex.idx
      09:18:45,155 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0002: Could not read provided index: /content/business-central.war/WEB-INF/lib/kubernetes-model-4.6.0.jar/META-INF/jandex.idx
      09:18:46,139 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0002: Could not read provided index: /content/business-central.war/WEB-INF/lib/kubernetes-model-common-4.6.0.jar/META-INF/jandex.idx
      09:18:47,148 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0002: Could not read provided index: /content/business-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.

              eignatow Eder Ignatowicz
              jstastny@redhat.com Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: