[jira] [Commented] (PROTON-2622) TLS OpenSSL library: ensure capacity values match given capacity

2022-10-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616106#comment-17616106
 ] 

ASF GitHub Bot commented on PROTON-2622:


codecov-commenter commented on PR #380:
URL: https://github.com/apache/qpid-proton/pull/380#issuecomment-127593

   # 
[Codecov](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#380](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (ec30be8) into 
[main](https://codecov.io/gh/apache/qpid-proton/commit/bee4fea2cdcb14ed0055a77dcce4fd5f9718e3ce?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (bee4fea) will **decrease** coverage by `1.21%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@Coverage Diff @@
   ## main #380  +/-   ##
   ==
   - Coverage   88.34%   87.13%   -1.22% 
   ==
 Files  47   47  
 Lines2394 2394  
   ==
   - Hits 2115 2086  -29 
   - Misses279  308  +29 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[ruby/lib/core/delivery.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29yZS9kZWxpdmVyeS5yYg==)
 | `57.57% <0.00%> (-36.37%)` | :arrow_down: |
   | 
[ruby/lib/core/tracker.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29yZS90cmFja2VyLnJi)
 | `55.55% <0.00%> (-33.34%)` | :arrow_down: |
   | 
[ruby/lib/handler/messaging\_adapter.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvaGFuZGxlci9tZXNzYWdpbmdfYWRhcHRlci5yYg==)
 | `89.85% <0.00%> (-7.25%)` | :arrow_down: |
   | 
[ruby/lib/codec/data.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29kZWMvZGF0YS5yYg==)
 | `92.17% <0.00%> (-3.92%)` | :arrow_down: |
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   




> TLS OpenSSL library: ensure capacity values match given capacity
> 
>
> Key: PROTON-2622
> URL: https://issues.apache.org/jira/browse/PROTON-2622
> Project: Qpid Proton
>  Issue Type: Wish
>  Components: proton-c
>Affects Versions: proton-c-0.38.0
>Reporter: Ken Giusti
>Assignee: Clifford Jansen
>Priority: Major
>
>  pn_tls_get_encrypt/decrypt_input_buffer_capacity() unconditionally return 
> the number of empty buffer slots.
> However pn_tls_give_encrypt/decrypt_input_buffers() checks the state of the 
> tls session and can take zero buffers even though get capacity returned > 0.
> In this case the application will have to "unwind" any buffer 
> allocation/setup work it did expecting there was capacity available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-proton] codecov-commenter commented on pull request #380: PROTON-2622: ensure the input_buffer_capacity API returns 0 on error

2022-10-11 Thread GitBox


codecov-commenter commented on PR #380:
URL: https://github.com/apache/qpid-proton/pull/380#issuecomment-127593

   # 
[Codecov](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#380](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (ec30be8) into 
[main](https://codecov.io/gh/apache/qpid-proton/commit/bee4fea2cdcb14ed0055a77dcce4fd5f9718e3ce?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (bee4fea) will **decrease** coverage by `1.21%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@Coverage Diff @@
   ## main #380  +/-   ##
   ==
   - Coverage   88.34%   87.13%   -1.22% 
   ==
 Files  47   47  
 Lines2394 2394  
   ==
   - Hits 2115 2086  -29 
   - Misses279  308  +29 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-proton/pull/380?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[ruby/lib/core/delivery.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29yZS9kZWxpdmVyeS5yYg==)
 | `57.57% <0.00%> (-36.37%)` | :arrow_down: |
   | 
[ruby/lib/core/tracker.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29yZS90cmFja2VyLnJi)
 | `55.55% <0.00%> (-33.34%)` | :arrow_down: |
   | 
[ruby/lib/handler/messaging\_adapter.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvaGFuZGxlci9tZXNzYWdpbmdfYWRhcHRlci5yYg==)
 | `89.85% <0.00%> (-7.25%)` | :arrow_down: |
   | 
[ruby/lib/codec/data.rb](https://codecov.io/gh/apache/qpid-proton/pull/380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-cnVieS9saWIvY29kZWMvZGF0YS5yYg==)
 | `92.17% <0.00%> (-3.92%)` | :arrow_down: |
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2618) Remote close with [condition = amqp:connection:forced] leads to exception thrown even though reconnect is enabled

2022-10-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616085#comment-17616085
 ] 

ASF subversion and git services commented on PROTON-2618:
-

Commit dce813b8838b17d0a4a0e47116d7a8f08f1fab34 in qpid-protonj2's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=dce813b8 ]

PROTON-2618 Add additional sender test to validate recovery state

Ensure sends still function as expected after link recovery and previous
blocked send failed.

> Remote close with [condition = amqp:connection:forced] leads to exception 
> thrown even though reconnect is enabled
> -
>
> Key: PROTON-2618
> URL: https://issues.apache.org/jira/browse/PROTON-2618
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: protonj2
>Affects Versions: protonj2-1.0.0-M9
>Reporter: Jiri Daněk
>Assignee: Timothy A. Bish
>Priority: Major
> Fix For: protonj2-1.0.0-M10
>
>
> According to previous issues in the Qpid Proton and Qpid JMS projects, the 
> AMQP clients are supposed to initiate reconnect in this sitiuation.
> * QPIDJMS-395, QPIDJMS-265
> * PROTON-1416, PROTON-1423
> * https://github.com/Azure/amqpnetlite/issues/33
> * (PROTON-2204)
> Instead, I get an exception
> {noformat}
> [15:38:33] [INFO] dtestlib.Test :: stderr:
>   
> org.apache.qpid.protonj2.client.exceptions.ClientConnectionRemotelyClosedException:
>  Received error from remote peer without description [condition = 
> amqp:connection:forced]
>   at 
> org.apache.qpid.protonj2.client.impl.ClientExceptionSupport.convertToConnectionClosedException(ClientExceptionSupport.java:128)
>   at 
> org.apache.qpid.protonj2.client.impl.ClientLinkType.handleParentEndpointClosed(ClientLinkType.java:378)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonLink.fireParentEndpointClosed(ProtonLink.java:517)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonLink.handleConnectionLocallyClosed(ProtonLink.java:590)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonSession.lambda$handleConnectionLocallyClosed$1(ProtonSession.java:467)
>   at java.base/java.lang.Iterable.forEach(Iterable.java:75)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonSession.handleConnectionLocallyClosed(ProtonSession.java:467)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonConnection.lambda$close$0(ProtonConnection.java:144)
>   at java.base/java.lang.Iterable.forEach(Iterable.java:75)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonConnection.close(ProtonConnection.java:144)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonConnection.close(ProtonConnection.java:63)
>   at 
> org.apache.qpid.protonj2.client.impl.ClientConnection.handleRemoteClose(ClientConnection.java:694)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonEndpoint.fireRemoteClose(ProtonEndpoint.java:139)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonConnection.handleClose(ProtonConnection.java:449)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonPerformativeHandler.handleClose(ProtonPerformativeHandler.java:158)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonPerformativeHandler.handleClose(ProtonPerformativeHandler.java:43)
>   at org.apache.qpid.protonj2.types.transport.Close.invoke(Close.java:74)
>   at 
> org.apache.qpid.protonj2.engine.IncomingAMQPEnvelope.invoke(IncomingAMQPEnvelope.java:69)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonPerformativeHandler.handleRead(ProtonPerformativeHandler.java:68)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonEngineHandlerContext.invokeHandlerRead(ProtonEngineHandlerContext.java:187)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonEngineHandlerContext.fireRead(ProtonEngineHandlerContext.java:147)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonFrameLoggingHandler.handleRead(ProtonFrameLoggingHandler.java:101)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonEngineHandlerContext.invokeHandlerRead(ProtonEngineHandlerContext.java:187)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonEngineHandlerContext.fireRead(ProtonEngineHandlerContext.java:147)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonFrameDecodingHandler$FrameBodyParsingStage.parse(ProtonFrameDecodingHandler.java:363)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonFrameDecodingHandler$FrameSizeParsingStage.parse(ProtonFrameDecodingHandler.java:259)
>   at 
> org.apache.qpid.protonj2.engine.impl.ProtonFrameDecodingHandler.handleRead(ProtonFrameDecodingHandler.java:99)
>   at 
> 

[jira] [Resolved] (PROTON-2615) [proton-dotnet] Publicly sign assemblies

2022-10-11 Thread Timothy A. Bish (Jira)


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

Timothy A. Bish resolved PROTON-2615.
-
Resolution: Fixed

> [proton-dotnet] Publicly sign assemblies
> 
>
> Key: PROTON-2615
> URL: https://issues.apache.org/jira/browse/PROTON-2615
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-dotnet
>Affects Versions: proton-dotnet-1.0.0-M5
>Reporter: Petr Matousek
>Assignee: Timothy A. Bish
>Priority: Minor
> Attachments: PROTON-2615.patch
>
>
> Publicly sign assemblies to allow build on systems with strict cryptographic 
> policies (ie.: RHEL9).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (PROTON-2609) [proton-j] Remove unnecessary ByteBuffer slices and duplicates from the codec

2022-10-11 Thread Timothy A. Bish (Jira)


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

Timothy A. Bish resolved PROTON-2609.
-
Resolution: Fixed

> [proton-j] Remove unnecessary ByteBuffer slices and duplicates from the codec 
> --
>
> Key: PROTON-2609
> URL: https://issues.apache.org/jira/browse/PROTON-2609
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-j
>Affects Versions: proton-j-0.34.0
>Reporter: Timothy A. Bish
>Assignee: Timothy A. Bish
>Priority: Minor
> Fix For: proton-j-0.35.0
>
>
> The internal proton-j codec create several unneeded ByteBuffer slices and 
> duplicates where it could just track buffer position and limits when needed 
> to read byte array data and not create excess GC pressure just to read a 
> Symbol payload or String body etc.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Assigned] (PROTON-2622) TLS OpenSSL library: ensure capacity values match given capacity

2022-10-11 Thread Ken Giusti (Jira)


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

Ken Giusti reassigned PROTON-2622:
--

Assignee: Clifford Jansen

> TLS OpenSSL library: ensure capacity values match given capacity
> 
>
> Key: PROTON-2622
> URL: https://issues.apache.org/jira/browse/PROTON-2622
> Project: Qpid Proton
>  Issue Type: Wish
>  Components: proton-c
>Affects Versions: proton-c-0.38.0
>Reporter: Ken Giusti
>Assignee: Clifford Jansen
>Priority: Major
>
>  pn_tls_get_encrypt/decrypt_input_buffer_capacity() unconditionally return 
> the number of empty buffer slots.
> However pn_tls_give_encrypt/decrypt_input_buffers() checks the state of the 
> tls session and can take zero buffers even though get capacity returned > 0.
> In this case the application will have to "unwind" any buffer 
> allocation/setup work it did expecting there was capacity available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2622) TLS OpenSSL library: ensure capacity values match given capacity

2022-10-11 Thread Ken Giusti (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616059#comment-17616059
 ] 

Ken Giusti commented on PROTON-2622:


Pull Request https://github.com/apache/qpid-proton/pull/380

> TLS OpenSSL library: ensure capacity values match given capacity
> 
>
> Key: PROTON-2622
> URL: https://issues.apache.org/jira/browse/PROTON-2622
> Project: Qpid Proton
>  Issue Type: Wish
>  Components: proton-c
>Affects Versions: proton-c-0.38.0
>Reporter: Ken Giusti
>Priority: Major
>
>  pn_tls_get_encrypt/decrypt_input_buffer_capacity() unconditionally return 
> the number of empty buffer slots.
> However pn_tls_give_encrypt/decrypt_input_buffers() checks the state of the 
> tls session and can take zero buffers even though get capacity returned > 0.
> In this case the application will have to "unwind" any buffer 
> allocation/setup work it did expecting there was capacity available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (PROTON-2622) TLS OpenSSL library: ensure capacity values match given capacity

2022-10-11 Thread Ken Giusti (Jira)
Ken Giusti created PROTON-2622:
--

 Summary: TLS OpenSSL library: ensure capacity values match given 
capacity
 Key: PROTON-2622
 URL: https://issues.apache.org/jira/browse/PROTON-2622
 Project: Qpid Proton
  Issue Type: Wish
  Components: proton-c
Affects Versions: proton-c-0.38.0
Reporter: Ken Giusti


 pn_tls_get_encrypt/decrypt_input_buffer_capacity() unconditionally return the 
number of empty buffer slots.

However pn_tls_give_encrypt/decrypt_input_buffers() checks the state of the tls 
session and can take zero buffers even though get capacity returned > 0.

In this case the application will have to "unwind" any buffer allocation/setup 
work it did expecting there was capacity available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (PROTON-2621) [proton-dotnet] OpenSession() fail when using multiple connections

2022-10-11 Thread Timothy A. Bish (Jira)


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

Timothy A. Bish resolved PROTON-2621.
-
Resolution: Fixed

> [proton-dotnet] OpenSession() fail when using multiple connections
> --
>
> Key: PROTON-2621
> URL: https://issues.apache.org/jira/browse/PROTON-2621
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-dotnet
>Affects Versions: proton-dotnet-1.0.0-M4
>Reporter: Petr Matousek
>Assignee: Timothy A. Bish
>Priority: Major
> Fix For: proton-dotnet-1.0.0-M5
>
> Attachments: Program.cs, coredump.txt
>
>
> I see that the client occasionally crashes with the following exception on 
> OpenSession call when using multiple (2+) connections:
> {code:java}
> Unhandled exception. 
> Apache.Qpid.Proton.Client.Exceptions.ClientConnectionRemotelyClosedException: 
> The key already existed in the dictionary.
> {code}
>  I was unable to reproduce the issue with single connection. I'm attaching 
> the reproducer (needs to be run multiple times to hit the issue) and the 
> coredump. This was seen on RHEL8. The client was connecting to Red Hat AMQ 
> 7.10.0.GA Broker.
> full trace:
> {code:java}
> [root@dtests-rhel8x-tn-base Example.CreateSession]# PN_TRACE_FRM=1 dotnet run
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> -> SASL:[1435533887:0] AMQP,3,1,0,0
> -> SASL:[-1465308719:0] AMQP,3,1,0,0
> -> SASL:[784769366:0] AMQP,3,1,0,0
> -> SASL:[-2054909097:0] AMQP,3,1,0,0
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-1465308719:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[1435533887:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> -> SASL:[-2144030978:0] AMQP,3,1,0,0
> -> SASL:[1188878611:0] AMQP,3,1,0,0
> -> SASL:[1563351650:0] AMQP,3,1,0,0
> -> SASL:[-1631994231:0] AMQP,3,1,0,0
> -> SASL:[-607077024:0] AMQP,3,1,0,0
> -> SASL:[1519399825:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[784769366:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[-2054909097:0] AMQP,3,1,0,0
> <- SASL:[-2054909097:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2054909097:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-2144030978:0] AMQP,3,1,0,0
> <- SASL:[-2144030978:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2144030978:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[1435533887:0] Ok
> -> AMQP:[1435533887:0] AMQP,0,1,0,0
> <- SASL:[-2144030978:0] Ok
> -> AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[1435533887:0] AMQP,0,1,0,0
> -> AMQP:[-2144030978:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:6', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> -> AMQP:[1435533887:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-1631994231:0] AMQP,3,1,0,0
> <- SASL:[-1631994231:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-1631994231:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[784769366:0] Ok
> -> AMQP:[784769366:0] AMQP,0,1,0,0
> <- AMQP:[784769366:0] AMQP,0,1,0,0
> -> AMQP:[784769366:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:3', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-2054909097:0] Ok
> -> AMQP:[-2054909097:0] AMQP,0,1,0,0
> <- AMQP:[-2054909097:0] AMQP,0,1,0,0
> -> AMQP:[-2054909097:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:4', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, 

[jira] [Commented] (PROTON-2621) [proton-dotnet] OpenSession() fail when using multiple connections

2022-10-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616017#comment-17616017
 ] 

ASF subversion and git services commented on PROTON-2621:
-

Commit 8ea1ccde0c4bd5db135e7e246bc63ba0ce9bd60f in qpid-proton-dotnet's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-dotnet.git;h=8ea1ccd ]

PROTON-2621 Use concurrent type explicitly to avoid threading issue

Use the concurrent dictionary type explicitly to avoid the use of the
extension method which calls the not thread safe dictionary add method
instead of the implementation specific TryAdd API.


> [proton-dotnet] OpenSession() fail when using multiple connections
> --
>
> Key: PROTON-2621
> URL: https://issues.apache.org/jira/browse/PROTON-2621
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-dotnet
>Affects Versions: proton-dotnet-1.0.0-M4
>Reporter: Petr Matousek
>Assignee: Timothy A. Bish
>Priority: Major
> Fix For: proton-dotnet-1.0.0-M5
>
> Attachments: Program.cs, coredump.txt
>
>
> I see that the client occasionally crashes with the following exception on 
> OpenSession call when using multiple (2+) connections:
> {code:java}
> Unhandled exception. 
> Apache.Qpid.Proton.Client.Exceptions.ClientConnectionRemotelyClosedException: 
> The key already existed in the dictionary.
> {code}
>  I was unable to reproduce the issue with single connection. I'm attaching 
> the reproducer (needs to be run multiple times to hit the issue) and the 
> coredump. This was seen on RHEL8. The client was connecting to Red Hat AMQ 
> 7.10.0.GA Broker.
> full trace:
> {code:java}
> [root@dtests-rhel8x-tn-base Example.CreateSession]# PN_TRACE_FRM=1 dotnet run
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> -> SASL:[1435533887:0] AMQP,3,1,0,0
> -> SASL:[-1465308719:0] AMQP,3,1,0,0
> -> SASL:[784769366:0] AMQP,3,1,0,0
> -> SASL:[-2054909097:0] AMQP,3,1,0,0
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-1465308719:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[1435533887:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> -> SASL:[-2144030978:0] AMQP,3,1,0,0
> -> SASL:[1188878611:0] AMQP,3,1,0,0
> -> SASL:[1563351650:0] AMQP,3,1,0,0
> -> SASL:[-1631994231:0] AMQP,3,1,0,0
> -> SASL:[-607077024:0] AMQP,3,1,0,0
> -> SASL:[1519399825:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[784769366:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[-2054909097:0] AMQP,3,1,0,0
> <- SASL:[-2054909097:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2054909097:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-2144030978:0] AMQP,3,1,0,0
> <- SASL:[-2144030978:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2144030978:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[1435533887:0] Ok
> -> AMQP:[1435533887:0] AMQP,0,1,0,0
> <- SASL:[-2144030978:0] Ok
> -> AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[1435533887:0] AMQP,0,1,0,0
> -> AMQP:[-2144030978:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:6', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> -> AMQP:[1435533887:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-1631994231:0] AMQP,3,1,0,0
> <- SASL:[-1631994231:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-1631994231:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[784769366:0] Ok
> -> AMQP:[784769366:0] AMQP,0,1,0,0
> <- AMQP:[784769366:0] AMQP,0,1,0,0
> -> AMQP:[784769366:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:3', 
> hostname='localhost', 

[jira] [Updated] (PROTON-2621) [proton-dotnet] OpenSession() fail when using multiple connections

2022-10-11 Thread Timothy A. Bish (Jira)


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

Timothy A. Bish updated PROTON-2621:

Affects Version/s: proton-dotnet-1.0.0-M4
   (was: proton-dotnet-1.0.0-M5)

> [proton-dotnet] OpenSession() fail when using multiple connections
> --
>
> Key: PROTON-2621
> URL: https://issues.apache.org/jira/browse/PROTON-2621
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-dotnet
>Affects Versions: proton-dotnet-1.0.0-M4
>Reporter: Petr Matousek
>Assignee: Timothy A. Bish
>Priority: Major
> Fix For: proton-dotnet-1.0.0-M5
>
> Attachments: Program.cs, coredump.txt
>
>
> I see that the client occasionally crashes with the following exception on 
> OpenSession call when using multiple (2+) connections:
> {code:java}
> Unhandled exception. 
> Apache.Qpid.Proton.Client.Exceptions.ClientConnectionRemotelyClosedException: 
> The key already existed in the dictionary.
> {code}
>  I was unable to reproduce the issue with single connection. I'm attaching 
> the reproducer (needs to be run multiple times to hit the issue) and the 
> coredump. This was seen on RHEL8. The client was connecting to Red Hat AMQ 
> 7.10.0.GA Broker.
> full trace:
> {code:java}
> [root@dtests-rhel8x-tn-base Example.CreateSession]# PN_TRACE_FRM=1 dotnet run
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> -> SASL:[1435533887:0] AMQP,3,1,0,0
> -> SASL:[-1465308719:0] AMQP,3,1,0,0
> -> SASL:[784769366:0] AMQP,3,1,0,0
> -> SASL:[-2054909097:0] AMQP,3,1,0,0
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-1465308719:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[1435533887:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> -> SASL:[-2144030978:0] AMQP,3,1,0,0
> -> SASL:[1188878611:0] AMQP,3,1,0,0
> -> SASL:[1563351650:0] AMQP,3,1,0,0
> -> SASL:[-1631994231:0] AMQP,3,1,0,0
> -> SASL:[-607077024:0] AMQP,3,1,0,0
> -> SASL:[1519399825:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[784769366:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[-2054909097:0] AMQP,3,1,0,0
> <- SASL:[-2054909097:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2054909097:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-2144030978:0] AMQP,3,1,0,0
> <- SASL:[-2144030978:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2144030978:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[1435533887:0] Ok
> -> AMQP:[1435533887:0] AMQP,0,1,0,0
> <- SASL:[-2144030978:0] Ok
> -> AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[1435533887:0] AMQP,0,1,0,0
> -> AMQP:[-2144030978:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:6', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> -> AMQP:[1435533887:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-1631994231:0] AMQP,3,1,0,0
> <- SASL:[-1631994231:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-1631994231:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[784769366:0] Ok
> -> AMQP:[784769366:0] AMQP,0,1,0,0
> <- AMQP:[784769366:0] AMQP,0,1,0,0
> -> AMQP:[784769366:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:3', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-2054909097:0] Ok
> -> AMQP:[-2054909097:0] AMQP,0,1,0,0
> <- AMQP:[-2054909097:0] AMQP,0,1,0,0
> -> AMQP:[-2054909097:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:4', 
> 

[jira] [Updated] (PROTON-2621) [proton-dotnet] OpenSession() fail when using multiple connections

2022-10-11 Thread Timothy A. Bish (Jira)


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

Timothy A. Bish updated PROTON-2621:

Fix Version/s: proton-dotnet-1.0.0-M5

> [proton-dotnet] OpenSession() fail when using multiple connections
> --
>
> Key: PROTON-2621
> URL: https://issues.apache.org/jira/browse/PROTON-2621
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-dotnet
>Affects Versions: proton-dotnet-1.0.0-M5
>Reporter: Petr Matousek
>Assignee: Timothy A. Bish
>Priority: Major
> Fix For: proton-dotnet-1.0.0-M5
>
> Attachments: Program.cs, coredump.txt
>
>
> I see that the client occasionally crashes with the following exception on 
> OpenSession call when using multiple (2+) connections:
> {code:java}
> Unhandled exception. 
> Apache.Qpid.Proton.Client.Exceptions.ClientConnectionRemotelyClosedException: 
> The key already existed in the dictionary.
> {code}
>  I was unable to reproduce the issue with single connection. I'm attaching 
> the reproducer (needs to be run multiple times to hit the issue) and the 
> coredump. This was seen on RHEL8. The client was connecting to Red Hat AMQ 
> 7.10.0.GA Broker.
> full trace:
> {code:java}
> [root@dtests-rhel8x-tn-base Example.CreateSession]# PN_TRACE_FRM=1 dotnet run
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> -> SASL:[1435533887:0] AMQP,3,1,0,0
> -> SASL:[-1465308719:0] AMQP,3,1,0,0
> -> SASL:[784769366:0] AMQP,3,1,0,0
> -> SASL:[-2054909097:0] AMQP,3,1,0,0
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-1465308719:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] AMQP,3,1,0,0
> <- SASL:[1435533887:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[1435533887:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> -> SASL:[-2144030978:0] AMQP,3,1,0,0
> -> SASL:[1188878611:0] AMQP,3,1,0,0
> -> SASL:[1563351650:0] AMQP,3,1,0,0
> -> SASL:[-1631994231:0] AMQP,3,1,0,0
> -> SASL:[-607077024:0] AMQP,3,1,0,0
> -> SASL:[1519399825:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] AMQP,3,1,0,0
> <- SASL:[784769366:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[784769366:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[-2054909097:0] AMQP,3,1,0,0
> <- SASL:[-2054909097:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2054909097:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[-2144030978:0] AMQP,3,1,0,0
> <- SASL:[-2144030978:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-2144030978:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> ClientConnection:[ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1]
> <- SASL:[1435533887:0] Ok
> -> AMQP:[1435533887:0] AMQP,0,1,0,0
> <- SASL:[-2144030978:0] Ok
> -> AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[-2144030978:0] AMQP,0,1,0,0
> <- AMQP:[1435533887:0] AMQP,0,1,0,0
> -> AMQP:[-2144030978:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:6', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> -> AMQP:[1435533887:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:1', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-1631994231:0] AMQP,3,1,0,0
> <- SASL:[-1631994231:0] SaslMechanisms\{mechanisms=PLAIN,ANONYMOUS}
> -> SASL:[-1631994231:0] SaslInit\{mechanismPLAIN, 
> initialResponse="%00admin%00admin", hostname=}
> <- SASL:[784769366:0] Ok
> -> AMQP:[784769366:0] AMQP,0,1,0,0
> <- AMQP:[784769366:0] AMQP,0,1,0,0
> -> AMQP:[784769366:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:3', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> idleTimeOut=6, outgoingLocales=null, incomingLocales=null, 
> offeredCapabilities=null, 
> desiredCapabilities=Apache.Qpid.Proton.Types.Symbol[], properties=}
> <- SASL:[-2054909097:0] Ok
> -> AMQP:[-2054909097:0] AMQP,0,1,0,0
> <- AMQP:[-2054909097:0] AMQP,0,1,0,0
> -> AMQP:[-2054909097:0] Open\{ 
> containerId='ID:25035127-93c5-401a-a8d5-1252c79d2dbd:1:4', 
> hostname='localhost', maxFrameSize=65536, channelMax=65535, 
> 

[GitHub] [qpid-broker-j] vavrtom merged pull request #142: QPID-8602: [Broker-J] Show producer details in REST API

2022-10-11 Thread GitBox


vavrtom merged PR #142:
URL: https://github.com/apache/qpid-broker-j/pull/142


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-8602) [Broker-J] Show producer details in REST API

2022-10-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615840#comment-17615840
 ] 

ASF GitHub Bot commented on QPID-8602:
--

vavrtom merged PR #142:
URL: https://github.com/apache/qpid-broker-j/pull/142




> [Broker-J] Show producer details in REST API
> 
>
> Key: QPID-8602
> URL: https://issues.apache.org/jira/browse/QPID-8602
> Project: Qpid
>  Issue Type: Improvement
>  Components: Broker-J
>Affects Versions: qpid-java-broker-8.0.6
>Reporter: Daniil Kirilyuk
>Priority: Minor
>
> Currently Java broker supports showing details of consumers like below:
> {noformat}
> {
>   "id" : "488cd88d-f7e2-489d-91bf-8421082eda46",
>   "name" : 
> "0|1|qpid-jms:receiver:ID:6c8ae209-9204-4e37-8da8-3a67abaa4e9f:1:1:1:broadcast.CAREX_TESTCALMMACC1.Public",
>   "type" : "Consumer",
>   "desiredState" : "ACTIVE",
>   "state" : "UNINITIALIZED",
>   "durable" : false,
>   "lifetimePolicy" : "DELETE_ON_SESSION_END",
>   "distributionMode" : "MOVE",
>   "exclusive" : false,
>   "lastOpenedTime" : 1657701041873,
>   "linkName" : 
> "qpid-jms:receiver:ID:6c8ae209-9204-4e37-8da8-3a67abaa4e9f:1:1:1:broadcast.CAREX_TESTCALMMACC1.Public",
>   "noLocal" : false,
>   "nonLive" : false,
>   "priority" : 2147483647,
>   "session" : "1",
>   "createdBy" : "CAREX_TESTCALMMACC1",
>   "createdTime" : 1657701041872,
>   "statistics" : {
> "bytesOut" : 0,
> "messagesOut" : 0,
> "unacknowledgedBytes" : 0,
> "unacknowledgedMessages" : 0
>   }
> }
> {noformat}
> There should be similar info about producers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-8602) [Broker-J] Show producer details in REST API

2022-10-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615841#comment-17615841
 ] 

ASF subversion and git services commented on QPID-8602:
---

Commit 4e9bac0654125286de8653ff1b6bddb70264489b in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=4e9bac0654 ]

QPID-8602: [Broker-J] Show producer details in REST API (#142)



> [Broker-J] Show producer details in REST API
> 
>
> Key: QPID-8602
> URL: https://issues.apache.org/jira/browse/QPID-8602
> Project: Qpid
>  Issue Type: Improvement
>  Components: Broker-J
>Affects Versions: qpid-java-broker-8.0.6
>Reporter: Daniil Kirilyuk
>Priority: Minor
>
> Currently Java broker supports showing details of consumers like below:
> {noformat}
> {
>   "id" : "488cd88d-f7e2-489d-91bf-8421082eda46",
>   "name" : 
> "0|1|qpid-jms:receiver:ID:6c8ae209-9204-4e37-8da8-3a67abaa4e9f:1:1:1:broadcast.CAREX_TESTCALMMACC1.Public",
>   "type" : "Consumer",
>   "desiredState" : "ACTIVE",
>   "state" : "UNINITIALIZED",
>   "durable" : false,
>   "lifetimePolicy" : "DELETE_ON_SESSION_END",
>   "distributionMode" : "MOVE",
>   "exclusive" : false,
>   "lastOpenedTime" : 1657701041873,
>   "linkName" : 
> "qpid-jms:receiver:ID:6c8ae209-9204-4e37-8da8-3a67abaa4e9f:1:1:1:broadcast.CAREX_TESTCALMMACC1.Public",
>   "noLocal" : false,
>   "nonLive" : false,
>   "priority" : 2147483647,
>   "session" : "1",
>   "createdBy" : "CAREX_TESTCALMMACC1",
>   "createdTime" : 1657701041872,
>   "statistics" : {
> "bytesOut" : 0,
> "messagesOut" : 0,
> "unacknowledgedBytes" : 0,
> "unacknowledgedMessages" : 0
>   }
> }
> {noformat}
> There should be similar info about producers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-8601) [Broker-J] Broker-J instrumentation agent

2022-10-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-8601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615830#comment-17615830
 ] 

ASF subversion and git services commented on QPID-8601:
---

Commit e273a0bdb8daef63e7872355641658efdff619f0 in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=e273a0bdb8 ]

QPID-8601: [Broker-J] Broker-J instrumentation agent (#141)

* QPID-8601: [Broker-J] Broker-J instrumentation agent

* QPID-8601: [Broker-J] Added new line to end of file

Co-authored-by: vavrtom 

> [Broker-J] Broker-J instrumentation agent
> -
>
> Key: QPID-8601
> URL: https://issues.apache.org/jira/browse/QPID-8601
> Project: Qpid
>  Issue Type: Improvement
>  Components: Broker-J
>Affects Versions: qpid-java-broker-8.0.6
>Reporter: Daniil Kirilyuk
>Priority: Minor
>
> Broker model objects heavily rely on java reflection. 
> Java version 7/8 introduced reflection alternatives allowing to access class 
> fields as well as call class methods. Brief review of those alternatives can 
> be found in this [blog 
> post|https://www.optaplanner.org/blog/2018/01/09/JavaReflectionButMuchFaster.html].
> There are further changes coming, e.g. [JEP 416|https://openjdk.org/jeps/416] 
> (implemented in Java 18), having as a goal reimplementation of 
> java.lang.reflect.Method, Constructor, and Field on top of java.lang.invoke 
> method handles. Jackson databind library already has an 
> [issue|https://github.com/FasterXML/jackson-databind/issues/2083] directed to 
> replace reflection calls with method handles. Similar approach is used in 
> [spring 
> data|https://github.com/spring-projects/spring-data-commons/blob/main/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java]
>  framework as well.
> We suggest to implement a static instrumentation object, which will replace 
> reflection method invocation with the invocations of static final 
> MethodHandle instances.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-8601) [Broker-J] Broker-J instrumentation agent

2022-10-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-8601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615829#comment-17615829
 ] 

ASF GitHub Bot commented on QPID-8601:
--

vavrtom merged PR #141:
URL: https://github.com/apache/qpid-broker-j/pull/141




> [Broker-J] Broker-J instrumentation agent
> -
>
> Key: QPID-8601
> URL: https://issues.apache.org/jira/browse/QPID-8601
> Project: Qpid
>  Issue Type: Improvement
>  Components: Broker-J
>Affects Versions: qpid-java-broker-8.0.6
>Reporter: Daniil Kirilyuk
>Priority: Minor
>
> Broker model objects heavily rely on java reflection. 
> Java version 7/8 introduced reflection alternatives allowing to access class 
> fields as well as call class methods. Brief review of those alternatives can 
> be found in this [blog 
> post|https://www.optaplanner.org/blog/2018/01/09/JavaReflectionButMuchFaster.html].
> There are further changes coming, e.g. [JEP 416|https://openjdk.org/jeps/416] 
> (implemented in Java 18), having as a goal reimplementation of 
> java.lang.reflect.Method, Constructor, and Field on top of java.lang.invoke 
> method handles. Jackson databind library already has an 
> [issue|https://github.com/FasterXML/jackson-databind/issues/2083] directed to 
> replace reflection calls with method handles. Similar approach is used in 
> [spring 
> data|https://github.com/spring-projects/spring-data-commons/blob/main/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java]
>  framework as well.
> We suggest to implement a static instrumentation object, which will replace 
> reflection method invocation with the invocations of static final 
> MethodHandle instances.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-broker-j] vavrtom merged pull request #141: QPID-8601: [Broker-J] Broker-J instrumentation agent

2022-10-11 Thread GitBox


vavrtom merged PR #141:
URL: https://github.com/apache/qpid-broker-j/pull/141


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1846) [proton-c] Message decode fails with PN_OUT_OF_MEMORY if there are large lists in the message

2022-10-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615577#comment-17615577
 ] 

ASF GitHub Bot commented on PROTON-1846:


marcelmeulemans closed pull request #155: PROTON-1846: allow more than 65536 
nodes in a pn_data_t instance
URL: https://github.com/apache/qpid-proton/pull/155




> [proton-c]  Message decode fails with PN_OUT_OF_MEMORY if there are large 
> lists in the message
> --
>
> Key: PROTON-1846
> URL: https://issues.apache.org/jira/browse/PROTON-1846
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.22.0
>Reporter: Ganesh Murthy
>Priority: Major
> Attachments: send_large_structured_body.js
>
>
> Steps to reproduce -
>  
>  # Start the Qpid Dispatch router
>  # Run the following script that creates a bunch of addresses
>  # for i in `seq 1 6546`; do echo 
> "\{\"prefix\":\"address-$i\",\"distribution\":\"balanced\"}" | qdmanage 
> CREATE --type=org.apache.qpid.dispatch.router.config.address --name 
> address-$i --stdin; done
>  # now run qdmanage QUERY --type=address
>  # You will receive a Data error (-10)
> The following diff seems to fix the issue
> diff --git a/c/src/core/data.h b/c/src/core/data.h
> index 94dc7d67..f4320e2a 100644
> --- a/c/src/core/data.h
> +++ b/c/src/core/data.h
> @@ -27,7 +27,7 @@
>  #include "decoder.h"
>  #include "encoder.h"
>  
> -typedef uint16_t pni_nid_t;
> +typedef uint32_t pni_nid_t;
>  #define PNI_NID_MAX ((pni_nid_t)-1)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-proton] marcelmeulemans closed pull request #155: PROTON-1846: allow more than 65536 nodes in a pn_data_t instance

2022-10-11 Thread GitBox


marcelmeulemans closed pull request #155: PROTON-1846: allow more than 65536 
nodes in a pn_data_t instance
URL: https://github.com/apache/qpid-proton/pull/155


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-proton] marcelmeulemans closed pull request #156: PROTON-1936: lower case include and updated ifdefs

2022-10-11 Thread GitBox


marcelmeulemans closed pull request #156: PROTON-1936: lower case include and 
updated ifdefs
URL: https://github.com/apache/qpid-proton/pull/156


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1936) Support cross compiling to Windows from Linux

2022-10-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17615575#comment-17615575
 ] 

ASF GitHub Bot commented on PROTON-1936:


marcelmeulemans closed pull request #156: PROTON-1936: lower case include and 
updated ifdefs
URL: https://github.com/apache/qpid-proton/pull/156




> Support cross compiling to Windows from Linux
> -
>
> Key: PROTON-1936
> URL: https://issues.apache.org/jira/browse/PROTON-1936
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: proton-c-0.25.0
>Reporter: Marcel Meulemans
>Priority: Minor
>
> I am cross compiling proton for Windows via docker (multiarch/crossbuild) and 
> running into a few minor issues that make it not work out of the box (mainly 
> include file casing). Pull request will follow, more details there ... it 
> would be nice if this made it upstream.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org