Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4513

s2i build fails at KieServerContainerVerifier without appropriate logging when kmodule.xml schema validation fails

    XMLWordPrintable

    Details

      Description

      If multiple ksession are defined in kmodule.xml and Event Lister is set more than one ksession, s2i build fails at KieServerContainerVerifier with the following error.

      [main] ERROR org.kie.server.services.impl.KieServerContainerVerifier - Cannot find KieModule: com.redhat.gss:ruleTest:1.0.0-SNAPSHOT
      java.lang.RuntimeException: Cannot find KieModule: com.redhat.gss:ruleTest:1.0.0-SNAPSHOT
              at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:186)
              at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:172)
              at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:65)
              at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:53)
              at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:40)
              at org.kie.server.services.impl.KieServerContainerVerifier.main(KieServerContainerVerifier.java:119)
              at org.kie.server.services.impl.KieServerContainerVerifier.main(KieServerContainerVerifier.java:101)
              at org.jboss.modules.Module.run(Module.java:352)
              at org.jboss.modules.Module.run(Module.java:320)
              at org.jboss.modules.Main.main(Main.java:593)
      [main] ERROR org.kie.server.services.impl.KieServerContainerVerifier - com.redhat.gss:ruleTest:1.0.0-SNAPSHOT not verified.
      ERROR Aborting due to error code 1 from kie server container verification
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              filippe.spolti Filippe Spolti
              Reporter:
              hiroko Hiroko Miura
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: