I'm using Drools 7 + Sprint boot + Hibernate JPA. I didn't use the drl file-system for my project. I generate the drool file at runtime using the java program and save it to my db. There after i will load into my drools as follow. Everything working fine for me. Only thing when i used the cron expression is not updated in my drools session. Let's say initially in my db have one rule with timer cron-expression to trigger every 2 mins. When load the rules from db in the first time, rules are load in drools session and Cron trigger every 2 mins. Thereafter i have updated cron-expression to trigger every 5 mins in my database and reload it without stop my application, and rules are loaded. But now trigger was executed every 2 mins and every 5 mins. The previous cron still running.
So i want to remove all active drools stuff like scheduled cron rules before reload. And also how to stop scheduled cron in drools. Did i miss anything in my drools configuration.
Thanks in advance.
Drools 7 - Timer Cron can't stop for loaded rules from DB
208 Views Asked by Thilakar Raj At
0
There are 0 best solutions below
Related Questions in SPRING-BOOT
- Multi Tenancy in Spring - Partitioned Data Approach
- I have created a spring boot application with spring data JPA, Rest ,oracle and i am getting this ORA-00933: SQL command not properly ended
- Springboot: How to get an entity optional property and check null?
- How to create jasper report in spring boot rest api with jpa
- JSON Body is Not Passing Certain Strings
- Unresolved reference error is showing up after adding the dgs codegen plugin successfully
- Transaction silently rolled back
- JPA buddy error when generating JPA Entities from DB
- Migrating Spring Boot 2 to 3 throws org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
- Hibernate SQL Error: Missing FROM-clause entry for table "th1_1"
- Appwrite and / or Spring Boot Backend
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. I'm using Postgresql
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- springboot class org.hibernate.mapping.Bag cannot be cast to class org.hibernate.mapping.SimpleValue
- Spring security causing 404 with message "No static resource login"
Related Questions in CRON
- is there a solution to run cron job command in cpanel only from my cPanel host?
- crontab run every minute after 9pm
- Python3.11 can't open file [Errno 2] No such file or directory
- Overwhelming of the Agenda cron jobs on the server
- How to schedule cron job in spring boot to run for every 5 minutes with in specific period
- Building a service which sends emails everyday to the user at a particular time. (NOT RUNNING)
- Extend function execution on product update via a Cron Job or REST_API
- Activity status in Node js
- Azure YAML Pipeline schedule to run on the last Sunday of the month at 4 AM
- Run scheduler on authenticated api
- I would like to Create a schedule in Databricks that runs a job on 1st working day of every month
- Add and Replace Jobs in Crontab
- Moodle Forum notifctions
- python3 working on terminal but not on cron job
- Context Deadline exceeded and WebSocket Url timeout issue
Related Questions in SPRING-DATA-JPA
- How to create jasper report in spring boot rest api with jpa
- Hibernate SQL Error: Missing FROM-clause entry for table "th1_1"
- Is there a way to fetch Associated Entity from second level Cache instead of hitting the DB in Hibernate?
- Spring JPA Data Auditing - How to design it?
- How to insert values from two forms (spring boo)t into same row in SQL database row
- The return type is incompatible with '@NonNull Page<M>' returned from PagingAndSortingRepository<M,String>.findAll(Pageable)
- Spring Data Mongo Property Expression Query not returning any results
- Spring Boot JPA (HSQLDB): INSERT using SELECT from data.sql, unexpected token: SELECT
- Javers in microservice architecture
- Not able to fetch results based on OrderBy using CriteriaBuilder
- Apply a common criteria to all Spring JPA repository methods
- Concurrently open statements
- Spring Java API returning byte[] variable with ""
- Returing List vs Set of Entity in Spring Data JPA
- What is the best way to validate that a foreign key is valid with Spring Data?
Related Questions in DROOLS
- how to use global variable in drools
- Unable to parse file 'pom.xml'
- How to write functions written in the decision manager
- Wrong answer when checking array of objects where the condition built from a group with "or" between objects, checked with other group (with "and")
- Drools 8 OSGi support
- How to inject KieRuntimeBuilder - (Migrating to Drools 8)
- Limitation of IN Operator items in drl, INoperator doesn't support huge list
- Different result for query with and without using agenda-group
- More than one condition in drools spreadsheet
- DROOLS DRL Rule Unit with RuleUnitData declaration isn't working
- KieServices are not injecting with guice
- Drools facts filtering with eval does not work for boolean with quotes ""
- Drools to decide fields to display in UI
- How to get Drools BPMN2 to evaluate Data Assignments as MVEL Expressions?
- Kogito DMN Data Types Create New Data Type Dictionary/Map
Related Questions in DROOLS-FLOW
- Remaining inputs ignored after first input matched with Rule is completed
- Issue while Executing BusinessRule in Kie Business-Central
- eclipse drools plugin giving error "source not found" while debugging drl file
- Drools - How to validate dynamically generated Drools rules from an ftl template file; before firing them?
- How to design an template in Drools in order to pass list and map as an argument to generate the rules dynamically?
- How to pass and read the vlaues from map in Drools DRT template?
- Unable to update the fact even when rule is fired
- Drools check if one list contains all elements of another list
- Drools/ Kogito Dynamic runtime flow/ process
- While reading Drools Drt with some given Parameter, The condition part in rule gets disappear for the Empty String or null values
- While reading Drools Drt with some given Parameters, The condition part in rule gets disappear for the Empty Values as well as for Empty String
- Getting problem while comparing string in Drools XLS decision table
- The Workbench Drools project does not work after closing or recompiling
- Drools - Send input data to business process (JBPM) via REST
- drools how to fire specified group dynamically
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?