[jboss-jira] [JBoss JIRA] (DROOLS-1423) KJAR changes are not reflected in KIE Container

Edson Tirelli (JIRA) issues at jboss.org
Tue Jan 31 13:28:00 EST 2017


    [ https://issues.jboss.org/browse/DROOLS-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13355855#comment-13355855 ] 

Edson Tirelli commented on DROOLS-1423:
---------------------------------------

>From the log snippet you pasted, it seems that you are creating the kjar with the same version all the time? 

First container: com.ge.hc.services.rs:test_drl_nn_01:1
Second container: com.ge.hc.services.rs:test_drl_nn_01:1

If you do that, maven will not look inside the jar to detect differences. You must either increment the version number (recommended) or use a -SNAPSHOT suffix if you want maven to detect changes.



> KJAR changes are not reflected in KIE Container
> -----------------------------------------------
>
>                 Key: DROOLS-1423
>                 URL: https://issues.jboss.org/browse/DROOLS-1423
>             Project: Drools
>          Issue Type: Bug
>          Components: kie server
>    Affects Versions: 6.5.0.Final
>            Reporter: LakshmiNarayanan Kesavan
>            Assignee: Edson Tirelli
>
> Step 1: Create a KJAR in Maven Repo with the DRL file and deploy the same in tomcat
> Step 2: Create the container
> Step 3: Execute the rule. The rule got successfully executed
> Step 4: Dispose the container. We get the below message
> 31-Jan-2017 14:50:13.001 INFO [http-nio-8000-exec-12] org.kie.server.services.jbpm.JbpmKieServerExtension.disposeContainer No container with id test_drl_nn_01_1 found
> 31-Jan-2017 14:50:13.002 INFO [http-nio-8000-exec-12] org.kie.server.services.impl.KieServerImpl.disposeContainer Container test_drl_nn_01_1 (for release id com.ge.hc.services.rs:test_drl_nn_01:1) successfully stopped
> Step 5: Try executing the rule. No container available hence the rule didnt get executed.
> Step 6: Modify the rule logic and create the new KJAR
> Step 7: Create container and we get the below message.
> 31-Jan-2017 15:01:44.333 WARNING [http-nio-8000-exec-10] org.kie.server.services.jbpm.ui.JBPMUIKieServerExtension.createContainer Unable to create image reference for container test_drl_nn_01_1 due to null
> 31-Jan-2017 15:01:44.334 INFO [http-nio-8000-exec-10] org.kie.server.services.impl.KieServerImpl.createContainer Container test_drl_nn_01_1 (for release id com.ge.hc.services.rs:test_drl_nn_01:1) successfully started
> Step 8: execute the rule. 
> We observe the latest changes made to the rule logic is not reflecting in the container and only the old(OLD KJAR WITH OLD RULE LOGIC) contanier got created.
> This happens very sporadically and not always



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list