[JBoss JIRA] (WFCORE-3948) Potential race condition on deployment of EAR when Class-Path manifest entry is in use
by Cheng Fang (Jira)
[ https://issues.jboss.org/browse/WFCORE-3948?page=com.atlassian.jira.plugi... ]
Cheng Fang commented on WFCORE-3948:
------------------------------------
We've seen intermittent deployment failures due to this issue. I haven't been able to reproduce it, but I suspect it will be if we increase the number of sub-deployments inside the EAR. All sub-deployments (ejb and appclient) contain manifest.mf with class-path entries.
> Potential race condition on deployment of EAR when Class-Path manifest entry is in use
> --------------------------------------------------------------------------------------
>
> Key: WFCORE-3948
> URL: https://issues.jboss.org/browse/WFCORE-3948
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Stuart Douglas
> Priority: Major
>
> Attachments#ADDITIONAL_MODULES is attached to the top level DU, but modified by sub deployments in ManifestClassPathProcessor#createAdditionalModule without any sort of synchronisation. This can result in ConcurrentModificationException when the list is read/written to by other sub deployments at the same time.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-4481) [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
by Elizabeth Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-4481?page=com.atlassian.jira.plugi... ]
Elizabeth Clayton updated DROOLS-4481:
--------------------------------------
Description:
*Requirements*
It should be possible to generate data types from imported data models (java classes).
* As a user I want to be able to use data type definitions that are structured similar to Java data object models (classes) that I have defined externally.
* As I user I want to be able to edit and update data objects that have been converted to data types, so that I can manually update the definitions.
Import/convert data objects:
* 5 levels deep can “introspect” and convert data model, beyond that the data type would be “any.”
* Import (convert) only within the Data Type tab, this is not a feature of the Import/Include function as import DO’s is not supported in the DMN spec. --
*Current scenario*
Currently, users can create Data Objects on Business Central. See:
!2019-08-26 17.48.30.gif|width=600!
However users cannot re-use Data Objects as Data Types.
---
*Description*
Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
!Screen Shot 2019-08-26 at 18.11.01.png|width=600!
---
*Questions to clarify at requirement level*
1) Some DOs can be quite complex and some fields can be impossible to guess.
- Person
-- name (Some strange type)
-- age (Integer)
What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?
was:
*Requirement*
It should be possible to generate data types from imported data models (java classes).
---
*Current scenario*
Currently, users can create Data Objects on Business Central. See:
!2019-08-26 17.48.30.gif|width=600!
However users cannot re-use Data Objects as Data Types.
---
*Description*
Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
!Screen Shot 2019-08-26 at 18.11.01.png|width=600!
---
*Questions to clarify at requirement level*
1) Some DOs can be quite complex and some fields can be impossible to guess.
- Person
-- name (Some strange type)
-- age (Integer)
What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?
> [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
> ------------------------------------------------------------------------------
>
> Key: DROOLS-4481
> URL: https://issues.jboss.org/browse/DROOLS-4481
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Elizabeth Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
> Attachments: 2019-08-26 17.48.30.gif, Screen Shot 2019-08-26 at 18.11.01.png
>
>
> *Requirements*
> It should be possible to generate data types from imported data models (java classes).
> * As a user I want to be able to use data type definitions that are structured similar to Java data object models (classes) that I have defined externally.
> * As I user I want to be able to edit and update data objects that have been converted to data types, so that I can manually update the definitions.
> Import/convert data objects:
> * 5 levels deep can “introspect” and convert data model, beyond that the data type would be “any.”
> * Import (convert) only within the Data Type tab, this is not a feature of the Import/Include function as import DO’s is not supported in the DMN spec. --
> *Current scenario*
> Currently, users can create Data Objects on Business Central. See:
> !2019-08-26 17.48.30.gif|width=600!
> However users cannot re-use Data Objects as Data Types.
> ---
> *Description*
> Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
> !Screen Shot 2019-08-26 at 18.11.01.png|width=600!
> ---
> *Questions to clarify at requirement level*
> 1) Some DOs can be quite complex and some fields can be impossible to guess.
> - Person
> -- name (Some strange type)
> -- age (Integer)
> What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
> 2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-4513) s2i build fails at KieServerContainerVerifier without appropriate logging when kmodule.xml schema validation fails
by Filippe Spolti (Jira)
[ https://issues.jboss.org/browse/DROOLS-4513?page=com.atlassian.jira.plugi... ]
Filippe Spolti reassigned DROOLS-4513:
--------------------------------------
Assignee: Filippe Spolti (was: Ant Stephenson)
> s2i build fails at KieServerContainerVerifier without appropriate logging when kmodule.xml schema validation fails
> ------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4513
> URL: https://issues.jboss.org/browse/DROOLS-4513
> Project: Drools
> Issue Type: Bug
> Components: build, kie server
> Affects Versions: 7.14.0.Final, 7.18.0.Final, 7.24.0.Final
> Environment: OpenShift 3.11 with rhdm72-prod-immutable-kieserver.yaml/rhdm73-prod-immutable-kieserver.yaml
> Reporter: Hiroko Miura
> Assignee: Filippe Spolti
> Priority: Major
> Labels: support
> Attachments: ruleTest.zip
>
>
> If multiple ksession are defined in kmodule.xml and Event Lister is set more than one ksession, s2i build fails at KieServerContainerVerifier with the following error.
> {noformat}
> [main] ERROR org.kie.server.services.impl.KieServerContainerVerifier - Cannot find KieModule: com.redhat.gss:ruleTest:1.0.0-SNAPSHOT
> java.lang.RuntimeException: Cannot find KieModule: com.redhat.gss:ruleTest:1.0.0-SNAPSHOT
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:186)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:172)
> at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:65)
> at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:53)
> at org.kie.server.services.impl.KieServerContainerVerifier.verify(KieServerContainerVerifier.java:40)
> at org.kie.server.services.impl.KieServerContainerVerifier.main(KieServerContainerVerifier.java:119)
> at org.kie.server.services.impl.KieServerContainerVerifier.main(KieServerContainerVerifier.java:101)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> [main] ERROR org.kie.server.services.impl.KieServerContainerVerifier - com.redhat.gss:ruleTest:1.0.0-SNAPSHOT not verified.
> ERROR Aborting due to error code 1 from kie server container verification
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-3652) DMN popover - Enter to apply
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-3652?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-3652:
--------------------------------
Description:
When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
!Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
h3. Clarified behavior
- "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
- "ESC" = close without apply in every case
- "Enter" when dropdown is focused, apply and close
- "Space" open the data type dropdown
- "Arrow keys" navigate in dropdown
was:
When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
!Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
h3. Clarified behavior
- "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
- "ESC" = close without apply in every case
- "Enter" when dropdown is focused, apply and close
- "Space" open the data type dropdown
> DMN popover - Enter to apply
> -----------------------------
>
> Key: DROOLS-3652
> URL: https://issues.jboss.org/browse/DROOLS-3652
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Reporter: Elizabeth Clayton
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: UX, drools-tools
> Attachments: Screen Shot 2019-02-13 at 1.20.35 PM.png
>
>
> When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
> !Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
> p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
> h3. Clarified behavior
> - "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
> - "ESC" = close without apply in every case
> - "Enter" when dropdown is focused, apply and close
> - "Space" open the data type dropdown
> - "Arrow keys" navigate in dropdown
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-3652) DMN popover - Enter to apply
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-3652?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-3652:
--------------------------------
Description:
When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
!Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
h3. Clarified behavior
- "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
- "ESC" = close without apply in every case
- "Enter" when dropdown is focused, apply and close
- "Space" open the data type dropdown
was:
When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
!Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
h3. Clarified behavior
- "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
- "ESC" = close without apply in every case
- "Enter" when dropdown is focused, apply and close
> DMN popover - Enter to apply
> -----------------------------
>
> Key: DROOLS-3652
> URL: https://issues.jboss.org/browse/DROOLS-3652
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Reporter: Elizabeth Clayton
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: UX, drools-tools
> Attachments: Screen Shot 2019-02-13 at 1.20.35 PM.png
>
>
> When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
> !Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
> p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
> h3. Clarified behavior
> - "Enter" = apply and close in every case, even when the dropdown is focused (but not open)
> - "ESC" = close without apply in every case
> - "Enter" when dropdown is focused, apply and close
> - "Space" open the data type dropdown
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-4557) Missing semantic validation of DMN file
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-4557?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-4557:
-----------------------------------
Description:
If a semantically wrong file is parsed by the marshaller, exception may be thrown but they are not meaningfull.
As example, the attached file raise a NPE at `DMNMarshallerStandalone` because at this line ` Node sourceNode = Optional.ofNullable(elems.get(sourceId)).map(Entry::getValue).orElse(textAnnotations.get(sourceId));` elemens is empty.
So, even if the file is syntactically correct, it is semantically wrong; but this semantic check seems not implemented.
`
was:
If a semantically wrong file is parsed by the marshaller, exception may be thrown but they are not meaningfull.
As example, the attached file raise a NPE at `DMNMarshallerStandalone` because at this line ` Node sourceNode = Optional.ofNullable(elems.get(sourceId)).map(Entry::getValue).orElse(textAnnotations.get(sourceId));` elemens is empty.
So, even if the file is sintactically correct, it is semantically wrong; but this semantic check seems not implemented.
`
> Missing semantic validation of DMN file
> ---------------------------------------
>
> Key: DROOLS-4557
> URL: https://issues.jboss.org/browse/DROOLS-4557
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Gabriele Cardosi
> Assignee: Michael Anstis
> Priority: Major
> Attachments: E3083400-878D-49DB-8E72-105FDB6BAF44.dmn
>
>
> If a semantically wrong file is parsed by the marshaller, exception may be thrown but they are not meaningfull.
> As example, the attached file raise a NPE at `DMNMarshallerStandalone` because at this line ` Node sourceNode = Optional.ofNullable(elems.get(sourceId)).map(Entry::getValue).orElse(textAnnotations.get(sourceId));` elemens is empty.
> So, even if the file is syntactically correct, it is semantically wrong; but this semantic check seems not implemented.
> `
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (DROOLS-4557) Missing semantic validation of DMN file
by Gabriele Cardosi (Jira)
Gabriele Cardosi created DROOLS-4557:
----------------------------------------
Summary: Missing semantic validation of DMN file
Key: DROOLS-4557
URL: https://issues.jboss.org/browse/DROOLS-4557
Project: Drools
Issue Type: Bug
Components: DMN Editor
Reporter: Gabriele Cardosi
Assignee: Michael Anstis
Attachments: E3083400-878D-49DB-8E72-105FDB6BAF44.dmn
If a semantically wrong file is parsed by the marshaller, exception may be thrown but they are not meaningfull.
As example, the attached file raise a NPE at `DMNMarshallerStandalone` because at this line ` Node sourceNode = Optional.ofNullable(elems.get(sourceId)).map(Entry::getValue).orElse(textAnnotations.get(sourceId));` elemens is empty.
So, even if the file is sintactically correct, it is semantically wrong; but this semantic check seems not implemented.
`
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months
[JBoss JIRA] (WFLY-12446) Memory leak in StatelessSessionComponent
by Jaikiran Pai (Jira)
[ https://issues.jboss.org/browse/WFLY-12446?page=com.atlassian.jira.plugin... ]
Jaikiran Pai commented on WFLY-12446:
-------------------------------------
> Jaikiran Pai you are welcome, hope you have it running smoothly now.
I'm just a lurker :) The issue was noticed and reported by [~jbaesner].
> To confirm that this is expected flow, here is a spec quote, namely 5.6.1
That does indeed help. Thank you for providing these details.
> Memory leak in StatelessSessionComponent
> ----------------------------------------
>
> Key: WFLY-12446
> URL: https://issues.jboss.org/browse/WFLY-12446
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, EJB
> Affects Versions: 17.0.1.Final
> Reporter: Joerg Baesner
> Assignee: Cheng Fang
> Priority: Major
> Attachments: dump-weld.png, playground-jee8.zip, server.log.gz, wfly-12446-heap-dump.png
>
>
> When running the attached reproducer application and doing a memory analysis afterwards, it looks like a memory leak, e. g.
> {code}
> One instance of "org.jboss.as.ejb3.component.stateless.StatelessSessionComponent" loaded by "org.jboss.modules.ModuleClassLoader @ 0x5e0fbc2e0" occupies 936,593,520 (96.13%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentLinkedQueue$Node" loaded by "<system class loader>".
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 10 months