Errors occurred during the buffering operation in Artemis with Openwire clients

2023-08-01 Thread MILOVIDOV Aleksandr
Hello! We are using ActiveMQ Artemis with versions 2.28.0 - 2.29.0 and we have a lot of clients which can use some other versions and implementations. Some clients use ActiveMQ classic client library. When user tries to connect with OPENWIRE protocol and send a message to the queue to which it h

Problem with Artemis upgrade in versions 2.29.0+

2023-08-18 Thread MILOVIDOV Aleksandr
Hello Team, We have found strange problem when upgrading ActiveMQ Artemis instance from version 2.29.0 and higher to the same or higher version. After running command "artemis upgrade /path/to/instance", web section in bootstrap.xml is broken and Artemis cannot start: http://localhos

RE: Pre-authentication with Broker

2023-08-21 Thread MILOVIDOV Aleksandr
Hi, We also have problem with misconfigured clients which cause error logs on the server, mostly in test environments. It seems that it has no impact on other clients in our test lab. I don't know how to solve it, but maybe you can try to use some external authentication mechanism (maybe on some

RE: Problem with Artemis upgrade in versions 2.29.0+

2023-08-21 Thread MILOVIDOV Aleksandr
> Can you create a JIRA? it is definitely a bug. I'm new to ASF projects, and currently I don't have an authorization to create issues. If someone could create an issue, it would be great. -- Best regards, Aleksandr --- This message and any attachment are confi

RE: Problem with Artemis upgrade in versions 2.29.0+

2023-08-23 Thread MILOVIDOV Aleksandr
Hello Justin, I have signed up and created issue: https://issues.apache.org/jira/browse/ARTEMIS-4397 Thanks! -- Best regards, Aleksandr Milovidov --- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.

Running Artemis management client without excessive permissions

2023-08-28 Thread MILOVIDOV Aleksandr
Hello Team, We have problem using management client in restricted environment where user can send/receive messages only to specified destinations. I would like to clarify how ActiveMQ Artemis management client works and if it is correct. I have created Artemis broker instance with --allow-anony

Message attributes handling with redistribution in Artemis cluster

2023-09-06 Thread MILOVIDOV Aleksandr
Hi Team, We have cluster of Artemis servers with three active and three backup nodes. I know that it is not optimal configuration because of message redistribution between nodes, but we still plan to use it for some time. There are some client applications with strange problem: when application

Artemis first message age metric

2023-09-18 Thread MILOVIDOV Aleksandr
Hi All, We are using metrics to check if messages are stuck in ActiveMQ Artemis queues. One of these metrics is first message age attribute. For example, IBM MQ has similar metric. It returns oldest message age if queue monitoring is turned on and returns 0 when queue is empty. When we tried to

RE: Artemis first message age metric

2023-09-19 Thread MILOVIDOV Aleksandr
t/querying/basics/#range-vector-selectors [2] https://activemq.apache.org/components/artemis/documentation/latest/metrics.html [3] https://github.com/rh-messaging/artemis-prometheus-metrics-plugin On Mon, Sep 18, 2023 at 3:41 AM MILOVIDOV Aleksandr wrote: > Hi All, > > We are using metrics

Artemis web-console: IllegalArgumentException

2023-10-04 Thread MILOVIDOV Aleksandr
Hi Team, Sometimes we have problem in Artemis management console on one of the test servers. When I try to list consumers, I get an error: could not invoke list sessionsjava.lang.IllegalArgumentException : Comparison method violates its general contract! Currently there are a lot of sessions a

RE: Artemis first message age metric

2023-10-12 Thread MILOVIDOV Aleksandr
sumer detection [1]. Justin [1] https://activemq.apache.org/components/artemis/documentation/latest/slow-consumers.html On Tue, Sep 19, 2023 at 10:42 AM MILOVIDOV Aleksandr wrote: > Thanks Justin, > > I think we have to optimize monitoring, and I'll check how to use > artemis-prometheus-m

Problems with Artemis primary/backup replication

2023-10-17 Thread MILOVIDOV Aleksandr
Hi All, We have problems with replication on some primary/backup nodes of Artemis cluster. This cluster has 3 primary and 3 backup nodes. Artemis version is 2.30.0. It looks like replication was more stable in version 2.28.0, but I'm not sure. The problem with replication often occurs after res

"Use current logon user" in Artemis management console does not work

2023-10-18 Thread MILOVIDOV Aleksandr
Hi Team, Since version 2.28.0 there is an option in the management console - when sending message to queue, user can specify user and password which are used to send message. There is also a checkbox "Use current logon user" which is turned on by default and it is not always work as expected. O

Re: "Use current logon user" in Artemis management console does not work

2023-10-18 Thread MILOVIDOV Aleksandr
Hi Domenico, > this should only happen if the user logged in the console doesn't have the > required roles to send messages to the desired addresses (check the > security-settings in broker xml). Current user has permissions to send message. If we turn off "use current logon user" checkbox and sp

Re: "Use current logon user" in Artemis management console does not work

2023-10-19 Thread MILOVIDOV Aleksandr
Hi Domenico, > maybe this issue is due to the cache, see > https://github.com/apache/activemq-artemis/blob/2.31.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/security/impl/SecurityStoreImpl.java#L409 > > Could you try to clear the authentication cache using the operation > clearA

Artemis scale-down does not work with graceful-shutdown

2023-10-19 Thread MILOVIDOV Aleksandr
Hi All, We have configured Artemis 2.31.0 symmetric cluster in the test environment. Example of cluster configuration on one of the nodes: amq1-connector 1000 5000 5 5000 500 1.0 5000 -1 -1 true ON_DEMAND 1 amq2-connector

RE: Problems with Artemis primary/backup replication

2023-10-19 Thread MILOVIDOV Aleksandr
). -- Best regards, Aleksandr From: MILOVIDOV Aleksandr Sent: Tuesday, October 17, 2023 6:39 PM To: users@activemq.apache.org Subject: Problems with Artemis primary/backup replication Hi All, We have problems with replication on some primary/backup nodes of Artemis cluster. This cluster has 3

RE: Problems with Artemis primary/backup replication

2023-10-24 Thread MILOVIDOV Aleksandr
Hi All, I have added call-timeout=6 parameter to each URL in the cluster static connectors. Seems to work, but needs further testing. Message AMQ219014 with 3 ms timeout does not appear, and servers are replicated. It looks like I have to specify this setting on each cluster connector U

Artemis management console refresh rate

2023-11-30 Thread MILOVIDOV Aleksandr
Hi Team, In the management console of ActiveMQ Artemis any user can change preferences and set update rate in Jolokia settings. Default update rate is 5 seconds. When application creates or deletes temporary queues too frequently, it is difficult to work in the console. This setting is applied t

DLQ queues based on _AMQ_ORIG_QUEUE

2023-12-08 Thread MILOVIDOV Aleksandr
Hi Team, When we configure address settings for dead-letter queue auto-creation in ActiveMQ Artemis, all queues on the DLQ address are created with filter based on _AMQ_ORIG_ADDRESS. Is it possible to auto-create queues with filter which uses _AMQ_ORIG_QUEUE instead of _AMQ_ORIG_ADDRESS ? For e

Questions about Artemis Core Bridge configuration

2024-01-30 Thread MILOVIDOV Aleksandr
Hi Team, Recently I tried to configure Core Bridge to transfer messages from one local queue to another queue on other Artemis cluster. There were problems when creating bridge configuration. Broker did not start because some options in bridge section were invalid. For example, I created Artemi

RE: Questions about Artemis Core Bridge configuration

2024-02-01 Thread MILOVIDOV Aleksandr
Hi, I tried to insert true in different positions in the section of broker.xml, and received different validation errors. Is it ok that these options should be placed in strict order? Only one working configuration with was: TEST.Q TEST.RECEIVER.Q true user password S

Support of reloading management.xml

2024-02-15 Thread MILOVIDOV Aleksandr
Hi Team, Currently we have ActiveMQ Artemis broker where access to management console is granted for several user teams with different permissions. Permissions are granted for LDAP groups. For example, we grant ApplicationA developers/testers/operations users permissions to work with addresses

RE: Problems with Artemis primary/backup replication

2024-02-15 Thread MILOVIDOV Aleksandr
ion-ttl on the cluster connections to 12 and it seems that call-timeout is not applied on the backup server (it has default value 3 in the logs). -- Best regards, Aleksandr From: MILOVIDOV Aleksandr Sent: Tuesday, October 17, 2023 6:39 PM To: users@activemq.apache.org Subject: Problems wi

Authentication cache in Artemis

2024-02-16 Thread MILOVIDOV Aleksandr
Hi Team, I would like to clarify the meaning of parameters used for authentication and authorization in ActiveMQ Artemis: authentication-cache-size security-invalidation-timeout Does Artemis cache both successful and unsuccessful logon attempts? Should we have relatively long timeout to avoid

RE: PowerShell and STOMP Support

2024-02-17 Thread MILOVIDOV Aleksandr
Hi Shiv, It is possible to send message with custom headers using "a" utility: https://github.com/fmtn/a I have been programming powershell scripts several years ago. The easiest way to send a message from script is to call external program which can work with ActiveMQ. It will work very slow

RE: Authentication cache in Artemis

2024-02-17 Thread MILOVIDOV Aleksandr
Yes. However, it is possible to ignore certain failures so that they are _not_ cached. See the "noCacheExceptions" setting documented here [1]. Justin [1] https://activemq.apache.org/components/artemis/documentation/latest/security.html#ldaploginmodule On Fri, Feb 16, 2024 at 3:15 AM M

Artemis management console stops responding with exceptions in io.hawt.web.auth.AuthenticationFilter

2024-03-13 Thread MILOVIDOV Aleksandr
Hi Team, We have ActiveMQ Artemis server in the test environment, and sometimes management console of this server becomes unresponsive. Users report that they get connection timeout when opening web page of management console. At the same time broker is working, messages are sent/consumed. When

RE: Artemis management console stops responding with exceptions in io.hawt.web.auth.AuthenticationFilter

2024-03-14 Thread MILOVIDOV Aleksandr
Hi All, I have re-read the release notes and found that new options were added in version 2.32.0 which allow to configure Jetty thread pool (ARTEMIS-4514). I will try to increase maxThreads. -- Best regards, Aleksandr -Original Message- From: MILOVIDOV Aleksandr Sent: Wednesday, March

RE: feasibility of connecting ActiveMQ Artemis with IBM MQ

2024-03-27 Thread MILOVIDOV Aleksandr
Hi All, IBM MQ has support for AMQP 1.0 protocol, and listener for AMQP connections can be configured on the server. But both brokers need some kind of bridge software (or "sender/reciever channel" in terms of IBM MQ) to move messages from one broker to another. I did not used AMQP in IBM MQ an

Artemis JMX authorization in broker.xml

2024-04-03 Thread MILOVIDOV Aleksandr
Hi Team, I'm trying to enable and test new feature which was developed in ARTEMIS-4582 - add view and edit permissions to extend security-settings rbac for management operations. I tried to configure JMX authorization in broker.xml as described in the chapter https://activemq.apache.org/compo

Using LDAPLoginModule with Active Directory

2024-04-03 Thread MILOVIDOV Aleksandr
Hi All, We are using LDAPLoginModule with Active Directory. For some reason, when LDAP server is restarted, it begins to listen LDAP port, but returns authentication errors until it was fully loaded. Usually it takes about 30-60 seconds to begin normal operation. In this period applications can

Error after upgrading Artemis from 2.32.0 to 2.33.0

2024-04-18 Thread MILOVIDOV Aleksandr
Hi All, We have faced problem when upgrading one of ActiveMQ Artemis servers from 2.32.0 to 2.33.0. Artemis cannot start and writes an error to the log: 2024-04-18 13:31:44,975 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation java.lang.IndexOutOfBoundsExcepti

RE: Error after upgrading Artemis from 2.32.0 to 2.33.0

2024-04-23 Thread MILOVIDOV Aleksandr
Hi, On Mon, Apr 22, 2024 at 6:46 PM Justin Bertram wrote: > This was caused by ARTEMIS-4582 [1]. I've opened ARTEMIS-4742 [2] and > sent a PR [3] to address the problem. Thanks Justin. On Tuesday, April 23, 2024 3:27 PM Stephen Baker wrote: > Can you clarify what condition triggers this (i.

NullPointerException in MessageReferenceImpl.java:50 and some Artemis replication issues

2024-07-24 Thread MILOVIDOV Aleksandr
Hi All, We have an ActiveMQ Artemis instance with primary/backup replication. Sometimes both servers fail to replicate after its restart. I have examined the logs of both servers, and mentioned a strange warnings in the log of first server right after it begins to stop: 1. First server is stop

RE: Web console session timeout

2024-09-24 Thread MILOVIDOV Aleksandr
Hi John, You can specify -D command line option when starting Artemis: -Dhawtio.sessionTimeout=session_timeout_in_seconds -- Best regards, Alexander From: John Lilley Sent: Tuesday, September 24, 2024 3:48 PM To: users@activemq.apache.org Subject: RE: Web console session timeout Forgot to ment

Messages are stuck in the paging

2024-10-01 Thread MILOVIDOV Aleksandr
Hi All, Sometimes messages are stuck in the Artemis queue. There may be a message in the logs (but sometimes it isn't): AMQ224127 Message dispatch from paging is blocked. Address QUEUE/Queue QUEUE will not read any more messages from paging until pending messages are acknowledged. There are cu

Question about core consumer parameters

2024-09-24 Thread MILOVIDOV Aleksandr
Hi All, When user connects to Artemis and creates core consumer, event is logged to audit journal. Is there an explanation of parameters which are logged in this event? For example, I have two events of creating consumer for queue INPUT_QUEUE with filter. First is created by application, secon

RE: Question about core consumer parameters

2024-09-24 Thread MILOVIDOV Aleksandr
Tue, Sep 24, 2024 at 6:31 AM MILOVIDOV Aleksandr wrote: > Hi All, > > When user connects to Artemis and creates core consumer, event is > logged to audit journal. Is there an explanation of parameters which > are logged in this event? > > For example, I have two events o