[
https://issues.jboss.org/browse/DROOLS-4513?page=com.atlassian.jira.plugi...
]
David Ward commented on DROOLS-4513:
------------------------------------
[~volothamp], [~hiroko], [~filippe.spolti], If I remember correctly, I wrote the
KieServerContainerVerifier, and all it really does is just create a new KieContainer and
see if there were any errors. When I first saw this jira (and talked to [~KrisVerlaenen]
about it), I suspected an xml schema issue given the fact that changing the order of
elements made the problem go away, so this is not a problem with our OpenShift images.
Wouldn't the simple (and correct) fix just be to change the xml schema to allow for
any order of the listener elements?
s2i build fails at KieServerContainerVerifier without appropriate
logging when kmodule.xml schema validation fails
------------------------------------------------------------------------------------------------------------------
Key: DROOLS-4513
URL:
https://issues.jboss.org/browse/DROOLS-4513
Project: Drools
Issue Type: Bug
Components: build, kie server
Affects Versions: 7.14.0.Final, 7.18.0.Final, 7.24.0.Final
Environment: OpenShift 3.11 with
rhdm72-prod-immutable-kieserver.yaml/rhdm73-prod-immutable-kieserver.yaml
Reporter: Hiroko Miura
Assignee: Ant Stephenson
Priority: Major
Labels: support
Attachments: ruleTest.zip
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.
{noformat}
[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
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)