[jboss-jira] [JBoss JIRA] (DROOLS-781) KIE Scanner - 6.1.0.Final - not Loading LATEST kJAR

Zahid Ahmed Prs (JIRA) issues at jboss.org
Thu May 7 13:13:46 EDT 2015


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

Zahid Ahmed Prs commented on DROOLS-781:
----------------------------------------

Hi Mario,

following is our application environment.
1. Workbench 6.1.0.final deployed on machine A With a local and remote repository configured. At build and deploy time jar is deployed in local and remote repository. Remote repository (NEXUS) is hosted on machine A.

2. Drools 6.1.0.final application, with KIE SCANNER, is running on machine B.  Maven settings.xml has both the remote repository and guvnor-m2-repo configured in an active profile.

3. We create and deploy the rule kjar version 1.0.
4. Start application execute rules
5. Update the rule in workbench. Deploy the new rule package with an incremented version 1.1
6. Wait for KIESCANNER to pick the new version.
7. KIE scanner time is 10 seconds.
8. Even after 2 minutes KIE scanner is not picking updated kar. 

 Just to add that i checked kie scanner on drools 6.2.0.final version and KIE SCANNER is working fine with 6.2.0.final.

> KIE Scanner - 6.1.0.Final - not Loading LATEST kJAR
> ---------------------------------------------------
>
>                 Key: DROOLS-781
>                 URL: https://issues.jboss.org/browse/DROOLS-781
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.1.0.Final
>         Environment: KIE-Workbench 6.1.0.Final . 
> Drools Runtime Engine 6.1.0.Final
> Kie-CI 6.1.0.Final
>            Reporter: Zahid Ahmed Prs
>            Assignee: Mario Fusco
>              Labels: drools-core, kie, scanner
>
> Hi Team,
> I am working on Drolls 6.1.0.Final. And my LATEST assets are not getting loaded. We have created a kJar 1.0 with 5 rules in KIE-Workbench 6.1.0.Final. We start our application server with KContainer having ReleaseId(gtoup, Artifact , LATEST). Rules are firing. Now add another rule in workbench increment the kJar version 1.1 and perform build and deploy.  After waiting for 5mins fire the rules in application, LATEST Version IS NOT downloaded in m2 local repo and old rules are getting fired. I even tries with setting maven's update policy as interval:1, but in vain. 
> KIE Scanner is only getting triggered if I manually change the latest version and last updated in  metadata.xml in local m2 repo. In this case KIE Scanner loads the new rules.
> Kindly let us know what needs to be done.
> Similar Issue :
> Below JIRA says fixed in 6.1.0.Beta4 but it still exists in 6.1.0.Final
> [DROOLS-477] KieScanner is not working as expected - JBoss Issue Tracker



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list