[jira] [Commented] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288791#comment-17288791
 ] 

Michael Andre Pearce commented on ARTEMIS-2802:
---

[~jbertram] I modified [^FederatedQueueTest.java]and 
[^FederatedTestBase.java]to start up an actual port, instead of invm only, and 
then adjusted the test cases to use the activemq 5.x jms client, and ran the 
tests, and they pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within unit, then we can look at more.

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288791#comment-17288791
 ] 

Michael Andre Pearce edited comment on ARTEMIS-2802 at 2/23/21, 2:25 AM:
-

[~jbertram] I modified [^FederatedQueueTest.java]and 
[^FederatedTestBase.java]to start up an actual port, instead of invm only, and 
then adjusted the test cases to use the activemq 5.x jms client, and ran the 
tests, and they pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.


was (Author: michael.andre.pearce):
[~jbertram] I modified [^FederatedQueueTest.java]and 
[^FederatedTestBase.java]to start up an actual port, instead of invm only, and 
then adjusted the test cases to use the activemq 5.x jms client, and ran the 
tests, and they pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within unit, then we can look at more.

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288791#comment-17288791
 ] 

Michael Andre Pearce edited comment on ARTEMIS-2802 at 2/23/21, 2:26 AM:
-

[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.


was (Author: michael.andre.pearce):
[~jbertram] I modified [^FederatedQueueTest.java]and 
[^FederatedTestBase.java]to start up an actual port, instead of invm only, and 
then adjusted the test cases to use the activemq 5.x jms client, and ran the 
tests, and they pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288791#comment-17288791
 ] 

Michael Andre Pearce edited comment on ARTEMIS-2802 at 2/23/21, 2:31 AM:
-

[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

 

>From what i understand, "hyphenated_props:federation-name IS NOT NULL" is a 
>valid filter, infact the extra "hyphenated_props:" prefix on the filter is 
>something [~cshannon] added to fix a filter issue. 


was (Author: michael.andre.pearce):
[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288791#comment-17288791
 ] 

Michael Andre Pearce edited comment on ARTEMIS-2802 at 2/23/21, 2:35 AM:
-

[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

 

>From what i understand, "hyphenated_props:federation-name IS NOT NULL" is a 
>valid filter, infact the extra "hyphenated_props:" prefix on the filter is 
>something [~cshannon] added to fix a filter issue. in ARTEMIS-2531

git hash:

ad0581bf76043322934290d489f3f4489ac2536b


was (Author: michael.andre.pearce):
[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

 

>From what i understand, "hyphenated_props:federation-name IS NOT NULL" is a 
>valid filter, infact the extra "hyphenated_props:" prefix on the filter is 
>something [~cshannon] added to fix a filter issue. 

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3133) Reduce memory usage for Null an Ping packets

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3133?focusedWorklogId=556115=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556115
 ]

ASF GitHub Bot logged work on ARTEMIS-3133:
---

Author: ASF GitHub Bot
Created on: 23/Feb/21 01:23
Start Date: 23/Feb/21 01:23
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3462:
URL: https://github.com/apache/activemq-artemis/pull/3462#issuecomment-783797533


   I had a few test failures when I rebased this and run the whole test suite.
   
   Did you run a full test on this?
   
   
   Test Name | Duration | Age
   -- | -- | --
   
org.apache.activemq.artemis.tests.integration.cluster.distribution.LargeMessageRedistributionTest.testRedistributionLargeMessageDirCleanup
 | 33 sec | 1
   
org.apache.activemq.artemis.tests.integration.federation.FederatedQueueTest.testFederatedQueueBiDirectionalDownstream
 | 2.5 sec | 1
   
org.apache.activemq.artemis.tests.integration.jms.cluster.TopicClusterPageStoreSizeTest.testPageStoreSizeWithClusteredDurableSub
 | 61 ms | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=libaio,
 protocol=core] | 0.48 sec | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=libaio,
 protocol=openwire] | 0.47 sec | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=libaio,
 protocol=amqp] | 0.29 sec | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=nio,
 protocol=core] | 0.34 sec | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=nio,
 protocol=openwire] | 0.28 sec | 1
   
org.apache.activemq.artemis.tests.integration.persistence.SyncSendTest.testSendConsumeAudoACK[storage=nio,
 protocol=amqp] | 0.29 sec | 1
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556115)
Time Spent: 20m  (was: 10m)

> Reduce memory usage for Null an Ping packets
> 
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Reporter: Francesco Nigro
>Assignee: Francesco Nigro
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (== 
> 1500): it means that the allocated Netty buffers will be much bigger then 
> necessary eg null is 13 bytes, while null v2 is 21.
>  
> In addition, NullReponseMessage could be cached if the transport channel 
> won't use any resend cache, greatly reducing the memory used under load.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

2021-02-22 Thread Michael Andre Pearce (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Andre Pearce updated ARTEMIS-2802:
--
Attachment: FederatedTestBase.java
FederatedQueueTest.java

> Federation not working when clients connect using OpenWire protocol
> ---
>
> Key: ARTEMIS-2802
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: OpenWire
>Affects Versions: 2.13.0
>Reporter: jerhat
>Priority: Minor
> Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> 
>   org.apache.activemq
>   activemq-client
>   ${activemq5-version}
> {code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: 
> hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3133) Reduce memory usage for Null an Ping packets

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3133?focusedWorklogId=556206=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556206
 ]

ASF GitHub Bot logged work on ARTEMIS-3133:
---

Author: ASF GitHub Bot
Created on: 23/Feb/21 07:13
Start Date: 23/Feb/21 07:13
Worklog Time Spent: 10m 
  Work Description: franz1981 edited a comment on pull request #3462:
URL: https://github.com/apache/activemq-artemis/pull/3462#issuecomment-783960692


   @clebertsuconic I just noticed the reason :+1:  thanks
   
   I see that we cannot recycle null packets instances that easily because of 
`sendResponse` that can send responses back on 
`storageManager.afterCompleteOperations` using a different thread :(
   
   I'm preparing something to handle this case as a separate commit 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556206)
Time Spent: 40m  (was: 0.5h)

> Reduce memory usage for Null an Ping packets
> 
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Reporter: Francesco Nigro
>Assignee: Francesco Nigro
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (== 
> 1500): it means that the allocated Netty buffers will be much bigger then 
> necessary eg null is 13 bytes, while null v2 is 21.
>  
> In addition, NullReponseMessage could be cached if the transport channel 
> won't use any resend cache, greatly reducing the memory used under load.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3133) Reduce memory usage for Null an Ping packets

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3133?focusedWorklogId=556200=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556200
 ]

ASF GitHub Bot logged work on ARTEMIS-3133:
---

Author: ASF GitHub Bot
Created on: 23/Feb/21 07:05
Start Date: 23/Feb/21 07:05
Worklog Time Spent: 10m 
  Work Description: franz1981 commented on pull request #3462:
URL: https://github.com/apache/activemq-artemis/pull/3462#issuecomment-783960692


   @clebertsuconic I just noticed the reason :+1:  thanks



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556200)
Time Spent: 0.5h  (was: 20m)

> Reduce memory usage for Null an Ping packets
> 
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Reporter: Francesco Nigro
>Assignee: Francesco Nigro
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (== 
> 1500): it means that the allocated Netty buffers will be much bigger then 
> necessary eg null is 13 bytes, while null v2 is 21.
>  
> In addition, NullReponseMessage could be cached if the transport channel 
> won't use any resend cache, greatly reducing the memory used under load.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3133) Reduce memory usage for Null an Ping packets

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3133?focusedWorklogId=556209=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556209
 ]

ASF GitHub Bot logged work on ARTEMIS-3133:
---

Author: ASF GitHub Bot
Created on: 23/Feb/21 07:14
Start Date: 23/Feb/21 07:14
Worklog Time Spent: 10m 
  Work Description: franz1981 edited a comment on pull request #3462:
URL: https://github.com/apache/activemq-artemis/pull/3462#issuecomment-783960692


   @clebertsuconic I just noticed the reason :+1:  thanks
   
   I see that we cannot recycle null packets instances that easily because of 
`sendResponse` that can send responses back on 
`storageManager.afterCompleteOperations` using a different thread :(
   
   I'm preparing something to handle this case too



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556209)
Time Spent: 50m  (was: 40m)

> Reduce memory usage for Null an Ping packets
> 
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Reporter: Francesco Nigro
>Assignee: Francesco Nigro
>Priority: Major
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (== 
> 1500): it means that the allocated Netty buffers will be much bigger then 
> necessary eg null is 13 bytes, while null v2 is 21.
>  
> In addition, NullReponseMessage could be cached if the transport channel 
> won't use any resend cache, greatly reducing the memory used under load.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3133) Reduce memory usage for Null an Ping packets

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3133?focusedWorklogId=556219=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556219
 ]

ASF GitHub Bot logged work on ARTEMIS-3133:
---

Author: ASF GitHub Bot
Created on: 23/Feb/21 07:55
Start Date: 23/Feb/21 07:55
Worklog Time Spent: 10m 
  Work Description: franz1981 commented on pull request #3462:
URL: https://github.com/apache/activemq-artemis/pull/3462#issuecomment-783984909


   I'm just getting a failure on 
`org.apache.activemq.artemis.tests.integration.jms.cluster.TopicClusterPageStoreSizeTest.testPageStoreSizeWithClusteredDurableSub`
 that I'm addressing 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556219)
Time Spent: 1h  (was: 50m)

> Reduce memory usage for Null an Ping packets
> 
>
> Key: ARTEMIS-3133
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3133
> Project: ActiveMQ Artemis
>  Issue Type: Improvement
>Reporter: Francesco Nigro
>Assignee: Francesco Nigro
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently NullResponseMessage and Ping report a wrong expected size (== 
> 1500): it means that the allocated Netty buffers will be much bigger then 
> necessary eg null is 13 bytes, while null v2 is 21.
>  
> In addition, NullReponseMessage could be cached if the transport channel 
> won't use any resend cache, greatly reducing the memory used under load.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288242#comment-17288242
 ] 

John Behm commented on ARTEMIS-3093:


Well, the main problem was that not those messages that were touched by 
consumers were out of order, but the whole queue.

But yeah, it would be great if the order was preserved after the rollback (but 
not the main point)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Priority: Critical
>  Labels: artemis, bug, order, queue
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 9:55 AM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container as one does not have an immutable image but a two stage 
process (referring to the current Dockerfile that is somewhere in the Github 
repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
values that are inherent to the underlying container, hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container as 

[jira] [Comment Edited] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288242#comment-17288242
 ] 

John Behm edited comment on ARTEMIS-3093 at 2/22/21, 10:06 AM:
---

Well, the main problem was that not those messages that were touched by 
consumers were out of order, but the whole queue.

But yeah, it would be great if the order was preserved after the rollback (but 
not the main point)

 

I guess the description is not that on point there.

Sorry about that.


was (Author: behm015):
Well, the main problem was that not those messages that were touched by 
consumers were out of order, but the whole queue.

But yeah, it would be great if the order was preserved after the rollback (but 
not the main point)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Priority: Critical
>  Labels: artemis, bug, order, queue
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (AMQNET-656) AMQP failover implementation fails to reconnect in some cases

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQNET-656?focusedWorklogId=555704=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555704
 ]

ASF GitHub Bot logged work on AMQNET-656:
-

Author: ASF GitHub Bot
Created on: 22/Feb/21 09:04
Start Date: 22/Feb/21 09:04
Worklog Time Spent: 10m 
  Work Description: lukeabsent commented on pull request #59:
URL: https://github.com/apache/activemq-nms-amqp/pull/59#issuecomment-783215340


   Had a little look, and it seems overall that there could be more Reconnect() 
going 
   at the same time than just one (which I believe was the original intention), 
and that is one risk. 
   If you suspect deadlock happening around HandleProviderError-lock(SyncRoot) 
then maybe 
   it is being possible cause there is provider.Close inside - though deeper 
inside it seems to be timeouted for 1m.
   Other risk is that HandleProviderError looks like it may be called from 
underlying AsyncPump (AmqpNetLite) thread (inline execution) and if it locks or 
waits on something, then pump stops pumping and if thing being expected is 
something that was supposed to be delivered by AsyncPump, then there is 
deadlock.
   In general, it looks like it requires some work, if I have some time I will 
see if I can recreate it in some test.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555704)
Time Spent: 5.5h  (was: 5h 20m)

> AMQP failover implementation fails to reconnect in some cases
> -
>
> Key: AMQNET-656
> URL: https://issues.apache.org/jira/browse/AMQNET-656
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: AMQP-1.8.1
>Reporter: Bruce Dodson
>Priority: Major
>  Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> We recently had an issue where some of our producer instances were able to 
> reconnect immediately after the master/slave (or primary/standby) broker 
> cluster failed over, while others never reconnected.
> It appears to be related to two existing JIRAs, AMQNET-624 (addressed in 
> GitHub PR#45) and AMQNET-626 (new issue raised in the same PR, but closed 
> without any changes).
> Regarding the bug identified and fixed in AMQNET-624, part of the original 
> solution was pulled back: where TriggerReconnectionAttempt was called via 
> Task.Run, to instead call it directly. The second issue, AMQNET-626 was to 
> raise concern about the unawaited task returned by TriggerReconnectionAttempt.
> I think perhaps calling from Task.Run may have been beneficial after all: it 
> ensured that TriggerReconnectionAttempt was running on a thread from the 
> thread pool. Otherwise, when TriggerReconnectionAttempt calls 
> ScheduleReconnect, and ScheduleReconnect does an await, that is occurring 
> from within a lock statement.
> As noted in MSDN, an await statement _cannot_ occur inside of a lock 
> statement. That includes anywhere in the call stack, as far as I understand. 
> If you do, it is not caught by the compiler, but can lead to failures e.g. 
> where the task being awaited never gets scheduled.
> Invoking TriggerReconnectionAttempt from a thread pool thread (or another 
> background thread) is one way to avoid this issue, and using Task.Run() might 
> be the easiest way, even though it may also raise eyebrows. Any performance 
> overhead of Task.Run() shouldn't be a factor, since it is only invoked upon 
> losing connection, not continuously.
> The call to Task.Run() could also be moved into TriggerReconnectionAttempt, 
> like so:
> {code:java}
> // this is invoked using Task.Run, to ensure it runs on a thread pool thread
> // in case this was invoked from inside a lock statement (which it is)
> return Task.Run(async () => await 
> reconnectControl.ScheduleReconnect(Reconnect));{code}
> It does still leave the issue identified in AMQNET-626, that the result is 
> not checked, but it resolves the failover failure caused by calling await 
> inside of a lock.
> (Another way around this would be to use a SemaphoreSlim, or other 
> async-compatible synchronization mechanism instead of a lock statement. 
> However, that could have far-reaching implications, since lock statements are 
> used in many parts of the AMQP implementation.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 9:10 AM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container as one does not have an immutable image but a two stage 
process (referring to the current Dockerfile that is somewhere in the Github 
repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration file which is not 
the case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
values that are inherent to the underlying container, hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container 

[jira] [Commented] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm commented on AMQ-8149:


Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container as one does not have an immutable image but a two stage 
process (referring to the current Dockerfile that is somewhere in the Github 
repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration file which is not 
the case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
values that are inherent to the underlying container, hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes needs to work properly for it to be successful.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 

> Create Docker Image
> ---
>
> Key: AMQ-8149
> URL: https://issues.apache.org/jira/browse/AMQ-8149
> Project: ActiveMQ
>  Issue Type: New Feature
>Affects Versions: 5.17.0
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
>
> Create an Apache ActiveMQ docker image
> Ideas:
> [ ] jib or jkube mvn plugin
> [ ] Create a general container that supports most use cases (enable all 
> protocols on default ports, etc)
> [ ] Provide artifacts for users to build customized containers
> Tasks:
> [Pending] Creation of Docker repository for ActiveMQ INFRA-21430
> [ ] Add activemq-docker module to 5.17.x
> [ ] Add dockerhub deployment to release process



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (AMQNET-656) AMQP failover implementation fails to reconnect in some cases

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQNET-656?focusedWorklogId=555710=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555710
 ]

ASF GitHub Bot logged work on AMQNET-656:
-

Author: ASF GitHub Bot
Created on: 22/Feb/21 09:11
Start Date: 22/Feb/21 09:11
Worklog Time Spent: 10m 
  Work Description: lukeabsent edited a comment on pull request #59:
URL: https://github.com/apache/activemq-nms-amqp/pull/59#issuecomment-783215340


   Had a little look, and it seems overall that there could be more Reconnect() 
going 
   at the same time than just one (which I believe was the original intention), 
and that is one risk. 
   If you suspect deadlock happening around HandleProviderError-lock(SyncRoot) 
then maybe 
   it is being possible cause there is provider.Close inside - though deeper 
inside it seems to be timeouted for 1m.
   Other risk is that HandleProviderError looks like it may be called from 
underlying AsyncPump (AmqpNetLite) thread (inline execution) and if it locks or 
waits on something, then pump stops pumping and if thing being expected is 
something that was supposed to be delivered by AsyncPump, then there is 
deadlock.
   In general, it looks like it requires some work, we could be good to be able 
to reproduce it in some test.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555710)
Time Spent: 5h 40m  (was: 5.5h)

> AMQP failover implementation fails to reconnect in some cases
> -
>
> Key: AMQNET-656
> URL: https://issues.apache.org/jira/browse/AMQNET-656
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: AMQP-1.8.1
>Reporter: Bruce Dodson
>Priority: Major
>  Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> We recently had an issue where some of our producer instances were able to 
> reconnect immediately after the master/slave (or primary/standby) broker 
> cluster failed over, while others never reconnected.
> It appears to be related to two existing JIRAs, AMQNET-624 (addressed in 
> GitHub PR#45) and AMQNET-626 (new issue raised in the same PR, but closed 
> without any changes).
> Regarding the bug identified and fixed in AMQNET-624, part of the original 
> solution was pulled back: where TriggerReconnectionAttempt was called via 
> Task.Run, to instead call it directly. The second issue, AMQNET-626 was to 
> raise concern about the unawaited task returned by TriggerReconnectionAttempt.
> I think perhaps calling from Task.Run may have been beneficial after all: it 
> ensured that TriggerReconnectionAttempt was running on a thread from the 
> thread pool. Otherwise, when TriggerReconnectionAttempt calls 
> ScheduleReconnect, and ScheduleReconnect does an await, that is occurring 
> from within a lock statement.
> As noted in MSDN, an await statement _cannot_ occur inside of a lock 
> statement. That includes anywhere in the call stack, as far as I understand. 
> If you do, it is not caught by the compiler, but can lead to failures e.g. 
> where the task being awaited never gets scheduled.
> Invoking TriggerReconnectionAttempt from a thread pool thread (or another 
> background thread) is one way to avoid this issue, and using Task.Run() might 
> be the easiest way, even though it may also raise eyebrows. Any performance 
> overhead of Task.Run() shouldn't be a factor, since it is only invoked upon 
> losing connection, not continuously.
> The call to Task.Run() could also be moved into TriggerReconnectionAttempt, 
> like so:
> {code:java}
> // this is invoked using Task.Run, to ensure it runs on a thread pool thread
> // in case this was invoked from inside a lock statement (which it is)
> return Task.Run(async () => await 
> reconnectControl.ScheduleReconnect(Reconnect));{code}
> It does still leave the issue identified in AMQNET-626, that the result is 
> not checked, but it resolves the failover failure caused by calling await 
> inside of a lock.
> (Another way around this would be to use a SemaphoreSlim, or other 
> async-compatible synchronization mechanism instead of a lock statement. 
> However, that could have far-reaching implications, since lock statements are 
> used in many parts of the AMQP implementation.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (AMQNET-656) AMQP failover implementation fails to reconnect in some cases

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQNET-656?focusedWorklogId=555713=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555713
 ]

ASF GitHub Bot logged work on AMQNET-656:
-

Author: ASF GitHub Bot
Created on: 22/Feb/21 09:13
Start Date: 22/Feb/21 09:13
Worklog Time Spent: 10m 
  Work Description: lukeabsent edited a comment on pull request #59:
URL: https://github.com/apache/activemq-nms-amqp/pull/59#issuecomment-783215340


   Had a little look, and it seems overall that there could be more Reconnect() 
going 
   at the same time than just one (which I believe was the original intention), 
and that is one risk. 
   If you suspect deadlock happening around HandleProviderError-lock(SyncRoot) 
then maybe 
   it is being possible cause there is provider.Close inside - though deeper 
inside it seems to be timeouted for 1m.
   Other risk is that HandleProviderError looks like it may be called from 
underlying AsyncPump (AmqpNetLite) thread (inline execution) and if it locks or 
waits on something, then pump stops pumping and if thing being expected is 
something that was supposed to be delivered by AsyncPump, then there is 
deadlock.
   In general, it looks like it requires some work, it would be good to be able 
to reproduce it in some test.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555713)
Time Spent: 5h 50m  (was: 5h 40m)

> AMQP failover implementation fails to reconnect in some cases
> -
>
> Key: AMQNET-656
> URL: https://issues.apache.org/jira/browse/AMQNET-656
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: AMQP-1.8.1
>Reporter: Bruce Dodson
>Priority: Major
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> We recently had an issue where some of our producer instances were able to 
> reconnect immediately after the master/slave (or primary/standby) broker 
> cluster failed over, while others never reconnected.
> It appears to be related to two existing JIRAs, AMQNET-624 (addressed in 
> GitHub PR#45) and AMQNET-626 (new issue raised in the same PR, but closed 
> without any changes).
> Regarding the bug identified and fixed in AMQNET-624, part of the original 
> solution was pulled back: where TriggerReconnectionAttempt was called via 
> Task.Run, to instead call it directly. The second issue, AMQNET-626 was to 
> raise concern about the unawaited task returned by TriggerReconnectionAttempt.
> I think perhaps calling from Task.Run may have been beneficial after all: it 
> ensured that TriggerReconnectionAttempt was running on a thread from the 
> thread pool. Otherwise, when TriggerReconnectionAttempt calls 
> ScheduleReconnect, and ScheduleReconnect does an await, that is occurring 
> from within a lock statement.
> As noted in MSDN, an await statement _cannot_ occur inside of a lock 
> statement. That includes anywhere in the call stack, as far as I understand. 
> If you do, it is not caught by the compiler, but can lead to failures e.g. 
> where the task being awaited never gets scheduled.
> Invoking TriggerReconnectionAttempt from a thread pool thread (or another 
> background thread) is one way to avoid this issue, and using Task.Run() might 
> be the easiest way, even though it may also raise eyebrows. Any performance 
> overhead of Task.Run() shouldn't be a factor, since it is only invoked upon 
> losing connection, not continuously.
> The call to Task.Run() could also be moved into TriggerReconnectionAttempt, 
> like so:
> {code:java}
> // this is invoked using Task.Run, to ensure it runs on a thread pool thread
> // in case this was invoked from inside a lock statement (which it is)
> return Task.Run(async () => await 
> reconnectControl.ScheduleReconnect(Reconnect));{code}
> It does still leave the issue identified in AMQNET-626, that the result is 
> not checked, but it resolves the failover failure caused by calling await 
> inside of a lock.
> (Another way around this would be to use a SemaphoreSlim, or other 
> async-compatible synchronization mechanism instead of a lock statement. 
> However, that could have far-reaching implications, since lock statements are 
> used in many parts of the AMQP implementation.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AMQ-8153) Slot Online

2021-02-22 Thread slot online (Jira)
slot online created AMQ-8153:


 Summary: Slot Online
 Key: AMQ-8153
 URL: https://issues.apache.org/jira/browse/AMQ-8153
 Project: ActiveMQ
  Issue Type: Bug
 Environment: h1. Situs Judi Slot Online Terbaik

GMWIN adalah agen situs judi [Slot Online|https://172.105.125.44/mobile/slots] 
terpercaya yang menyediakan game judi online dengan menggunakan uang asli yang 
terlengkap dan mempunyai ribuan player yang bermain online secara bersamaan 
setiap harinya. GMWIN menyediakan segala jenis permainan judi yang dimainkan 
secara online seperti judi bola sbobet, judi tembak ikan, casino online, poker 
online, slot online, togel dan masih banyak permainan judi online lainnya. Para 
player yang hendak bergabung dengan GMWIN juga tidak perlu khawatir, para 
player yang join dengan GMWIN akan diberikan satu ID yang dapat dimainkan 
disemua jenis permainan judi online yang tersedia. Jadi apabila player yang 
tadinya misalkan bermain game judi tembak ikan dan hendak beralih ke permainan 
judi slot, credit balance nya tetap 1 dan ID nya juga tetap sama. Jadi apabila 
player yang sudah menang bermain judi tembak ikan maka dari sana credit nya 
akan bertambah dan begitu melanjutkan permainan ke judi slot nominal creditnya 
akan sama seperti sesudah memenangkan permainan yang dimainkan sebelumnya. 
GMWIN sebagai agen situs judi online terpercaya yang bekerja sama dengan 
Nexusengine memastikan bahwa akan membayarkan seluruh uang kemenangan player 
atau pun apabila player memenangkan jackpot progressive yang dapat memberikan 
keuntungan bagi player hingga ratusan juta rupiah, GMWIN pasti akan membayarkan 
seluruh uang kemenangan player secara 100% tanpa pakai ribet.
h2. Daftar Situs Judi Slot Online Terpercaya GMWIN

Bermain judi slot online di GMWIN, segala jenis permainan judi slot dapat anda 
temukan disini. Cara bermain judi slot merupakan jenis permainan judi yang 
sangat mudah dilakukan, tidak perlu memikirkan strategi untuk mengatur kartu 
semisalkan bermain game judi online seperti dominoqq ataupun poker. Anda cukup 
mengklik 1x dan mesin slot akan menampilkan gambar yang diputar secara acak dan 
dimana hasil akhir dari gambar tersebut yang akan menentukan apakah anda 
memenangkan permainan dari ronde slot tersebut. Pola dari gambar slot agar anda 
dapat memenangkan permainan slot tergantung dari jenis permainan slot yang anda 
mainkan. Permainan judi slot yang tersedia antara lain adalah [Habanero 
Slot|https://172.105.125.44/mobile/slots], RTG, Microgaming, Joker Gaming, 
[Pragmatic Slot|https://172.105.125.44/mobile/slots] dan masih banyak yang 
lainnya dengan kemenangan win rate yang tinggi. Anda tidak perlu khawatir akan 
bosan memainkan permainan game slot ini, dikarenakan banyaknya jenis permainan 
game slot itu sendiri dan setiap game slot mempunyai tampilan graphic yang 
sangatlah menarik. Variasi gambar dan pola permainan dari game slot ini sudah 
pasti dapat menambahkan keseruan anda dalam bermain.
h2. Judi Slot Online Banyak Bonus

Bermain judi slot di GMWIN memberikan banyak bonus bagi anda para player, ada 
bonus cashback, bonus turnover, bonus new member dan masih banyak lagi bonus 
dan promo yang bisa didapatkan para player. Selain itu juga untuk memastikan 
kepuasan dan kenyamanan para player, GMWIN juga menyediakan customer service 
professional yang dapat membantu anda dalam segala hal secara 24 jam non stop. 
Jadi apabila anda hendak ingin menarik hasil uang kemenangan anda, anda tinggal 
meminta bantuan kepada customer service kami melalui live chat yang telah 
disediakan. Anda juga dapat meminta bantuan kepada customer service melalui 
live chat apabila anda masih bingung bagaimana cara untuk mendaftar di situs 
judi online GMWIN. Jadi janganlah anda ragu, segera bergabung dengan GMWIN 
bersama player lain dan raih keuntungan anda setiap harinya.
Reporter: slot online


h1. Situs Judi Slot Online Terbaik

GMWIN adalah agen situs judi [Slot Online|https://172.105.125.44/mobile/slots] 
terpercaya yang menyediakan game judi online dengan menggunakan uang asli yang 
terlengkap dan mempunyai ribuan player yang bermain online secara bersamaan 
setiap harinya. GMWIN menyediakan segala jenis permainan judi yang dimainkan 
secara online seperti judi bola sbobet, judi tembak ikan, casino online, poker 
online, slot online, togel dan masih banyak permainan judi online lainnya. Para 
player yang hendak bergabung dengan GMWIN juga tidak perlu khawatir, para 
player yang join dengan GMWIN akan diberikan satu ID yang dapat dimainkan 
disemua jenis permainan judi online yang tersedia. Jadi apabila player yang 
tadinya misalkan bermain game judi tembak ikan dan hendak beralih ke permainan 
judi slot, credit balance nya tetap 1 dan ID nya juga tetap sama. Jadi apabila 
player yang sudah menang bermain judi tembak ikan maka dari sana credit nya 
akan bertambah dan begitu melanjutkan permainan ke 

[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 2:24 PM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis of the other hand does not really seem to be made to 
be put into a container as one does not have an immutable image but a two stage 
process (referring to the current Dockerfile that is somewhere in the Github 
repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
values that are inherent to the underlying container, hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis on the other hand does not really seem to be made to 
be put into a container as 

[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 2:24 PM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be made 
to be put into a container as one does not have an immutable image but a two 
stage process (referring to the current Dockerfile that is somewhere in the 
Github repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
values that are inherent to the underlying container, hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration Artemis of the other hand does not really seem to be made to 
be put into a container 

[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288412#comment-17288412
 ] 

Clebert Suconic commented on ARTEMIS-3093:
--

https://github.com/apache/activemq-artemis/pull/3463

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288379#comment-17288379
 ] 

Erwin Dondorp commented on ARTEMIS-3125:


I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.
 

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending the first messages to a fresh 
> installation of 2.17.0.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AMQ-7217) Already connected client makes it impossible to reuse client id after disconnection

2021-02-22 Thread Nauman Hameed (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-7217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288384#comment-17288384
 ] 

Nauman Hameed commented on AMQ-7217:


[~piotrciruk] : I am facing a similar issue using ActiveMQ 5.13.2. I have 2 
ActiveMQ nodes where one acts as publisher and other is subscriber. Subscriber 
is attempting to make a connection with publisher after publisher re-start but 
it is failing with error mentioned in this cases.

{code}
2021-02-16 19:31:26,837 | DEBUG | Setting up new connection id: 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, address: 
vm://AON-CUAC01-AMS1#76, info: ConnectionInfo {commandId = 1, responseRequired 
= true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = null, 
userName = amqsystem, password = *, brokerPath = null, 
brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false} | 
org.apache.activemq.broker.TransportConnection | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,837 | INFO  | Adding Connection: ConnectionInfo {commandId 
= 1, responseRequired = true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = 
vm://AON-CUAC01-AMS1#76, userName = amqsystem, password = *, brokerPath = 
null, brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false} | 
org.apache.activemq.broker.util.LoggingBrokerPlugin | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,838 | WARN  | Failed to add Connection 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1 due to 
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60 | org.apache.activemq.broker.TransportConnection | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,838 | DEBUG | Error occured while processing sync command: 
ConnectionInfo {commandId = 1, responseRequired = true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = 
vm://AON-CUAC01-AMS1#76, userName = amqsystem, password = *, brokerPath = 
null, brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false}, exception: 
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60 | 
org.apache.activemq.broker.TransportConnection.Service | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60
at 
org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:255)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:116)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:103)
at 
org.apache.activemq.broker.util.LoggingBrokerPlugin.addConnection(LoggingBrokerPlugin.java:178)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:77)
at 
org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:103)
at 
org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:817)
at 
org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
at 
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:338)
at 
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
at 

[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288408#comment-17288408
 ] 

John Behm commented on ARTEMIS-3093:


Thanks for the effort.

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288407#comment-17288407
 ] 

Clebert Suconic commented on ARTEMIS-3093:
--

for what's worth. AMQP would have preserved the order. I suggest you use AMQP 
with Artemis 2.17.

 

I'm bringing the same fix I used on AMQP to keep the original order after 
rollback. so the code won't do AddHead any longer after a rollback. (it will 
rather use addSorted keeping the original order and its original IDs)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 2:26 PM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be made 
to be put into a container as one does not have an immutable image but a two 
stage process (referring to the current Dockerfile that is somewhere in the 
Github repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
(hard drive performance) values that are inherent to the underlying container, 
hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be 

[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 2:26 PM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be made 
to be put into a container as one does not have an immutable image but a two 
stage process (referring to the current Dockerfile that is somewhere in the 
Github repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
(performance) values that are inherent to the underlying container, 
hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes and should work properly for it to be successful now and in the 
future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be made 
to be 

[jira] [Commented] (AMQ-6589) Broker hangs by shutdown after loosing exclusive lock

2021-02-22 Thread Nauman Hameed (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-6589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288409#comment-17288409
 ] 

Nauman Hameed commented on AMQ-6589:


[~ashakirin] : Any idea if this issue has been fixed on still open?

> Broker hangs by shutdown after loosing exclusive lock
> -
>
> Key: AMQ-6589
> URL: https://issues.apache.org/jira/browse/AMQ-6589
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.13.4
> Environment: Linux
>Reporter: Andrei Shakirin
>Priority: Major
> Attachments: activemq-old-master-anonymized.log, activemq.xml
>
>
> 1) Configuration: ActiveMQ brokers are configured with shared store (NFS) and 
> shared file locker with configured lockAcquireSleepInterval:
> {code:xml}
>   
>   
> 
>  
> 
>   
>   
>   
>checkForCorruptJournalFiles="true" checksumJournalFiles="true" />
>   
>   
>   
>   
>   
> {code}
> 2) Workflow
> The master broker looses exclusive lock and tries to shutdown, it is reported 
> in the log file:
> {code}
> 2017-01-31 16:30:45,921 | INFO  | Lock file /CE/activemq/lock, locked at Thu 
> Jan 05 01:14:11 CET 2017, has been modified at Tue Jan 31 16:30:45 CET 2017 | 
> org.apache.activemq.util.LockFile | ActiveMQ Lock KeepAlive Timer
> 2017-01-31 16:30:45,921 | ERROR | hostXXX, no longer able to keep the 
> exclusive lock so giving up being a master | 
> org.apache.activemq.broker.LockableServiceSupport | ActiveMQ Lock KeepAlive 
> Timer
> 2017-01-31 16:30:45,924 | INFO  | Apache ActiveMQ 5.13.4 (hostXXX, 
> ID:xxx-36540-1483575278364-0:1) is shutting down | 
> org.apache.activemq.broker.BrokerService | ActiveMQ Lock KeepAlive Timer
> {code}
> 3) Problem
> Broker hangs during shutdown, I see a lot of messages like:
> {code}
> The connection to 'tcp://xxx:55057' is taking a long time to shutdown.
> {code}
> The problem happens only in case of shutdown after loosing exclusive log, 
> normal shutdown works fine.
> I see some other defects with this problem: AMQ-3435, AMQ-3293, AMQ-4073, but 
> all of them have to be fixed in AMQ 5.13.4.
> What can be the reason of this problem?
> Note: the connections were created from "old" AMQ clients (5.7.0). Could the 
> problem related with that?
> Complete log file and configuration are attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288379#comment-17288379
 ] 

Erwin Dondorp edited comment on ARTEMIS-3125 at 2/22/21, 2:54 PM:
--

I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.

update: it is repeatable, now minimizing the scenario...


was (Author: erwindon):
I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.
 

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending the first messages to a fresh 
> installation of 2.17.0.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288368#comment-17288368
 ] 

John Behm commented on ARTEMIS-3093:


Thank you very much.

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Priority: Critical
>  Labels: artemis, bug, order, queue
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AMQ-6561) Broker does not close connection for all connection attempt errors

2021-02-22 Thread Nauman Hameed (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288389#comment-17288389
 ] 

Nauman Hameed commented on AMQ-6561:


 I am facing a similar issue using ActiveMQ 5.13.2. I have 2 ActiveMQ nodes 
where one acts as publisher and other is subscriber. Subscriber is attempting 
to make a connection with publisher after publisher re-start but it is failing 
with error mentioned in this case.

{code}
2021-02-16 19:31:26,837 | DEBUG | Setting up new connection id: 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, address: 
vm://AON-CUAC01-AMS1#76, info: ConnectionInfo {commandId = 1, responseRequired 
= true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = null, 
userName = amqsystem, password = *, brokerPath = null, 
brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false} | 
org.apache.activemq.broker.TransportConnection | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,837 | INFO  | Adding Connection: ConnectionInfo {commandId 
= 1, responseRequired = true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = 
vm://AON-CUAC01-AMS1#76, userName = amqsystem, password = *, brokerPath = 
null, brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false} | 
org.apache.activemq.broker.util.LoggingBrokerPlugin | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,838 | WARN  | Failed to add Connection 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1 due to 
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60 | org.apache.activemq.broker.TransportConnection | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
2021-02-16 19:31:26,838 | DEBUG | Error occured while processing sync command: 
ConnectionInfo {commandId = 1, responseRequired = true, connectionId = 
AON-CUAC01-AMS1->AON-CUAC01-LON1-49164-1611665757700-28:1, clientId = 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1, clientIp = 
vm://AON-CUAC01-AMS1#76, userName = amqsystem, password = *, brokerPath = 
null, brokerMasterConnector = false, manageable = false, clientMaster = true, 
faultTolerant = false, failoverReconnect = false}, exception: 
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60 | 
org.apache.activemq.broker.TransportConnection.Service | 
triggerStartAsyncNetworkBridgeCreation: 
remoteBroker=tcp://AON-CUAC01-LON1/10.250.242.29:61616@58562, localBroker= 
vm://AON-CUAC01-AMS1#76
javax.jms.InvalidClientIDException: Broker: AON-CUAC01-AMS1 - Client: 
Broker12Bridge_AON-CUAC01-LON1_inbound_AON-CUAC01-AMS1 already connected from 
vm://AON-CUAC01-AMS1#60
at 
org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:255)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:116)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:103)
at 
org.apache.activemq.broker.util.LoggingBrokerPlugin.addConnection(LoggingBrokerPlugin.java:178)
at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:98)
at 
org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:77)
at 
org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:103)
at 
org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:817)
at 
org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
at 
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:338)
at 
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
at 

[jira] [Deleted] (AMQ-8153) Slot Online

2021-02-22 Thread Justin Bertram (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-8153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram deleted AMQ-8153:



> Slot Online
> ---
>
> Key: AMQ-8153
> URL: https://issues.apache.org/jira/browse/AMQ-8153
> Project: ActiveMQ
>  Issue Type: Bug
> Environment: h1. Situs Judi Slot Online Terbaik
> GMWIN adalah agen situs judi [Slot 
> Online|https://172.105.125.44/mobile/slots] terpercaya yang menyediakan game 
> judi online dengan menggunakan uang asli yang terlengkap dan mempunyai ribuan 
> player yang bermain online secara bersamaan setiap harinya. GMWIN menyediakan 
> segala jenis permainan judi yang dimainkan secara online seperti judi bola 
> sbobet, judi tembak ikan, casino online, poker online, slot online, togel dan 
> masih banyak permainan judi online lainnya. Para player yang hendak bergabung 
> dengan GMWIN juga tidak perlu khawatir, para player yang join dengan GMWIN 
> akan diberikan satu ID yang dapat dimainkan disemua jenis permainan judi 
> online yang tersedia. Jadi apabila player yang tadinya misalkan bermain game 
> judi tembak ikan dan hendak beralih ke permainan judi slot, credit balance 
> nya tetap 1 dan ID nya juga tetap sama. Jadi apabila player yang sudah menang 
> bermain judi tembak ikan maka dari sana credit nya akan bertambah dan begitu 
> melanjutkan permainan ke judi slot nominal creditnya akan sama seperti 
> sesudah memenangkan permainan yang dimainkan sebelumnya. GMWIN sebagai agen 
> situs judi online terpercaya yang bekerja sama dengan Nexusengine memastikan 
> bahwa akan membayarkan seluruh uang kemenangan player atau pun apabila player 
> memenangkan jackpot progressive yang dapat memberikan keuntungan bagi player 
> hingga ratusan juta rupiah, GMWIN pasti akan membayarkan seluruh uang 
> kemenangan player secara 100% tanpa pakai ribet.
> h2. Daftar Situs Judi Slot Online Terpercaya GMWIN
> Bermain judi slot online di GMWIN, segala jenis permainan judi slot dapat 
> anda temukan disini. Cara bermain judi slot merupakan jenis permainan judi 
> yang sangat mudah dilakukan, tidak perlu memikirkan strategi untuk mengatur 
> kartu semisalkan bermain game judi online seperti dominoqq ataupun poker. 
> Anda cukup mengklik 1x dan mesin slot akan menampilkan gambar yang diputar 
> secara acak dan dimana hasil akhir dari gambar tersebut yang akan menentukan 
> apakah anda memenangkan permainan dari ronde slot tersebut. Pola dari gambar 
> slot agar anda dapat memenangkan permainan slot tergantung dari jenis 
> permainan slot yang anda mainkan. Permainan judi slot yang tersedia antara 
> lain adalah [Habanero Slot|https://172.105.125.44/mobile/slots], RTG, 
> Microgaming, Joker Gaming, [Pragmatic 
> Slot|https://172.105.125.44/mobile/slots] dan masih banyak yang lainnya 
> dengan kemenangan win rate yang tinggi. Anda tidak perlu khawatir akan bosan 
> memainkan permainan game slot ini, dikarenakan banyaknya jenis permainan game 
> slot itu sendiri dan setiap game slot mempunyai tampilan graphic yang 
> sangatlah menarik. Variasi gambar dan pola permainan dari game slot ini sudah 
> pasti dapat menambahkan keseruan anda dalam bermain.
> h2. Judi Slot Online Banyak Bonus
> Bermain judi slot di GMWIN memberikan banyak bonus bagi anda para player, ada 
> bonus cashback, bonus turnover, bonus new member dan masih banyak lagi bonus 
> dan promo yang bisa didapatkan para player. Selain itu juga untuk memastikan 
> kepuasan dan kenyamanan para player, GMWIN juga menyediakan customer service 
> professional yang dapat membantu anda dalam segala hal secara 24 jam non 
> stop. Jadi apabila anda hendak ingin menarik hasil uang kemenangan anda, anda 
> tinggal meminta bantuan kepada customer service kami melalui live chat yang 
> telah disediakan. Anda juga dapat meminta bantuan kepada customer service 
> melalui live chat apabila anda masih bingung bagaimana cara untuk mendaftar 
> di situs judi online GMWIN. Jadi janganlah anda ragu, segera bergabung dengan 
> GMWIN bersama player lain dan raih keuntungan anda setiap harinya.
>Reporter: slot online
>Priority: Major
>
> h1. Situs Judi Slot Online Terbaik
> GMWIN adalah agen situs judi [Slot 
> Online|https://172.105.125.44/mobile/slots] terpercaya yang menyediakan game 
> judi online dengan menggunakan uang asli yang terlengkap dan mempunyai ribuan 
> player yang bermain online secara bersamaan setiap harinya. GMWIN menyediakan 
> segala jenis permainan judi yang dimainkan secara online seperti judi bola 
> sbobet, judi tembak ikan, casino online, poker online, slot online, togel dan 
> masih banyak permainan judi online lainnya. Para player yang hendak bergabung 
> dengan GMWIN juga tidak perlu khawatir, para player yang join dengan GMWIN 
> akan diberikan satu ID yang dapat dimainkan disemua jenis permainan judi 
> online yang tersedia. Jadi apabila player yang 

[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288367#comment-17288367
 ] 

Clebert Suconic commented on ARTEMIS-3093:
--

you're playing with fetch-ahead ... I suggested you playing with 
consumer-window-size = 0.

 

 

But I'm going to improve the order here similar to what I did on AMQP. I will 
update in less than 1 hour.

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Priority: Critical
>  Labels: artemis, bug, order, queue
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMQ-8149) Create Docker Image

2021-02-22 Thread John Behm (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288265#comment-17288265
 ] 

John Behm edited comment on AMQ-8149 at 2/22/21, 2:27 PM:
--

Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does not really seem to be made 
to be put into a container as one does not have an immutable image but a two 
stage process (referring to the current Dockerfile that is somewhere in the 
Github repository).

 

The configuration of an application that runs inside of a Docker container is 
usually passed through either environment variables or mounted at a specific 
location or a combination of both.

For that to work Artemis needs to have a static configuration which is not the 
case.

In the first startup step (referring to the Dockerfile example in the github 
repo mirror) Artemis generates a somewhat generic broker.xml with some specific 
(hard drive performance) values that are inherent to the underlying container, 
hostmachine, etc.

I think those performance values of the storage should be handled outside of 
the broker.xml (or calculated on every startup, whatever ideas you may have) as 
they usually cannot be known by the person configuring  Artemis.

Also the redundant passing of environment variables to the container and the 
JVM should preferrably also be done directly.

So that Artemis does directly fetch all environment variables (I don't know if 
that's feasible without passing them to the JVM, I hope yes, as it's possible 
in other languages).

 

These two key points would make Artemis way better configurable inside of a 
Docker container.

 

I know that this issue is about the Docker image and I do not expect anyone to 
create anything else, yet.

BUT one has to look ahead of the current stage and look at what might come 
after the Docker image is ready. What do people want and what the image is 
goind to be used for.

The Docker image will be the foundation that every other technology like 
Kubernetes is going to use and thus it should work properly for it to be 
successful now and in the future.

 

The roadmap ahead for the Artemis product seems to be something along the lines 
of
 # Make Artemis container ready               <-- this should be done first
 # Put Artemis in a Docker container
 # Run Artemis in Kubernetes                    <-- I don't expect anyone to 
take on any of these tasks in the near future at all.
 # Create a Kubernetes Operator 

 

 

 

 


was (Author: behm015):
Thanks for the comments.

I did not have much time on friday, so I took all of my previous input and 
combined it in that one comment, as this issue did get some traction, so I felt 
like I had to be fast here.

 

My comment is directed at the ActiveMQ Artemis product, I did not touch on the 
ActiveMQ topic at all.

 

(the part of me being somewhat diappointed is not really necessary for this 
discussion at all, as we did really expect to use Artemis and we think that it 
has great potential and hopefully a great future, but currently not for us, 
thus not production ready for us. In the end it does not matter, whether I or 
some expert company get paid for taking their time to investigate an open 
source product, I might take longer, but I might also learn some new 
technologies along the way that might help the company on the long run).

 

I did try to summarize my problems I faced when trying to run Artemis in a 
Kubernetes environment, but might go further into detail about what exactly 
hinders Artemis from being ready to be officially put into a Docker container.

The efforts to actually take this step and go into the real cloud native 
direction is great.

The configuration of Artemi, on the other hand, does 

[jira] [Assigned] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clebert Suconic reassigned ARTEMIS-3093:


Assignee: Clebert Suconic

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clebert Suconic updated ARTEMIS-3093:
-
Fix Version/s: 2.18.0

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555831=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555831
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 14:37
Start Date: 22/Feb/21 14:37
Worklog Time Spent: 10m 
  Work Description: clebertsuconic opened a new pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555831)
Remaining Estimate: 0h
Time Spent: 10m

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Priority: Critical
>  Labels: artemis, bug, order, queue
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555990=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555990
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 19:40
Start Date: 22/Feb/21 19:40
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783623800


   I will minimize the changes though... I will keep the scheduling for now



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555990)
Time Spent: 1h 10m  (was: 1h)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555901=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555901
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 17:14
Start Date: 22/Feb/21 17:14
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783529636


   I am fixing and running tests... please, do not merge this yet.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555901)
Time Spent: 20m  (was: 10m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Deleted] (AMQ-8152) Situs Judi Casino Live Online Terlengkap 2021 | Dewaslot72

2021-02-22 Thread Christopher L. Shannon (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-8152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher L. Shannon deleted AMQ-8152:



> Situs Judi Casino Live Online Terlengkap 2021 | Dewaslot72
> --
>
> Key: AMQ-8152
> URL: https://issues.apache.org/jira/browse/AMQ-8152
> Project: ActiveMQ
>  Issue Type: New Feature
>Reporter: dewaslot72
>Priority: Major
>
> [!https://i.ibb.co/LJZ11VK/bikin22.jpg|width=660,height=360!!https://ibb.co/5nRLLbZ!|https://dewaslot72.com/slots]
>   
>  *Judi Slot Online Terlengkap*
>   
>  Dewaslot72 merupakan *[Situs Judi Online Terlengkap 
> 2021|https://dewaslot72.com/]* Permainan judi slot Indonesia kini semakin 
> berkembang dan semakin disukai masyarakat Indonesia. Memainkan judi slot 
> online terbaik sangat mendukung Anda untuk mendapatkan keuntungan besar dalam 
> bermain. Jenis keuntungan terbaik akan tersedia khusus untuk Anda pecinta 
> judi slot online. Salah satu jenis keuntungan yang sangat menjamin kepuasan 
> bermain Anda adalah keuntungan dan bonus yang besar serta bervariasi. Ada 
> banyak keuntungan bonus terbaik dari situs judi slot terbaru 2021.
>  
>  Jika anda ingin memainkan *[Judi Slot Online Bet 
> Murah|https://dewaslot72.com/slots]* terlengkap indonesia terbaik penyedia 
> permainan judi slot online terpercaya permainan slot online terbaik anda 
> dapatkan segera, ada berbagai macam bonus menarik menanti anda dan 
> benar-benar dapat memicu anda untuk memainkan permainan terbaik terpercaya 
> Situs judi slot online indonesia dengan yang paling nyaman dan aman bersama 
> kami. Karena *[Dewaslot72|https://dewaslot72.com/promotion]* menyediakan 
> banyak fasilitas menarik lainnya dan juga customer service paling profesional
>   
>  Mayoritas penjudi sejati di Indonesia kesulitan menjelajahi lokasi yang aman 
> dan nyaman, fungsi bermain situs judi slot online terpercaya terbaik 
> Indonesia dan juga *[Link Alternatif Sbobet|https://dewaslot72.com/sport]* di 
> situs kami. Dimana dalam situs permainan modern ini dapat bertaruh *[Judi 
> Bola Online|https://dewaslot72.com/sport]*, semua bettor dapat dengan mudah 
> bertaruh *[Situs Bandar Judi Live Casino 
> Online|https://dewaslot72.com/casino]* Dimana bettor cukup hanya melakukan 
> pendaftaran melalui agen permainan slot online terbaik yaitu slot online 
> terpercaya
>   
>  Hanya di Situs *[Slot Online Resmi|https://dewaslot72.com/]* Anda bisa 
> merasakan kemudahan dalam hal deposit karena tersedianya berbagai metode 
> deposit. Dengan customer service, situs judi slot online 24 jam terpercaya 
> 2021 yang bisa Anda akses melalui Livechat, Whatsapp atau aplikasi chat 
> lainnya. Untuk melakukan registrasi juga mudah dan cepat
>   
>  
> [!https://i.ibb.co/3hSY79L/Daftar1.gif|width=307,height=118!|https://dewaslot72.com/register]
>   
>  *Link Alternatif* : _[https://rb.gy/ahb8tk]_
>   
>  *Daftar Situs Judi Slot Online Terpercaya 2021*
>   
>  Berikut ini adalah daftar nama permainan judi slot online terbaik dan 
> terpercaya 2021 yang telah disediakan oleh Dewaslot72 :
>   
>  PRAGMATIC
>  SPADEGAMING
>  HABANERO
>  ONETOUCH
>  FLOWGAMING
>  ISOFTBET
>  JOKER123
>  PLAYTECH
>  YGGDRASIL
>  GAMEPLAY
>  TOPTREND
>  MICROGAMING
>  PLAYNGO
>  RTG
>  SIMPLEPLAY
>   
>  Hanya dengan membuat 1 ID permainan slot online di Situs Dewaslot72, Anda 
> dapat memainkan semua jenis slot terbaru dari semua penyedia ini. Dengan 
> bantuan situs judi slot promo terbaru, anda bisa melakukan registrasi akun 
> slot online terbaik dengan cepat, mudah dan gratis
> _http://cirandas.net/dewaslot72/situs-casino-live-online-terlengkap-dewaslot72_
> Segera buktikan dan coba keberuntungan kamu bersama dewaslot72 hanya dengan 
> deposit kecil kamu sudah bisa bermain dan menang banyak di situs judi 
> dewaslot72
>   
>  Bonus New Member 100% Slot games
>  Bonus New Member 100% Sportsbook
>  Bonus Rollingan Slot game Up to 1%
>  Bonus Roliingan Live Casini Up to 1%
>  Bonus CashBack Sportsbook Up to 10%
>  Bonus CashBack Sabung Ayam Up to 10%
>   
>  
> [!https://i.ibb.co/sjyhhLQ/lc3.gif|width=190,height=190!|https://secure.livechatinc.com/licence/12588573/v2/open_chat.cgi?lang=en=0=%3Bl%3Dhttps%3A//www.dewaslot72.com%3Br%3Dundefined%3Bs%3Dundefined]
>   
>  Dewaslot72 bekerja sama dengan beberapa provider pengembangan casino online. 
> [http://cristoreysvd.edu.ar/soe/community/profile/situs-judi-bola-sbobet-online-dewaslot72/]
>  Berikut nama besar provider yang telah menjadi veteran kancah taruhan online 
> di Asia juga ada di dalamnya. Berikut adalah Agen Casino Online Asia yang 
> bekerja sama dengan kami:
>   
>  Dewaslot72 bekerja sama dengan beberapa provider pengembangan casino online. 
> Berikut nama besar provider yang telah menjadi veteran kancah taruhan online 
> di Asia juga ada di dalamnya. Berikut adalah Agen 

[jira] [Deleted] (AMQ-8151) JOKER123 ~ DAFTAR JOKER ~ JOKER 123 ~ LOGIN JOKER123 ~ SITUS JOKER123

2021-02-22 Thread Christopher L. Shannon (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher L. Shannon deleted AMQ-8151:



> JOKER123 ~ DAFTAR JOKER ~ JOKER 123 ~ LOGIN JOKER123 ~ SITUS JOKER123
> -
>
> Key: AMQ-8151
> URL: https://issues.apache.org/jira/browse/AMQ-8151
> Project: ActiveMQ
>  Issue Type: Test
> Environment: JOKER123 ~ DAFTAR JOKER ~ JOKER 123 ~ LOGIN JOKER123 ~ 
> SITUS JOKER123
>Reporter: joker123
>Priority: Major
>  Labels: JudiOnline, LinkJoker123, LinkJoker123DepositPulsa, 
> daftar-slot-pulsa, daftarjoker, daftarjoker123, deposit-pulsa-tanpa-potongan, 
> depositpulsatanpapotongan2021, depositpulsatanpapotonganslot, habanero, 
> joker, joker123, judionline, pragmaticplay, situsjoker123, slot2021, 
> slotjoker123, slotonline, spadegaming
>
> h1. JOKER123 ~ DAFTAR JOKER ~ JOKER 123 ~ LOGIN JOKER123 ~ SITUS JOKER123
> Judiid adalah situs *joker123* Indonesia terbaik dan terpercaya yang bisa 
> anda manfaatkan untuk menghasilkan profit yang besar dan juga sangat mudah 
> untuk menghasilkan profit. Nah, buat kamu yang sedang mencari profit segera 
> bergabung di situs joker 123 terpercaya judiid.
> [!https://i.imgur.com/7Cmyhz5.gif!|https://linktr.ee/judiid]
> joker123 atau yang dikenal dengan situs slot online indonesia memiliki 
> beberapa jenis permainan yang bisa anda mainkan semua hanya dengan 
> menggunakan 1 ID , kami menyediakan permainan game slot, tembak ikan dan live 
> casino . Semua permainan di atas merupakan permainan yang terkenal di 
> kalangan pecinta judi online Indonesia. Dengan menggunakan server Joker123.
> h2. 
> Fasilitas Yang Tersedia
> Sebagai salah satu *situs Joker123* terpercaya kami, Judiidjuga menawarkan 
> berbagai layanan dan fasilitas permainan yang sangat mumpuni, dengan 
> fasilitas yang sangat lengkap dan modern, membuat setiap orang yang pernah 
> bergabung dan bermain dengan situs Joker123 lebih mudah untung dan Merasa 
> lebih percaya diri dan nyaman menghasilkan keuntungan besar dan tentunya 
> tingkat kemenangan situs judi domino88 asia ini mencapai 90%. Oleh karena 
> itu, Anda tidak perlu lagi takut untuk mencoba untung dari situs kami.
> h3.  
> [!https://i.imgur.com/oyx9RJ0.png!|https://jokerbet303.com/Daftar.aspx?ref=jokerbet303]
> h3. Situs Terpercaya di Asia
> Bagi anda yang ingin Daftar Joker123 atau permainan pokerJoker123 bisa 
> langsung daftar di situs Judiid ini dengan mudah dan gratis, pendaftaran 
> disini hanya membutuhkan waktu 1-2 menit saja anda hanya perlu mengisi form 
> Daftar sebagaimana yang telah disediakan oleh situs joker123 terpercaya. 
> Setelah itu bagi anda yang sudah mendaftar bisa langsung melakukan deposit 
> untuk memainkan beberapa game pkv yang telah disediakan, disini hanya dengan 
> Rp 15.000 anda berpeluang untung besar dengan online Terpercaya situs judiid.
> Untuk melakukan deposit, kami menerima pembayaran melalui transfer bank lokal 
> Indonesia yang bertujuan untuk mempermudah dan mempercepat transaksi Anda, 
> oleh karena itu kami menawarkan 5 bank lokal Indonesia, diantaranya:
> Bank BCA
> Bank BRI
> Bank Mandiri
> Bangku Danamon
> Bank BNI
> Selanjutnya kami juga menerima pembayaran melalui pulsa telkomsel dan xl 
> serta uang elektronik seperti gopay, ovo, dana dan linkaja, jadi tunggu 
> apalagi? Dengan banyaknya jenis pembayaran anda bisa mendapatkan banyak 
> keuntungan hanya dari situs judi online terpercaya judiid. Jika anda 
> mengalami kendala saat ingin mendaftar atau saat ingin bertransaksi bisa 
> langsung menghubungi CS joker123 online melalui layanan live chat yang telah 
> disediakan, CS yang sudah profesional dibidangnya akan membantu anda dengan 
> cepat.
> Percayalah sekarang taruhan Anda dengan kami dan dapatkan keuntungan setinggi 
> mungkin hanya di situs joker123. Dapatkan juga berbagai macam bonus harian 
> yang bisa anda dapatkan 0,3% untuk dibagikan setiap hari dan ada juga bonus 
> referral 0.2% untuk anda yang mengajak teman bermain di situs joker123 ini.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3125:
---
Description: 
This messages appears after sending and manual deleting the first messages to a 
fresh installation.

AMQ14: Destination X has an inconsistent and negative address size=-6

and

AMQ15: Global Address Size has negative and inconsistent value as -18

The reported size grows (in a negative direction) over time. -6, -12, -18 but 
it then seems to stick at -18.

 

I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and a 
min/max expirytime of another 60s on ExpiryQueue to keep the messages there for 
an additional time before finally throwing it away.

  was:
This messages appears after sending the first messages to a fresh installation 
of 2.17.0.

AMQ14: Destination X has an inconsistent and negative address size=-6

and

AMQ15: Global Address Size has negative and inconsistent value as -18

The reported size grows (in a negative direction) over time. -6, -12, -18 but 
it then seems to stick at -18.

 

I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and a 
min/max expirytime of another 60s on ExpiryQueue to keep the messages there for 
an additional time before finally throwing it away.


> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending and manual deleting the first messages to 
> a fresh installation.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555935=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555935
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 18:23
Start Date: 22/Feb/21 18:23
Worklog Time Spent: 10m 
  Work Description: michaelandrepearce commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783575301


   Im getting a bit of de ja vu here. Didnt alot of these changes being removed 
you added for something similar with ordering before?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555935)
Time Spent: 0.5h  (was: 20m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555940=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555940
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 18:27
Start Date: 22/Feb/21 18:27
Worklog Time Spent: 10m 
  Work Description: michaelandrepearce edited a comment on pull request 
#3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783575301


   Im getting a bit of de ja vu here. Didnt alot of these changes being removed 
you/we added for something similar with ordering before on amqp? In Artemis-2458



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555940)
Time Spent: 40m  (was: 0.5h)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288597#comment-17288597
 ] 

Erwin Dondorp commented on ARTEMIS-3125:


I now have a repeatable situation using a minimal configuration.

It is however a bit different than the original description.

To prevent any confusion, I'll close this one and start a fresh bug report.

See ARTEMIS-3135

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending and manual deleting the first messages to 
> a fresh installation.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp closed ARTEMIS-3125.
--
Resolution: Invalid

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending and manual deleting the first messages to 
> a fresh installation.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288379#comment-17288379
 ] 

Erwin Dondorp edited comment on ARTEMIS-3125 at 2/22/21, 4:15 PM:
--

I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.

update: it is repeatable, now minimizing the scenario...

update: not related to federation.

[please wait while I reduce the scenario even more]


was (Author: erwindon):
I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.

update: it is repeatable, now minimizing the scenario...

not related to federation.

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending the first messages to a fresh 
> installation of 2.17.0.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555956=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555956
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 18:46
Start Date: 22/Feb/21 18:46
Worklog Time Spent: 10m 
  Work Description: clebertsuconic edited a comment on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783589555


   @michaelandrepearce We did, yeah...
   
   What I'm doing now, is I'm always using addSorted on close / rollback.
   
   While scheduling will still use addHead... so we won't need scheduling 
argument on addSorted...
   
   I did some cleanup then on the API around it.
   
   Back then I thought we should have kept core as it was. but I see this 
change on core would be better as well.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555956)
Time Spent: 1h  (was: 50m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)
Erwin Dondorp created ARTEMIS-3135:
--

 Summary: AMQ14: Destination q has an inconsistent and negative 
address size=-6
 Key: ARTEMIS-3135
 URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
 Project: ActiveMQ Artemis
  Issue Type: Bug
  Components: Broker
Affects Versions: 2.17.0
Reporter: Erwin Dondorp


TODO



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-3125) AMQ222214: Destination X has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288379#comment-17288379
 ] 

Erwin Dondorp edited comment on ARTEMIS-3125 at 2/22/21, 4:03 PM:
--

I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.

update: it is repeatable, now minimizing the scenario...

not related to federation.


was (Author: erwindon):
I'll try to reproduce it and will then attach the broker.xml file(s). possibly 
multiple because it may have a relation with clustering, federation or both.

update: it is repeatable, now minimizing the scenario...

> AMQ14: Destination X has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3125
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3125
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
>
> This messages appears after sending the first messages to a fresh 
> installation of 2.17.0.
> AMQ14: Destination X has an inconsistent and negative address size=-6
> and
> AMQ15: Global Address Size has negative and inconsistent value as -18
> The reported size grows (in a negative direction) over time. -6, -12, -18 but 
> it then seems to stick at -18.
>  
> I'm using TTL=60s for the initial message. No expiry queue on ExpiryQueue and 
> a min/max expirytime of another 60s on ExpiryQueue to keep the messages there 
> for an additional time before finally throwing it away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555955=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555955
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 18:45
Start Date: 22/Feb/21 18:45
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783589555


   We did, yeah...
   
   What I'm doing now, is I'm always using addSorted on close / rollback.
   
   While scheduling will still use addHead... so we won't need scheduling 
argument on addSorted...
   
   I did some cleanup then on the API around it.
   
   Back then I thought we should have kept core as it was. but I see this 
change on core would be better as well.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555955)
Time Spent: 50m  (was: 40m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3135:
---
Attachment: broker.xml

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
> Attachments: broker.xml
>
>
> TODO



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=556018=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556018
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 20:45
Start Date: 22/Feb/21 20:45
Worklog Time Spent: 10m 
  Work Description: michaelandrepearce commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783662998


   Ah ok. So basically youre no longer making distinction between amqp and 
other clients and applying the same logic regardless. Gotcha nice. +1



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556018)
Time Spent: 1.5h  (was: 1h 20m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288663#comment-17288663
 ] 

ASF subversion and git services commented on ARTEMIS-3093:
--

Commit 12c8096a23840ede9c364cc184dddfe19846e2e0 in activemq-artemis's branch 
refs/heads/master from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=12c8096 ]

ARTEMIS-3093 Ordering on multiple consumers and core with rollback


> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clebert Suconic closed ARTEMIS-3093.

Resolution: Fixed

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread Clebert Suconic (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288672#comment-17288672
 ] 

Clebert Suconic commented on ARTEMIS-3093:
--

The following snapshot (or newer) would contain the fix, if anyone would like 
to try it:

[apache-artemis-2.18.0-20210222.225020-8-bin.zip|https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-artemis/2.18.0-SNAPSHOT/apache-artemis-2.18.0-20210222.225020-8-bin.zip]


As with any snapshot don't use it in production.. just for testing and 
validation.

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 ... 12 more
{code}

Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Major
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> 

[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=556026=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556026
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 21:02
Start Date: 22/Feb/21 21:02
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783672546


   I will wait the test results on a 3 hours run I have with the whole test 
suite before I merge this.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556026)
Time Spent: 1h 40m  (was: 1.5h)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Priority: Critical  (was: Major)

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (AMQNET-656) AMQP failover implementation fails to reconnect in some cases

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQNET-656?focusedWorklogId=556044=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556044
 ]

ASF GitHub Bot logged work on AMQNET-656:
-

Author: ASF GitHub Bot
Created on: 22/Feb/21 21:42
Start Date: 22/Feb/21 21:42
Worklog Time Spent: 10m 
  Work Description: brudo commented on pull request #59:
URL: https://github.com/apache/activemq-nms-amqp/pull/59#issuecomment-783694222


   @Havret in our case, the stall occurs very rarely, and I do not have a 
memory dump from when it last occurred. The failover AMQP connection is 
initialized from a thread pool thread. We do have some logging code in 
ConnectionInterruptedListener and ConnectionResumedListener events, which 
currently runs synchronously - I wonder if that could be a factor as it might 
affect the timing.
   
   I will try to create a test case and add to FailoverIntegrationTest.cs and 
see if I can get the issue to occur more consistently.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556044)
Time Spent: 6h  (was: 5h 50m)

> AMQP failover implementation fails to reconnect in some cases
> -
>
> Key: AMQNET-656
> URL: https://issues.apache.org/jira/browse/AMQNET-656
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: AMQP-1.8.1
>Reporter: Bruce Dodson
>Priority: Major
>  Time Spent: 6h
>  Remaining Estimate: 0h
>
> We recently had an issue where some of our producer instances were able to 
> reconnect immediately after the master/slave (or primary/standby) broker 
> cluster failed over, while others never reconnected.
> It appears to be related to two existing JIRAs, AMQNET-624 (addressed in 
> GitHub PR#45) and AMQNET-626 (new issue raised in the same PR, but closed 
> without any changes).
> Regarding the bug identified and fixed in AMQNET-624, part of the original 
> solution was pulled back: where TriggerReconnectionAttempt was called via 
> Task.Run, to instead call it directly. The second issue, AMQNET-626 was to 
> raise concern about the unawaited task returned by TriggerReconnectionAttempt.
> I think perhaps calling from Task.Run may have been beneficial after all: it 
> ensured that TriggerReconnectionAttempt was running on a thread from the 
> thread pool. Otherwise, when TriggerReconnectionAttempt calls 
> ScheduleReconnect, and ScheduleReconnect does an await, that is occurring 
> from within a lock statement.
> As noted in MSDN, an await statement _cannot_ occur inside of a lock 
> statement. That includes anywhere in the call stack, as far as I understand. 
> If you do, it is not caught by the compiler, but can lead to failures e.g. 
> where the task being awaited never gets scheduled.
> Invoking TriggerReconnectionAttempt from a thread pool thread (or another 
> background thread) is one way to avoid this issue, and using Task.Run() might 
> be the easiest way, even though it may also raise eyebrows. Any performance 
> overhead of Task.Run() shouldn't be a factor, since it is only invoked upon 
> losing connection, not continuously.
> The call to Task.Run() could also be moved into TriggerReconnectionAttempt, 
> like so:
> {code:java}
> // this is invoked using Task.Run, to ensure it runs on a thread pool thread
> // in case this was invoked from inside a lock statement (which it is)
> return Task.Run(async () => await 
> reconnectControl.ScheduleReconnect(Reconnect));{code}
> It does still leave the issue identified in AMQNET-626, that the result is 
> not checked, but it resolves the failover failure caused by calling await 
> inside of a lock.
> (Another way around this would be to use a SemaphoreSlim, or other 
> async-compatible synchronization mechanism instead of a lock statement. 
> However, that could have far-reaching implications, since lock statements are 
> used in many parts of the AMQP implementation.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288660#comment-17288660
 ] 

Gary Tully commented on ARTEMIS-3135:
-

[~erwindon] thanks for your efforts to create a reproducer, it is much 
appreciated.
The effect will be concrete in the way that it effects paging, it is not just 
cosmetic.
The idea is that we increment memory usage with the size of the message on 
entry and decrease when the message is removed. In the past this value would 
not change and memory used for decoded content was not accounted for leading to 
paging not kicking in on time and potential for OOM. For users that keep lots 
of real data in the application properties rather than the message body, this 
was a serious issue.
With the fix for  ARTEMIS-3067, the estimate can change when content is lazy 
decoded. In most of the cases this has been tracked and the usage adjusted such 
that the decrement on removal will match the value incremented on entry. 
However I did not consider the UI/JMX and your scenario was not covered by 
existing tests, it was missed!
The implication is that memory tracked will again be less than reality (because 
the counter will have to first go positive) and the same OOM can occur if lots 
of the messages are in play. However if the values are low, in your case less 
than 10bytes per message, it may not be a significant issue and if the messages 
are not browsed, it won't occur.

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Assignee: Gary Tully
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?focusedWorklogId=556076=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556076
 ]

ASF GitHub Bot logged work on ARTEMIS-3135:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 23:27
Start Date: 22/Feb/21 23:27
Worklog Time Spent: 10m 
  Work Description: gtully opened a new pull request #3464:
URL: https://github.com/apache/activemq-artemis/pull/3464


   … are converted to maps for JMX or UI display, follows up from ARTEMIS-3067



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 556076)
Remaining Estimate: 0h
Time Spent: 10m

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Assignee: Gary Tully
>Priority: Major
> Attachments: broker.xml
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288605#comment-17288605
 ] 

Erwin Dondorp commented on ARTEMIS-3135:


[~gtully] fyi

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}


Telnet within Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet within Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> 

[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Attachment: Artemis-logs.zip

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288673#comment-17288673
 ] 

Suman Moorthy edited comment on ARTEMIS-3136 at 2/22/21, 11:02 PM:
---

[^Artemis-logs.zip]

^Attached are the logs, firewalls are disabled in this environment. Something 
in the network seems to trigger this and then it never recovers until restart.^

^Broker XMLs are below^

[https://gist.github.com/suman-moorthy/3a2c4457a7139be9b93c88167a4364f4] 


was (Author: sumanmoorthy):
[^Artemis-logs.zip]

^Attached are the logs, firewalls are disabled in this environment. Something 
in the network seems to trigger this and then it never recovers until restart^

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3093) Message Order broken with Core Protocol when rolling back transactions

2021-02-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3093?focusedWorklogId=555998=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-555998
 ]

ASF GitHub Bot logged work on ARTEMIS-3093:
---

Author: ASF GitHub Bot
Created on: 22/Feb/21 20:02
Start Date: 22/Feb/21 20:02
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on pull request #3463:
URL: https://github.com/apache/activemq-artemis/pull/3463#issuecomment-783637057


   fixed it!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 555998)
Time Spent: 1h 20m  (was: 1h 10m)

> Message Order broken with Core Protocol when rolling back transactions
> --
>
> Key: ARTEMIS-3093
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3093
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.16.0
>Reporter: John Behm
>Assignee: Clebert Suconic
>Priority: Critical
>  Labels: artemis, bug, order, queue
> Fix For: 2.18.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> ARTEMIS-2458
> This issue still persists.
>  
> Consuming from a queue with two threads with distinct sessions while rolling 
> back directly in each thread when receiving a message breaks the whole order 
> of the queue. Even with delays of 500ms.
> The queue/addresse is configured as ANYCAST queue.
>  
> (In 2.10 this issue persists as well.)
> Basic Test setup is like this:
> You have a non-clustered single instance of Artemis.
> You do have a redelivery-delay of 0.
> You fill an anycast queue with 1000/1 ordered messages.
> You disconnect your producer and start the two or more consumers that try to 
> fetch all of the messages from that exact same queue, but can only get one, 
> as you always roll back the session.
> Each time any of those two(or more) consumers receives a message, they 
> rollback the session instantly and sleep 0 to 500 ms.
> After rolling back every time you receive a message on any of your consumer 
> threads, you expect to always get the message with the content "0".
> After like ten iterations of this ping-pong rollback between your two 
> consumer threads, you start to get completely random messages, not even 
> within the range of 0 through 10, but completely arbitrary ones from within 
> the queue.
> You disconnect your consumers and try dumping the queue. You get a completely 
> unordered message queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)
Suman Moorthy created ARTEMIS-3136:
--

 Summary: Connectivity Issues to Artemis on port 61616
 Key: ARTEMIS-3136
 URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
 Project: ActiveMQ Artemis
  Issue Type: Bug
Affects Versions: 2.11.0
Reporter: Suman Moorthy
 Attachments: image-2021-02-22-15-54-28-278.png, 
image-2021-02-22-15-56-27-430.png

Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
javax.jms.JMSException: Unexpected failure.    at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
    at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
    at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
    at 
org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
    at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
    at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
    at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
    at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
    at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)Caused by: 
java.io.IOException: Unexpected failure.    at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
    at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
    at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
    ... 12 more
 
{code}
 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!



 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Gary Tully (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully reassigned ARTEMIS-3135:
---

Assignee: Gary Tully

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Assignee: Gary Tully
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
{code}
 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
javax.jms.JMSException: Unexpected failure.    at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
    at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
    at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
    at 
org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
    at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
    at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
    at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
    at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
    at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)Caused by: 
java.io.IOException: Unexpected failure.    at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
    at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
    at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
    ... 12 more
 
{code}
 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!



 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Major
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> {code}
>  
> Telnet from Artemis Server:
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288624#comment-17288624
 ] 

Gary Tully commented on ARTEMIS-3135:
-

This issues is caused by ARTEMIS-3067, the memory estimate can change via the 
org.apache.activemq.artemis.api.core.Message#toMap which is called to create 
the JSON representation for the UI.

We need to wrap such calls with the compensation to adjust the memory usage for 
the page store in the same was as we do around filter evaluation that can lazy 
decode the properties.

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet within Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> 

[jira] [Commented] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Domenico Francesco Bruscino (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288641#comment-17288641
 ] 

Domenico Francesco Bruscino commented on ARTEMIS-3136:
--

This is a duplicate of 
https://stackoverflow.com/questions/66323531/connectivity-issues-to-artemis-on-port-61616

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Justin Bertram (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-3136:

External issue URL: 
https://stackoverflow.com/questions/66323531/connectivity-issues-to-artemis-on-port-61616

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Justin Bertram (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-3136.
-
Resolution: Cannot Reproduce

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Justin Bertram (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288716#comment-17288716
 ] 

Justin Bertram commented on ARTEMIS-3136:
-

As [~tabish] mentioned you should reproduce this with the [latest 
release|http://activemq.apache.org/components/artemis/download/]. I see lots of 
{{NullPointerException}} in your logs which I believe have been resolved since 
2.11.0. 

Also, this seems like some kind of environmental issue rather than an issue 
with the broker itself. If basic connectivity to the broker was impossible on 
Windows (as your description suggests) then I would have expected a large 
number of complaints starting in January 2020 when 2.11.0 was released. 

Furthermore, I see a large number of network related errors in your log files 
suggesting that clients are in fact getting through at some level. However, it 
appears the network or perhaps the clients themselves are highly unstable.

I'm going to close this for now. If you're able to reproduce this on the latest 
release and can provide instructions for us to reproduce this as well then it 
can be re-opened and investigated further.

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3135:
---
Description: 
The following messages appear after sending a message and then manual deleting 
it using the GUI:

{{AMQ14: Destination q has an inconsistent and negative address size=-6}}
 and
 {{AMQ15: Global Address Size has negative and inconsistent value as -6}}

The file {{broker.xml}} is almost pristine, except for the addition of anycast 
destination {{q}}.
 using simply {{}}

The message that was sent is a simple text message sent using the AMQP protocol 
to this queue.
 

  was:TODO


> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
{code}
 

Telnet from Artemis Server:

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Major
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> Telnet from Artemis Server:
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
>   

[jira] [Updated] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suman Moorthy updated ARTEMIS-3136:
---
Description: 
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. 
   at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 
   ... 12 more
{code}
Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!

  was:
Our client application fails to connect to Artemis and throws the below 
exception.

Artemis server machine shows that it is Listening to port *61616* , but Telnet 
to the port from local host and from other servers fail.

*The issue gets resolved only after restarting the Artemis services.*

The java used in Artemis server is - *OpenJDK 1.8.0_275*

 
{code:java}
Exception while publishing the message.javax.jms.JMSException: Unexpected 
failure. 
   at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
 
   at 
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
 
   at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
 
   at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
 
   at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
 
   at 
org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
 
   at 
com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unexpected failure. at 
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
   at 
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
   at 
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
 
   at 
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
 ... 12 more
{code}

Telnet from Artemis Server (localhost):

!image-2021-02-22-15-54-28-278.png!

 

 

Telnet from Client application server:

!image-2021-02-22-15-56-27-430.png!


> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> 

[jira] [Commented] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Timothy A. Bish (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288632#comment-17288632
 ] 

Timothy A. Bish commented on ARTEMIS-3136:
--

Version 2.11.0 is rather old at this point and you should validate with a newer 
release as there have been many fixes since.  Also you should investigate the 
broker logs and try to capture some more information as it will likely be 
impossible for anyone to help diagnose this given the small amount of 
information provided. 

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288630#comment-17288630
 ] 

Erwin Dondorp commented on ARTEMIS-3135:


[~gtully] can you indicate what the risks are for the broker? is the broker 
administration corrupted after this, or is this more a cosmetic issue?

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Assignee: Gary Tully
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6

2021-02-22 Thread Erwin Dondorp (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288667#comment-17288667
 ] 

Erwin Dondorp commented on ARTEMIS-3135:


[~gtully] thanks for the explanation! I will not reduce the priority of this 
issue, nor of the same issue in my shadow administration. I'm confident that 
the issue is now in good hands.

> AMQ14: Destination q has an inconsistent and negative address size=-6
> -
>
> Key: ARTEMIS-3135
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3135
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.17.0
>Reporter: Erwin Dondorp
>Assignee: Gary Tully
>Priority: Major
> Attachments: broker.xml
>
>
> The following messages appear after sending a message and then manual 
> deleting it using the GUI:
> {{AMQ14: Destination q has an inconsistent and negative address size=-6}}
>  and
>  {{AMQ15: Global Address Size has negative and inconsistent value as -6}}
> The file {{broker.xml}} is almost pristine, except for the addition of 
> anycast destination {{q}}.
>  using simply {{ name="q"/>}}
> The message that was sent is a simple text message sent using the AMQP 
> protocol to this queue.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARTEMIS-3136) Connectivity Issues to Artemis on port 61616

2021-02-22 Thread Suman Moorthy (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288673#comment-17288673
 ] 

Suman Moorthy commented on ARTEMIS-3136:


[^Artemis-logs.zip]

^Attached are the logs, firewalls are disabled in this environment. Something 
in the network seems to trigger this and then it never recovers until restart^

> Connectivity Issues to Artemis on port 61616
> 
>
> Key: ARTEMIS-3136
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3136
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.11.0
>Reporter: Suman Moorthy
>Priority: Critical
> Attachments: Artemis-logs.zip, image-2021-02-22-15-54-28-278.png, 
> image-2021-02-22-15-56-27-430.png
>
>
> Our client application fails to connect to Artemis and throws the below 
> exception.
> Artemis server machine shows that it is Listening to port *61616* , but 
> Telnet to the port from local host and from other servers fail.
> *The issue gets resolved only after restarting the Artemis services.*
> The java used in Artemis server is - *OpenJDK 1.8.0_275*
>  
> {code:java}
> Exception while publishing the message.javax.jms.JMSException: Unexpected 
> failure. 
>at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1310)
>  
>at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1302)
>  
>at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1958) 
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
>  
>at 
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>  
>at 
> org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:358)
>  
>at 
> com.actiance.coreserver.horizontal.heartbeat.HeartbeatPublisherImpl$2.call(HeartbeatPublisherImpl.java:347)
>  
>at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: Unexpected failure. 
>at 
> org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:643)
>at 
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) 
>at 
> org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
>  
>at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1308)
>  
>... 12 more
> {code}
> Telnet within Artemis Server (localhost):
> !image-2021-02-22-15-54-28-278.png!
>  
>  
> Telnet from Client application server:
> !image-2021-02-22-15-56-27-430.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)