Not able to update KieBase at runtime for Kie-sever in BPMS/BRMS 6 ?
Issue
We are not able to update custom java function without rebooting server instance.It fails with exception:
ERROR [org.drools.compiler.kie.builder.impl.KieContainerImpl] (http-/127.0.0.1:8080-5) Unable to update KieBase: defaultKieBase to release example:test:1.1
Rule Compilation error : [Rule name='dependency test']
example/Rule_dependency_test1308922377.java (7:567) : The method print(String) in the type TestFunction is not applicable for the arguments (String, int)
ERROR [org.kie.server.services.rest.KieServerRestImpl] (http-/127.0.0.1:8080-5) Error updating releaseId for container test to version example:test:1.1
Messages: [Message [id=1, level=ERROR, path=test.drl, line=10, column=0
text=Rule Compilation error The method print(String) in the type TestFunction is not applicable for the arguments (String, int)]]
Environment
- Red Hat JBoss BRMS
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.