[JBoss JIRA] (WFLY-13051) provide setRemoveOnCancelPolicy on ManagedScheduledExecutorService
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-13051?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty updated WFLY-13051:
---------------------------------------
Comment: was deleted
(was: [~nimo22] Can you please provide the steps to recreate this issue?)
> provide setRemoveOnCancelPolicy on ManagedScheduledExecutorService
> ------------------------------------------------------------------
>
> Key: WFLY-13051
> URL: https://issues.redhat.com/browse/WFLY-13051
> Project: WildFly
> Issue Type: Enhancement
> Components: Concurrency Utilities
> Affects Versions: 19.0.0.Beta1
> Reporter: nimo stephan
> Assignee: Eduardo Martins
> Priority: Major
>
> Using
> {code:java}
> @Resource
> private ManagedScheduledExecutorService executor;
> {code}
> provides no possiblity to setRemoveOnCancelPolicy to true.
> A casting within a method:
> {code:java}
> ((ScheduledThreadPoolExecutor) executor).setRemoveOnCancelPolicy(true);
> {code}
> throws the error:
> {code:java}
> Caused by: javax.ejb.EJBException: java.lang.ClassCastException: class org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter cannot be cast to class java.util.concurrent.ScheduledThreadPoolExecutor (org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter is in unnamed module of loader 'org.glassfish.javax.enterprise.concurrent' @a93b7af; java.util.concurrent.ScheduledThreadPoolExecutor is in module java.base of loader 'bootstrap')
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:246)
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:388)
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68)
> {code}
> Please provide option to cast or if not possible to add the property
> {code:java}
> setRemoveOnCancelPolicy()
> {code}
> within the object ManagedScheduledExecutorService. Because without it, we cannot remove a task from the queue with "future.cancel(false)".
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (WFLY-13051) provide setRemoveOnCancelPolicy on ManagedScheduledExecutorService
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-13051?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty commented on WFLY-13051:
--------------------------------------------
[~nimo22] [~emmartins] Can you please provide the steps to recreate this issue?
> provide setRemoveOnCancelPolicy on ManagedScheduledExecutorService
> ------------------------------------------------------------------
>
> Key: WFLY-13051
> URL: https://issues.redhat.com/browse/WFLY-13051
> Project: WildFly
> Issue Type: Enhancement
> Components: Concurrency Utilities
> Affects Versions: 19.0.0.Beta1
> Reporter: nimo stephan
> Assignee: Eduardo Martins
> Priority: Major
>
> Using
> {code:java}
> @Resource
> private ManagedScheduledExecutorService executor;
> {code}
> provides no possiblity to setRemoveOnCancelPolicy to true.
> A casting within a method:
> {code:java}
> ((ScheduledThreadPoolExecutor) executor).setRemoveOnCancelPolicy(true);
> {code}
> throws the error:
> {code:java}
> Caused by: javax.ejb.EJBException: java.lang.ClassCastException: class org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter cannot be cast to class java.util.concurrent.ScheduledThreadPoolExecutor (org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter is in unnamed module of loader 'org.glassfish.javax.enterprise.concurrent' @a93b7af; java.util.concurrent.ScheduledThreadPoolExecutor is in module java.base of loader 'bootstrap')
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:246)
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:388)
> at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68)
> {code}
> Please provide option to cast or if not possible to add the property
> {code:java}
> setRemoveOnCancelPolicy()
> {code}
> within the object ManagedScheduledExecutorService. Because without it, we cannot remove a task from the queue with "future.cancel(false)".
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5387) Rule Names are converted GDST <-> XLS
by Jozef Marko (Jira)
Jozef Marko created DROOLS-5387:
-----------------------------------
Summary: Rule Names are converted GDST <-> XLS
Key: DROOLS-5387
URL: https://issues.redhat.com/browse/DROOLS-5387
Project: Drools
Issue Type: Bug
Components: Guided Decision Table Editor, XLS Decision Table Editor
Reporter: Jozef Marko
Assignee: Toni Rikkola
After DROOLS-5333 we should ensure custom rule names are correctly converted in both ways GDST->XLS and XLS->GDST.
Currently even if in GDST we declared custom rule names in the converted XLS are used some autogonerated values as [tablename_rowindex].
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5333) Allow to customize rule names in guided decision table editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5333?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5333:
--------------------------------
Description:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen (/)
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affected
- GDST to XLS conversion (x) https://issues.redhat.com/browse/DROOLS-5387
- Tooltip for added check box - (x)
was:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen (/)
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affected
- GDST to XLS conversion
- Tooltip for added check box - (x)
> Allow to customize rule names in guided decision table editor
> -------------------------------------------------------------
>
> Key: DROOLS-5333
> URL: https://issues.redhat.com/browse/DROOLS-5333
> Project: Drools
> Issue Type: Feature Request
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: rulename-column.webm
>
>
> Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
> h3. Check to be done during manual review
> - Guided Rule Templates are not affected (/)
> - Guided Rules are not affected (/)
> - bxms-qe-tests internal are updated
> - Firefox (/)
> - Chrome (/)
> - Create new table, Put value, Save and reopen, Remove value, Save and reopen (/)
> - Open existing table (Pricing loans) (/)
> - Create scesim file to check execution is not affected
> - GDST to XLS conversion (x) https://issues.redhat.com/browse/DROOLS-5387
> - Tooltip for added check box - (x)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5387) Rule Names are converted GDST <-> XLS
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5387?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5387:
--------------------------------
Affects Version/s: 7.39.0.Final
> Rule Names are converted GDST <-> XLS
> -------------------------------------
>
> Key: DROOLS-5387
> URL: https://issues.redhat.com/browse/DROOLS-5387
> Project: Drools
> Issue Type: Bug
> Components: Guided Decision Table Editor, XLS Decision Table Editor
> Affects Versions: 7.39.0.Final
> Reporter: Jozef Marko
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
>
> After DROOLS-5333 we should ensure custom rule names are correctly converted in both ways GDST->XLS and XLS->GDST.
> Currently even if in GDST we declared custom rule names in the converted XLS are used some autogonerated values as [tablename_rowindex].
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5333) Allow to customize rule names in guided decision table editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5333?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5333:
--------------------------------
Description:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affected
- GDST to XLS conversion
- Tooltip for added check box - (x)
was:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affetced
- GDST to XLS conversion
- Help in the changed wizard page
> Allow to customize rule names in guided decision table editor
> -------------------------------------------------------------
>
> Key: DROOLS-5333
> URL: https://issues.redhat.com/browse/DROOLS-5333
> Project: Drools
> Issue Type: Feature Request
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: rulename-column.webm
>
>
> Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
> h3. Check to be done during manual review
> - Guided Rule Templates are not affected (/)
> - Guided Rules are not affected (/)
> - bxms-qe-tests internal are updated
> - Firefox (/)
> - Chrome (/)
> - Create new table, Put value, Save and reopen, Remove value, Save and reopen
> - Open existing table (Pricing loans) (/)
> - Create scesim file to check execution is not affected
> - GDST to XLS conversion
> - Tooltip for added check box - (x)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5333) Allow to customize rule names in guided decision table editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5333?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5333:
--------------------------------
Description:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affetced
- GDST to XLS conversion
- Help in the changed wizard page
was:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans)
- Create scesim file to check execution is not affetced
- GDST to XLS conversion
- Help in the changed wizard page
> Allow to customize rule names in guided decision table editor
> -------------------------------------------------------------
>
> Key: DROOLS-5333
> URL: https://issues.redhat.com/browse/DROOLS-5333
> Project: Drools
> Issue Type: Feature Request
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: rulename-column.webm
>
>
> Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
> h3. Check to be done during manual review
> - Guided Rule Templates are not affected (/)
> - Guided Rules are not affected (/)
> - bxms-qe-tests internal are updated
> - Firefox (/)
> - Chrome (/)
> - Create new table, Put value, Save and reopen, Remove value, Save and reopen
> - Open existing table (Pricing loans) (/)
> - Create scesim file to check execution is not affetced
> - GDST to XLS conversion
> - Help in the changed wizard page
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5333) Allow to customize rule names in guided decision table editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5333?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5333:
--------------------------------
Description:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen (/)
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affected
- GDST to XLS conversion
- Tooltip for added check box - (x)
was:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans) (/)
- Create scesim file to check execution is not affected
- GDST to XLS conversion
- Tooltip for added check box - (x)
> Allow to customize rule names in guided decision table editor
> -------------------------------------------------------------
>
> Key: DROOLS-5333
> URL: https://issues.redhat.com/browse/DROOLS-5333
> Project: Drools
> Issue Type: Feature Request
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: rulename-column.webm
>
>
> Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
> h3. Check to be done during manual review
> - Guided Rule Templates are not affected (/)
> - Guided Rules are not affected (/)
> - bxms-qe-tests internal are updated
> - Firefox (/)
> - Chrome (/)
> - Create new table, Put value, Save and reopen, Remove value, Save and reopen (/)
> - Open existing table (Pricing loans) (/)
> - Create scesim file to check execution is not affected
> - GDST to XLS conversion
> - Tooltip for added check box - (x)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months
[JBoss JIRA] (DROOLS-5333) Allow to customize rule names in guided decision table editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5333?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5333:
--------------------------------
Description:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox (/)
- Chrome (/)
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans)
- Create scesim file to check execution is not affetced
- GDST to XLS conversion
- Help in the changed wizard page
was:
Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
h3. Check to be done during manual review
- Guided Rule Templates are not affected (/)
- Guided Rules are not affected (/)
- bxms-qe-tests internal are updated
- Firefox
- Chrome
- Create new table, Put value, Save and reopen, Remove value, Save and reopen
- Open existing table (Pricing loans)
- Create scesim file to check execution is not affetced
- GDST to XLS conversion
- Help in the changed wizard page
> Allow to customize rule names in guided decision table editor
> -------------------------------------------------------------
>
> Key: DROOLS-5333
> URL: https://issues.redhat.com/browse/DROOLS-5333
> Project: Drools
> Issue Type: Feature Request
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: rulename-column.webm
>
>
> Add a column into the GDST where you can set the rule name for the rule that is generated from that row.
> h3. Check to be done during manual review
> - Guided Rule Templates are not affected (/)
> - Guided Rules are not affected (/)
> - bxms-qe-tests internal are updated
> - Firefox (/)
> - Chrome (/)
> - Create new table, Put value, Save and reopen, Remove value, Save and reopen
> - Open existing table (Pricing loans)
> - Create scesim file to check execution is not affetced
> - GDST to XLS conversion
> - Help in the changed wizard page
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 11 months