[JBoss JIRA] (WFLY-13051) provide setRemoveOnCancelPolicy on ManagedScheduledExecutorService
by nimo stephan (Jira)
nimo stephan created WFLY-13051:
-----------------------------------
Summary: 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
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)
6 years, 3 months
[JBoss JIRA] (DROOLS-4919) Long running query at kie-server startup
by Jonathan Fisher (Jira)
[ https://issues.redhat.com/browse/DROOLS-4919?page=com.atlassian.jira.plug... ]
Jonathan Fisher commented on DROOLS-4919:
-----------------------------------------
Still hoping for an answer on this. We have to stagger our kie-server startups because a huge amount of data is being read off that table.
Thank you,
-Jonathan
> Long running query at kie-server startup
> ----------------------------------------
>
> Key: DROOLS-4919
> URL: https://issues.redhat.com/browse/DROOLS-4919
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 7.28.0.Final
> Reporter: Danny Rucker
> Assignee: Maciej Swiderski
> Priority: Major
>
> The following query is executed at start up of kie-server
> ```
> select vil.processInstanceId, vil.processId, vil.id, vil.variableId, vil.value from VariableInstanceLog vil where vil.id in (select MAX(v.id) from VariableInstanceLog v group by v.variableId, v.processInstanceId)
> ```
> This is causing some issues with getting kie-server to start up.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4988) Test Scenario: improve DMN validation
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-4988?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-4988:
--------------------------------
Description:
Add a check to verify if a simple type has been changed to a structured type. Please consider expression columns too
Use case to cover:
- data type customString in a DMN defined as alias of String
- test scenario created (customString will generate a single column because it is a simple type)
- data type changed of customString to structure
- validation error in test scenario
We will need to check also validation of test scenario expression columns (= column where user map the whole object)
EDIT:
String to List<String> should be already covered by current validation implementation
was:Add a check to verify if a simple type has been changed to a structured type. Please consider expression columns too
> Test Scenario: improve DMN validation
> -------------------------------------
>
> Key: DROOLS-4988
> URL: https://issues.redhat.com/browse/DROOLS-4988
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
>
> Add a check to verify if a simple type has been changed to a structured type. Please consider expression columns too
> Use case to cover:
> - data type customString in a DMN defined as alias of String
> - test scenario created (customString will generate a single column because it is a simple type)
> - data type changed of customString to structure
> - validation error in test scenario
> We will need to check also validation of test scenario expression columns (= column where user map the whole object)
> EDIT:
> String to List<String> should be already covered by current validation implementation
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4988) Test Scenario: improve DMN validation
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-4988?page=com.atlassian.jira.plug... ]
Daniele Zonca edited comment on DROOLS-4988 at 2/3/20 11:08 AM:
----------------------------------------------------------------
[~jomarko]
Use case to cover:
- data type {{customString}} in a DMN defined as alias of String
- test scenario created ({{customString}} will generate a single column because it is a simple type)
- data type changed of {{customString}} to structure
- validation error in test scenario
We will need to check also validation of test scenario expression columns (= column where user map the whole object)
EDIT:
String to List<String> should be already covered by current validation implementation
was (Author: danielezonca):
[~jomarko]
Use case to cover:
- data type {{customString}} in a DMN defined as alias of String
- test scenario created ({{customString}} will generate a single column because it is a simple type)
- data type changed of {{customString}} to structure
- validation error in test scenario
We will need to check also validation of test scenario expression columns (= column where user map the whole object)
> Test Scenario: improve DMN validation
> -------------------------------------
>
> Key: DROOLS-4988
> URL: https://issues.redhat.com/browse/DROOLS-4988
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
>
> Add a check to verify if a simple type has been changed to a structured type. Please consider expression columns too
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4988) Test Scenario: improve DMN validation
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-4988?page=com.atlassian.jira.plug... ]
Daniele Zonca commented on DROOLS-4988:
---------------------------------------
[~jomarko]
Use case to cover:
- data type {{customString}} in a DMN defined as alias of String
- test scenario created ({{customString}} will generate a single column because it is a simple type)
- data type changed of {{customString}} to structure
- validation error in test scenario
We will need to check also validation of test scenario expression columns (= column where user map the whole object)
> Test Scenario: improve DMN validation
> -------------------------------------
>
> Key: DROOLS-4988
> URL: https://issues.redhat.com/browse/DROOLS-4988
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
>
> Add a check to verify if a simple type has been changed to a structured type. Please consider expression columns too
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (WFCORE-4832) Two error dialog messages when DC is starting and user executes lifecycle operations on slave servers
by Yeray Borges (Jira)
Yeray Borges created WFCORE-4832:
------------------------------------
Summary: Two error dialog messages when DC is starting and user executes lifecycle operations on slave servers
Key: WFCORE-4832
URL: https://issues.redhat.com/browse/WFCORE-4832
Project: WildFly Core
Issue Type: Bug
Reporter: Yeray Borges
Assignee: Jeff Mesnil
When the DC is starting, any lifecycle operation on a server that belongs to a slave shows two error dialogs, one with a description and the other without any explanation.
This is more a user experience issue. Only one message dialog should be displayed under this scenario.
In order to correctly test this scenario, ensure that these two issues are merged: WFCORE-4830 and WFCORE-4764
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months