[JBoss JIRA] (WFLY-11547) [GSS](7.2.z) Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads
by Teresa Miyar (Jira)
[ https://issues.jboss.org/browse/WFLY-11547?page=com.atlassian.jira.plugin... ]
Teresa Miyar moved JBEAP-16084 to WFLY-11547:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-11547 (was: JBEAP-16084)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
(was: JCA)
> [GSS](7.2.z) Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads
> -----------------------------------------------------------------------------------------
>
> Key: WFLY-11547
> URL: https://issues.jboss.org/browse/WFLY-11547
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Teresa Miyar
> Assignee: Teresa Miyar
> Priority: Major
>
> The issue is that the xsd says it is using a blocking queue but it is using an incomplete bounded one since there are properties that cannot be set.
> jboss-cli returns:
> {code:java}
> /subsystem=jca/workmanager=default/long-running-threads=default:read-resource-description
> {
> "outcome" => "success",
> "result" => {
> "description" => "A thread pool executor with a bounded queue where threads submittings tasks will not block. Such a thread pool has a core and maximum size and a specified queue length. When a task is submitted, if the number of running threads is less than the core size, a new thread is created. Otherwise, if there is room in the queue, the task is enqueued. Otherwise, if the number of running threads is less than the maximum size, a new thread is created. Otherwise, the task is handed off to the designated handoff executor, if one is specified. Otherwise, the task is discarded.",
> ......
> "handoff-executor" => {
> "type" => STRING,
> "description" => "An executor to delegate tasks to in the event that a task cannot be accepted. If not specified, tasks that cannot be accepted will be silently discarded.",
> "expressions-allowed" => false,
> "nillable" => true,
> "min-length" => 1L,
> "max-length" => 2147483647L,
> "access-type" => "read-write",
> "storage" => "configuration",
> "restart-required" => "all-services"
> },
> ....
> {code}
> But the xsd does not allow to set a hand-off executor for the short/long running threads
> The xsd:
> <xs:annotation>
> <xs:documentation>
> <![CDATA[
> See threads:blocking-bounded-queue-thread-pool.
> ]]>
> </xs:documentation>
> </xs:annotation>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 12 months
[JBoss JIRA] (WFLY-11547) Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads
by Teresa Miyar (Jira)
[ https://issues.jboss.org/browse/WFLY-11547?page=com.atlassian.jira.plugin... ]
Teresa Miyar updated WFLY-11547:
--------------------------------
Summary: Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads (was: [GSS](7.2.z) Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads)
> Inconsistency in JCA Subsystem xsd, boundedqueque is used for worker threads
> ----------------------------------------------------------------------------
>
> Key: WFLY-11547
> URL: https://issues.jboss.org/browse/WFLY-11547
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Teresa Miyar
> Assignee: Teresa Miyar
> Priority: Major
>
> The issue is that the xsd says it is using a blocking queue but it is using an incomplete bounded one since there are properties that cannot be set.
> jboss-cli returns:
> {code:java}
> /subsystem=jca/workmanager=default/long-running-threads=default:read-resource-description
> {
> "outcome" => "success",
> "result" => {
> "description" => "A thread pool executor with a bounded queue where threads submittings tasks will not block. Such a thread pool has a core and maximum size and a specified queue length. When a task is submitted, if the number of running threads is less than the core size, a new thread is created. Otherwise, if there is room in the queue, the task is enqueued. Otherwise, if the number of running threads is less than the maximum size, a new thread is created. Otherwise, the task is handed off to the designated handoff executor, if one is specified. Otherwise, the task is discarded.",
> ......
> "handoff-executor" => {
> "type" => STRING,
> "description" => "An executor to delegate tasks to in the event that a task cannot be accepted. If not specified, tasks that cannot be accepted will be silently discarded.",
> "expressions-allowed" => false,
> "nillable" => true,
> "min-length" => 1L,
> "max-length" => 2147483647L,
> "access-type" => "read-write",
> "storage" => "configuration",
> "restart-required" => "all-services"
> },
> ....
> {code}
> But the xsd does not allow to set a hand-off executor for the short/long running threads
> The xsd:
> <xs:annotation>
> <xs:documentation>
> <![CDATA[
> See threads:blocking-bounded-queue-thread-pool.
> ]]>
> </xs:documentation>
> </xs:annotation>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 12 months
[JBoss JIRA] (JGRP-2288) S3_PING: Under certain conditions, subclusters fail to merge after network partition
by Bela Ban (Jira)
[ https://issues.jboss.org/browse/JGRP-2288?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-2288:
--------------------------------
Done :-)
> S3_PING: Under certain conditions, subclusters fail to merge after network partition
> ------------------------------------------------------------------------------------
>
> Key: JGRP-2288
> URL: https://issues.jboss.org/browse/JGRP-2288
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.15
> Reporter: Nick Sawadsky
> Assignee: Bela Ban
> Priority: Major
> Fix For: 4.0.16, 3.6.17
>
>
> Repro steps:
> 1. Set up a cluster of four nodes, two on one machine (Host 1) and two on another (Host 2). Let's call the nodes A, B, C, and D.
> 2. Configure all 4 nodes with S3_PING as the discovery mechanism. Set remove_all_files_on_view_change to true.
> 3. Start up nodes in the order A, B, C, D.
> 4. In the S3 bucket, there should be a single file with all four nodes listed. Node A should be flagged as the coordinator. Ensure that the UUID for node B is larger than the UUID for node C, when compared as two's complement integers. If this is not the case, shut down all nodes and restart in order. Repeat until the desired relationship is achieved. Note that with two's complement, a UUID having a first hex digit of 8 or higher is treated as negative for comparison purposes. So, for example, a UUID starting with 'a' is less than a UUID starting with 'b' which is less than a UUID starting with '1'.
> 5. On Host 1, use iptables to block all traffic going to and coming from Host 2.
> sudo iptables -A INPUT -s <Host 2 IP addr> -j DROP
> sudo iptables -A OUTPUT -d <Host 2 IP addr> -j DROP
> 6. Allow a few minutes for the nodes to detect the network partition. Eventually you should see two files in the S3 bucket.
> 7. Using Ctrl-C, stop node A.
> 8. You should soon find only a single file in the bucket, containing a single entry for node B. This is a result of the remove_all_files_on_view_change setting on S3_PING, which we set to true to avoid accumulation of old files in the bucket.
> 9. Resolve the network partition:
> sudo iptables -F OUTPUT
> sudo iptables -F INPUT
> 10. You will find that, even after many minutes, the subclusters are not merged.
> I believe the reason why the subclusters are never merged is as follows:
> - MERGE3 on nodes B, C and D uses S3_PING to find members to send INFO messages to. Each one finds only node B in the discovery file. As a result, only node B's view consistency checker has anything to work with.
> - On node B, the consistency checker can see that there are two coordinators, B and C. However, node C has a lower UUID, so node B defers to it to perform the merge. Node C never performs the merge because, as mentioned above, it is not receiving any INFO messages.
> I this this problem would affect FILE_PING as well, and other protocols derived from FILE_PING. Looking at the latest 4.x code, it appears the problem still exists there.
> I think the crux of the issue is that the coordinator on Host 2 (node C) does not re-create its discovery file after it is deleted by node B. Would it be reasonable for FILE_PING.findMembers() to create the discovery file if the node is a coordinator and the file doesn't exist?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 12 months
[JBoss JIRA] (DROOLS-3460) KIE Server REST Command GetObjects with ObjectFilter not working
by Balakrishnan Balasubramanian (Jira)
Balakrishnan Balasubramanian created DROOLS-3460:
----------------------------------------------------
Summary: KIE Server REST Command GetObjects with ObjectFilter not working
Key: DROOLS-3460
URL: https://issues.jboss.org/browse/DROOLS-3460
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 7.15.0.Final
Environment: RHEL 7.5, EAP 7.1.0, Drools 7.15.0.Final
Reporter: Balakrishnan Balasubramanian
Assignee: Maciej Swiderski
Filtering the facts in the GetObjectsCommand doesn't do any object filtering!.
Here are the two code pieces that were used to set the ObjectFilter into GetObjectsCommand, but didn't produce the expected filtered results.
*+Trial 1:+*
{code:java}
ObjectFilter filter = new ObjectFilter() {
@Override
public boolean accept(Object object) {
return object.getClass().getName().equals("a.b.c.PotentialFraudFact");
}
};
Command<?> getObjects = commandsFactory.newGetObjects(filter, "out");
{code}
*+Trial 2:+*
{code:java}
ClassObjectSerializationFilter filter = new ClassObjectSerializationFilter(PotentialFraudFact.class);
Command<?> getObjects = commandsFactory.newGetObjects(filter, "out");
{code}
In the response, the "out" identifier has *all* facts, not just the ones matching the given filter. It's as if it ignores the filter. Also, no error messages appear in the console.
When a ClassObjectFilter is used instead of the aforementioned implementations, a ClassNotFoundException (_shown below_) for the a.b.c.PotentialFraudFact.class occurs. This is incorrect as the deployed container/KJAR has this class!.
{code:java}
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: a.b.c.PotentialFraudFact from [Module "deployment.kie-server.war" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.drools.core.ClassObjectSerializationFilter.accept(ClassObjectSerializationFilter.java:50)
... 73 more
{code}
The issue is with this line https://github.com/kiegroup/drools/blob/4c6856223b8be47b4fc52c35423be8b50... where the class loader used to find the class couldn't find the class that corresponds to the given Fact.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 12 months
[JBoss JIRA] (WFLY-3971) Jar Services in META-INF/services are not loaded from static modules
by Tomas Repel (Jira)
[ https://issues.jboss.org/browse/WFLY-3971?page=com.atlassian.jira.plugin.... ]
Tomas Repel commented on WFLY-3971:
-----------------------------------
Hello [~tiago.matias], I am sorry, this ticket is too old for me to remember what it was about exactly. There is a link to reproducer in my very first comment to this issue. It is 3 yrs old though. There is also a solution in my comment above. This seemed to be working for WF10 and Spring 4.0.x. Things might have changed since then though. If the solution described in this ticket does not work for you it is probably best to create a new issue. You might link it with this issue as well.
> Jar Services in META-INF/services are not loaded from static modules
> --------------------------------------------------------------------
>
> Key: WFLY-3971
> URL: https://issues.jboss.org/browse/WFLY-3971
> Project: WildFly
> Issue Type: Feature Request
> Components: Web (Undertow)
> Affects Versions: 8.1.0.Final, 9.0.0.Final, 10.0.0.Alpha6
> Reporter: Tomas Repel
> Assignee: Stuart Douglas
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> If the web application (war) uses jar file from static module, the content of META-INF/services has no effect. If the jar is located inside WEB-INF/lib, services are loaded successfully.
> Neither adding `Dependencies: my.module.name.com services` into MANIFEST.MF nor adding `services="import"` to jboss-deployment-structure.xml works.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 12 months
[JBoss JIRA] (WFLY-10845) WildFly 13 Infinispan 9.2 Query
by Majid Mostafavi (Jira)
[ https://issues.jboss.org/browse/WFLY-10845?page=com.atlassian.jira.plugin... ]
Majid Mostafavi commented on WFLY-10845:
----------------------------------------
Hi
<?xml version="1.0" encoding="UTF-8"?>
<module name="org.infinispan.query" slot="ispn-9.4" xmlns="urn:jboss:module:1.5">
<resources>
<resource-root path="infinispan-query-9.4.2.Final.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
<module name="org.apache.lucene" slot="5.5.5"/>
<module name="org.hibernate.search.engine" slot="5.10" export="true"/>
<module name="org.hibernate.search.elasticsearch" slot="5.10"/>
<module name="org.infinispan.core" slot="ispn-9.4"/>
<module name="org.infinispan.commons" slot="ispn-9.4"/>
<module name="org.infinispan.query.dsl" slot="ispn-9.4"/>
<module name="org.infinispan.objectfilter" slot="ispn-9.4"/>
<module name="org.infinispan.lucene-directory" slot="ispn-9.4" services="export"/>
<module name="org.infinispan.hibernate-search.directory-provider" slot="ispn-9.4" export="true" services="export"/>
<module name="org.jboss.logging"/>
</dependencies>
</module>
> WildFly 13 Infinispan 9.2 Query
> -------------------------------
>
> Key: WFLY-10845
> URL: https://issues.jboss.org/browse/WFLY-10845
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Reporter: Majid Mostafavi
> Assignee: Paul Ferraro
> Priority: Major
>
> standalone.xml
> {color:#14892c}<cache-container name="gridCache" default-cache="default" module="org.infinispan.query:ispn-9.2">
> <local-cache name="default">
> <locking isolation="REPEATABLE_READ"/>
> <transaction locking="OPTIMISTIC" mode="FULL_XA"/>
> <file-store passivation="true" purge="false"/>
> </local-cache>
> </cache-container>{color}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (DROOLS-3458) Data type constraints: Text
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3458?page=com.atlassian.jira.plugi... ]
Liz Clayton updated DROOLS-3458:
--------------------------------
Description:
Background
Persona: Business analyst or Rules practitioner
Use Cases:
* From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
* From the Data Types tab - as a user I want the ability to define constraints for the following types: Text (Expression and Enumeration.)
Functional considerations/ pre conditions:
* Consider interaction in light of Property panel and consistency.
* Underscore the notion of one-off constraints.
Verification conditions:
* Scrum team and PO review.
was:
Background
Persona: Business analyst or Rules practitioner
Use Cases:
* From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
* From the Data Types tab - as a user I want the ability to define constraints for the following types: Number (Expression and Enumeration.)
Functional considerations/ pre conditions:
* Consider interaction in light of Property panel and consistency.
* Underscore the notion of one-off constraints.
Verification conditions:
* Scrum team and PO review.
> Data type constraints: Text
> ---------------------------
>
> Key: DROOLS-3458
> URL: https://issues.jboss.org/browse/DROOLS-3458
> Project: Drools
> Issue Type: Story
> Components: DMN Editor
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
>
> Background
> Persona: Business analyst or Rules practitioner
> Use Cases:
> * From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
> * From the Data Types tab - as a user I want the ability to define constraints for the following types: Text (Expression and Enumeration.)
> Functional considerations/ pre conditions:
> * Consider interaction in light of Property panel and consistency.
> * Underscore the notion of one-off constraints.
> Verification conditions:
> * Scrum team and PO review.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (DROOLS-3457) Data type constraints: Boolean
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3457?page=com.atlassian.jira.plugi... ]
Liz Clayton updated DROOLS-3457:
--------------------------------
Description:
Background
Persona: Business analyst or Rules practitioner
Use Cases:
* From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
* From the Data Types tab - as a user I want the ability to define constraints for the following types: Number (Expression and Enumeration.)
Functional considerations/ pre conditions:
* Consider interaction in light of Property panel and consistency.
* Underscore the notion of one-off constraints.
Verification conditions:
* Scrum team and PO review.
was:
Background
Persona: Business analyst or Rules practitioner
Use Cases:
* From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
* From the Data Types tab - as a user I want the ability to define constraints for the following types: Number (Expression, Enumeration, and Range.)
Functional considerations/ pre conditions:
* Consider interaction in light of Property panel and consistency.
* Underscore the notion of one-off constraints.
Verification conditions:
* Scrum team and PO review.
> Data type constraints: Boolean
> ------------------------------
>
> Key: DROOLS-3457
> URL: https://issues.jboss.org/browse/DROOLS-3457
> Project: Drools
> Issue Type: Story
> Components: DMN Editor
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
>
> Background
> Persona: Business analyst or Rules practitioner
> Use Cases:
> * From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
> * From the Data Types tab - as a user I want the ability to define constraints for the following types: Number (Expression and Enumeration.)
> Functional considerations/ pre conditions:
> * Consider interaction in light of Property panel and consistency.
> * Underscore the notion of one-off constraints.
> Verification conditions:
> * Scrum team and PO review.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (DROOLS-3458) Data type constraints: Text
by Liz Clayton (Jira)
Liz Clayton created DROOLS-3458:
-----------------------------------
Summary: Data type constraints: Text
Key: DROOLS-3458
URL: https://issues.jboss.org/browse/DROOLS-3458
Project: Drools
Issue Type: Story
Components: DMN Editor
Reporter: Liz Clayton
Assignee: Liz Clayton
Background
Persona: Business analyst or Rules practitioner
Use Cases:
* From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
* From the Data Types tab - as a user I want the ability to define constraints for the following types: Number (Expression and Enumeration.)
Functional considerations/ pre conditions:
* Consider interaction in light of Property panel and consistency.
* Underscore the notion of one-off constraints.
Verification conditions:
* Scrum team and PO review.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years