jbossdemocentral/brms-coolstore-demo

Created the demo through OpenShift Online - KIEScanner timer doesn't run

Closed this issue · 9 comments

I created the demo through OpenShift Online. Was able to update decision table, version it, version the project, deploy out to server. I've been waiting for a bit but the KIEScanner time doesn't go off so the new artifact doesn't get deployed. What am I missing that you did on your video?

The online cartridge is based on 6.0.2 product, that is not a smooth as the current 6.1 versions. If you do not see the KieScanner triggering then you most likely are not using a Large gear? This is the only one that allows that version to start a separate thread for the scanner...

I'm using a large gear.

2015/07/16 15:28:10,468 INFO stdout com.vaadin.ui.Button$ClickEvent[source=true]
2015/07/16 15:28:42,250 INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl KieModule was added:MemoryKieModule[ ReleaseId=com.redhat:coolstore:2.1.0]
2015/07/16 15:29:02,552 INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl KieModule was added:MemoryKieModule[ ReleaseId=com.redhat:coolstore:2.1.0]
2015/07/16 15:29:21,368 INFO stdout com.vaadin.ui.Button$ClickEvent[source=true]
2015/07/16 20:20:49,386 INFO stdout com.vaadin.ui.Button$ClickEvent[source=true]
2015/07/16 20:48:55,864 INFO org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder Incremental build request received for: default://master@coolstore-demo/coolstore/pom.xml (updated).
2015/07/16 20:48:55,951 INFO org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder Incremental build request being processed: PathImpl{uri='default://master@coolstore-demo/coolstore', fileName='coolstore', attrs={}} (updated).
2015/07/16 20:48:57,677 INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl KieModule was added:MemoryKieModule[ ReleaseId=com.redhat:coolstore:2.1.1]
2015/07/16 20:49:05,746 INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl KieModule was added:MemoryKieModule[ ReleaseId=com.redhat:coolstore:2.1.1]
2015/07/16 20:49:19,398 INFO stdout com.vaadin.ui.Button$ClickEvent[source=true]

I don't see the KieScanner picking anything up, but it is also only BRMS 6.0.2 available on OpenShift until v3 cartridge is made available. Might just want to retry creating the gear from scratch... and you are using this backing project?

https://github.com/jbossdemocentral/cartridge-bpmPaaS-coolstore-demo

I created two projects.

Project A used the OpenShift one click install from https://github.com/jbossdemocentral/brms-coolstore-demo

Project B used the YAML custom cartridge at https://raw.githubusercontent.com/eschabell/cartridge-bpmPaaS-coolstore-demo/master/metadata/manifest.yml

Both do not kick off the KIEScanner.

Project C used the OpenShift one click install from https://github.com/jbossdemocentral/cartridge-bpmPaaS-coolstore-demo

This also did not kick off KIEScanner.

I will take a look when I get a chance...

I validated that the local install installation works correctly - KIEScanner (Timer) fires off.

Expecting the problem is online product version of 6.0.2, the patch used in the local install fixes these issues and will be propagated when v3 is released.