[JBoss JIRA] (WFWIP-56) IndexOutOfBoundsException in JDBC HA scenario
by Erich Duda (JIRA)
Erich Duda created WFWIP-56:
-------------------------------
Summary: IndexOutOfBoundsException in JDBC HA scenario
Key: WFWIP-56
URL: https://issues.jboss.org/browse/WFWIP-56
Project: WildFly WIP
Issue Type: Bug
Components: JMS
Reporter: Erich Duda
Assignee: Jeff Mesnil
Priority: Blocker
PR: https://github.com/wildfly/wildfly/pull/11355
*Scenario:*
* There are two Wildfly servers each containing two Artemis brokers
* Artemis brokers creates two live-backup pairs. Each Wildfly instance contains one live and one backup
* Second server has MDB which resends messages from InQueue to OutQueue
* The second server is stopped and restarted
After the second server is restarted, everything works correctly for a while. Failback performs successfully, MDB resends messages. However after some time the server starts to print many errors \[1\]. It looks like some messages where corrupted during failover/failback and cannot be delivered.
The reproducer always hits the issue. The issue is not relevant to particular database, I hit it with Oracle12c and DB2 11.1. I also tried to reduce amount of messages and their size, but I still hit the issue. So it is not related to paging or large messages.
\[1\]
{code}
15:20:50,010 ERROR [org.apache.activemq.artemis.ra] (Thread-7 (ActiveMQ-client-global-threads)) AMQ154004: Failed to deliver message: java.lang.IndexOutOfBoundsException
at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readSimpleStringInternal(ChannelBufferWrapper.java:93) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:73) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.reader.TextMessageUtil.readBodyText(TextMessageUtil.java:37) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.jms.client.ActiveMQTextMessage.doBeforeReceive(ActiveMQTextMessage.java:112) [artemis-jms-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.ra.inflow.ActiveMQMessageHandler.onMessage(ActiveMQMessageHandler.java:295) [artemis-ra-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1001) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:49) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1124) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:122) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFWIP-56) IndexOutOfBoundsException in JDBC HA scenario
by Erich Duda (JIRA)
[ https://issues.jboss.org/browse/WFWIP-56?page=com.atlassian.jira.plugin.s... ]
Erich Duda commented on WFWIP-56:
---------------------------------
CC: [~fnigro]
> IndexOutOfBoundsException in JDBC HA scenario
> ---------------------------------------------
>
> Key: WFWIP-56
> URL: https://issues.jboss.org/browse/WFWIP-56
> Project: WildFly WIP
> Issue Type: Bug
> Components: JMS
> Reporter: Erich Duda
> Assignee: Jeff Mesnil
> Priority: Blocker
>
> PR: https://github.com/wildfly/wildfly/pull/11355
> *Scenario:*
> * There are two Wildfly servers each containing two Artemis brokers
> * Artemis brokers creates two live-backup pairs. Each Wildfly instance contains one live and one backup
> * Second server has MDB which resends messages from InQueue to OutQueue
> * The second server is stopped and restarted
> After the second server is restarted, everything works correctly for a while. Failback performs successfully, MDB resends messages. However after some time the server starts to print many errors \[1\]. It looks like some messages where corrupted during failover/failback and cannot be delivered.
> The reproducer always hits the issue. The issue is not relevant to particular database, I hit it with Oracle12c and DB2 11.1. I also tried to reduce amount of messages and their size, but I still hit the issue. So it is not related to paging or large messages.
> \[1\]
> {code}
> 15:20:50,010 ERROR [org.apache.activemq.artemis.ra] (Thread-7 (ActiveMQ-client-global-threads)) AMQ154004: Failed to deliver message: java.lang.IndexOutOfBoundsException
> at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readSimpleStringInternal(ChannelBufferWrapper.java:93) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:73) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.reader.TextMessageUtil.readBodyText(TextMessageUtil.java:37) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.jms.client.ActiveMQTextMessage.doBeforeReceive(ActiveMQTextMessage.java:112) [artemis-jms-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.ra.inflow.ActiveMQMessageHandler.onMessage(ActiveMQMessageHandler.java:295) [artemis-ra-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1001) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:49) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1124) [artemis-core-client-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:122) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2745) [DMN Designer] Save after reopen
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2745?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2745:
--------------------------------
Steps to Reproduce:
# Create new diagram
# Add decision node
# save and close diagram
# Reopen the same diagram
# Change data type of the decision node
# Try to save
You won't be able, you will get message "No new changes to save"
> [DMN Designer] Save after reopen
> --------------------------------
>
> Key: DROOLS-2745
> URL: https://issues.jboss.org/browse/DROOLS-2745
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: drools-tools
>
> user is unable to save changes once the diagram is reopened.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2745) [DMN Designer] Save after reopen
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2745?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2745:
--------------------------------
Priority: Blocker (was: Minor)
> [DMN Designer] Save after reopen
> --------------------------------
>
> Key: DROOLS-2745
> URL: https://issues.jboss.org/browse/DROOLS-2745
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: drools-tools
>
> The global diagram properties for DMN diagram contains sections settings for:
> - dimensions
> - backround
> - font
> However change of any of them (globally, for the whole diagram) doesn't seem to affect particular nodes somehow. We should hide these settings or implement the logic that would affect all nodes in diagram by change on this place.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2745) [DMN Designer] Save after reopen
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2745?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2745:
--------------------------------
Description: user is unable to save changes once the diagram is reopened. (was: The global diagram properties for DMN diagram contains sections settings for:
- dimensions
- backround
- font
However change of any of them (globally, for the whole diagram) doesn't seem to affect particular nodes somehow. We should hide these settings or implement the logic that would affect all nodes in diagram by change on this place.)
> [DMN Designer] Save after reopen
> --------------------------------
>
> Key: DROOLS-2745
> URL: https://issues.jboss.org/browse/DROOLS-2745
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: drools-tools
>
> user is unable to save changes once the diagram is reopened.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2745) [DMN Designer] Save after reopen
by Jozef Marko (JIRA)
Jozef Marko created DROOLS-2745:
-----------------------------------
Summary: [DMN Designer] Save after reopen
Key: DROOLS-2745
URL: https://issues.jboss.org/browse/DROOLS-2745
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.9.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Minor
The global diagram properties for DMN diagram contains sections settings for:
- dimensions
- backround
- font
However change of any of them (globally, for the whole diagram) doesn't seem to affect particular nodes somehow. We should hide these settings or implement the logic that would affect all nodes in diagram by change on this place.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2744) [DMN Designer] Global diagram properties
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2744?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2744:
--------------------------------
Description:
The global diagram properties for DMN diagram contains sections settings for:
- dimensions
- backround
- font
However change of any of them (globally, for the whole diagram) doesn't seem to affect particular nodes somehow. We should hide these settings or implement the logic that would affect all nodes in diagram by change on this place.
was:The stunner based designers contain "Download as" button. The problem of this button for DMN Designer is that it contains option "Download as BPMN" instead of "Download as DMN".
> [DMN Designer] Global diagram properties
> ----------------------------------------
>
> Key: DROOLS-2744
> URL: https://issues.jboss.org/browse/DROOLS-2744
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
>
> The global diagram properties for DMN diagram contains sections settings for:
> - dimensions
> - backround
> - font
> However change of any of them (globally, for the whole diagram) doesn't seem to affect particular nodes somehow. We should hide these settings or implement the logic that would affect all nodes in diagram by change on this place.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2744) [DMN Designer] Global diagram properties
by Jozef Marko (JIRA)
Jozef Marko created DROOLS-2744:
-----------------------------------
Summary: [DMN Designer] Global diagram properties
Key: DROOLS-2744
URL: https://issues.jboss.org/browse/DROOLS-2744
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.9.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Minor
The stunner based designers contain "Download as" button. The problem of this button for DMN Designer is that it contains option "Download as BPMN" instead of "Download as DMN".
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2743) [DMN Designer] Download as toolbar button
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2743?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2743:
--------------------------------
Description: The stunner based designers contain "Download as" button. The problem of this button for DMN Designer is that it contains option "Download as BPMN" instead of "Download as DMN". (was: The stunner based designers contain "Switch grid" button. The problem of this button for DMN Designer appears if the expression editor is opened. User has still possibility to use this button. It would be more logical to disable this button while expression editor is opened as the grid is not shown at that moment.)
> [DMN Designer] Download as toolbar button
> -----------------------------------------
>
> Key: DROOLS-2743
> URL: https://issues.jboss.org/browse/DROOLS-2743
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
>
> The stunner based designers contain "Download as" button. The problem of this button for DMN Designer is that it contains option "Download as BPMN" instead of "Download as DMN".
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2743) [DMN Designer] Download as toolbar button
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2743?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2743:
--------------------------------
Summary: [DMN Designer] Download as toolbar button (was: [DMN Designer] Switch grid toolbar button)
> [DMN Designer] Download as toolbar button
> -----------------------------------------
>
> Key: DROOLS-2743
> URL: https://issues.jboss.org/browse/DROOLS-2743
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
>
> The stunner based designers contain "Switch grid" button. The problem of this button for DMN Designer appears if the expression editor is opened. User has still possibility to use this button. It would be more logical to disable this button while expression editor is opened as the grid is not shown at that moment.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years