Artemis' Rest Interface Authentication

2017-11-01 Thread Archibald
transport but even then I see no way to pass any credentials along with the call. So how is rest supposed to work exactly? Thanks for any clarification! Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis] NPE on server (re)start

2018-05-14 Thread Archibald
Strange, artemis address show reads 2018-05-14 13:43:50,777 WARN [org.apache.activemq.artemis.core.client] AMQ212054: Destination address=activemq.management is blocked. If the system is configured to block make sure you consume messages on this configuration. But the queue is (also) empty.

Re: [Artemis] NPE on server (re)start

2018-05-14 Thread Archibald
Hi, Last time I removed the perstint, so I cannot help with internal data for debugging. But now I get another strange issue regarding paging (I suppose). Broker is complaining about Disk being full. 2018-05-14 13:12:36,431 WARN [org.apache.activemq.artemis.core.server] AMQ12: Disk Full!

Re: [Artemis] NPE on server (re)start

2018-05-15 Thread Archibald
@Justin: Bingo! Disk usage was above the threshold of 90%. Thank you so much! Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[Artemis] NPE on server (re)start

2018-05-11 Thread Archibald
5.0] at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49) [artemis-boot.jar:2.5.0] What is it about? Thanks, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-26 Thread Archibald
@jbertram: 2.5.0 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-26 Thread Archibald
.nabble.com/Artemis-2-5-0-Problems-with-colocated-scaledown-td4737583.html but has never been commented and in my scenario it doesn't matter wether I use UDP broadcasts or static connectors. Thank you for any help, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-26 Thread Archibald
The more I search for answers by reading other threads the more I get the impression, that the whole replication strategy only works on your test cases (or single host) but not in a real clustered (multi host) environment... See

[ARTEMIS] Message not being consumed from queue which came from topic using divert and selector expression

2018-01-11 Thread Archibald
lector expression. Message is not being consumed and broker log reads: Any help on this? Thanks, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-26 Thread Archibald
: Starting ActiveMQ Artemis Server activemq_1 | can't write NODE_ID on the JDBC Node Manager Store! The issue is that the database user it is not always allowed (has the proper grants) to create/modify a schema. Can this be fixed? Thanks, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com

Re: [ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-26 Thread Archibald
Thanks Franz, the other tables do work pretty well if they already exist but are empty. It is just the NODE_MANAGE_STORE which somehow "picky"... Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-26 Thread Archibald
currenty own the required grants since oracle is running on my own laptop. But I know that this will cause trouble when installing Artemis in our production environment. HTH, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-26 Thread Archibald
And I can see that the broker is holding a lock on that table. So it tries to insert something which fails but does not properly rollback... -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] ActiveMQScheduledLeaseLock warning is written periodically in broker log since 2.4.0

2018-01-17 Thread Archibald
Awesome, thank you! Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
BTW: A single message issued with retryMessage() works. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Message not being consumed from queue which came from topic using divert and selector expression

2018-01-12 Thread Archibald
Thanks Justin, with the fix in ARTEMIS-1508 the issue is also gone for in my case. Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Message not being consumed from queue which came from topic using divert and selector expression

2018-01-11 Thread Archibald
The issue occurs only, if the original message is being sent via AMQP (the receiver itself is a JMS-Consumer). If I use a JMS Producer everything works as expected. Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-30 Thread Archibald
Yes, I stumbled across this issue running 2.4.0. But wrote a test against master. Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS 2.4] Question: Message grouping and selectors

2018-01-30 Thread Archibald
Dear experts, Assume you have a JMS queue Q with two consumers A and B using message selectors. A listens on messages having country='US'. B listens on messages having country='Canada'. A producer C sents subsequently messages to Q with either country='US' or country='Canada' as property and a

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-30 Thread Archibald
See also: https://issues.apache.org/jira/browse/ARTEMIS-1645. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald
be: _AMQ_ORIG_ADDRESS=, _AMQ_ORIG_QUEUE=TARGET Attached you'll find a testcase "testRetryDivertedMessage" which demonstrates the problem. Can this be fixed? a) Retry should be possible. b) If not do not remove message. Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/Act

Re: [ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-27 Thread Archibald
ommit(); ... So if table exists, don't do anything. If it doesn't exist, fill with initial data. This implementation could be improved by the case where the table exists, but is empty which should lead to the same initial setup as the case where the table does not exist. Can this be fi

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald
Before someone asks: I ran the test against current master. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS 2.4] Question: Message grouping and selectors

2018-01-31 Thread Archibald
Thanks for the explanation, my workaround is to have only one consumer without selector and delegate accordingly in the onMessage() method. I was just wondering whether this behaviour is done-by-design or should potentially work. Br, A. -- Sent from:

Re: [ARTEMIS] Server doesn't start if JDBC store is used and table NODE_MANAGER_STORE is empty

2018-01-28 Thread Archibald
Thanks Franz, See my changes in PR #1822. Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS-2.4] Unable to copy text from console's editor

2018-02-09 Thread Archibald
Hi, Can anyone confirm, that "copy to clipboard" is broken? Thanks, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS-2.4] Unable to copy text from console's editor

2018-02-07 Thread Archibald
Hi all, I'm running Artemis 2.4 with console enabled. Security settings allow connection from any host. However I am not able to copy any text from the console's editor. For example if I browse the DLQ I see undelivered messages being listed in a kind of (disabled) editor. Why is it not

Re: [ARTEMIS-2.4] Unable to copy text from console's editor

2018-02-07 Thread Archibald
Like this one? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis and RESTeasy jar files

2018-02-21 Thread Archibald
Your configuration reads: You should try http://10.141.65.248:8080/artemis-rest/queues accordingly. Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis and RESTeasy jar files

2018-02-23 Thread Archibald
What i meant, is if you publish the rest war under "artemis-rest" using you should therefor call http://10.141.65.248:8080/artemis-rest/queues instead of http://10.141.65.248:8080/activemq-rest/queues Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
of the most important ones. Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
Sorry, i forgot to mention. I am currently running Artemis 2.4.0. What kind of test do you expect? It should be reproduceable with any DLQ containing more than 1 message. The user's test is to invoke the method above from queue's operations list in the admin console. HTH, Archibald -- Sent

Re: MessageGroup behavior

2018-03-01 Thread Archibald
Even if, would not make any difference in my case. The topic consumer is the broker itself by diverting messages into queues. But each queue has multiple consumers which process messages concurrently... -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: MessageGroup behavior

2018-03-01 Thread Archibald
queues (and one particular consumer). Second try: The producer sends message without JMSXGroupID. I've configured a transformer on each divert which adds the JMSXGroupID property. But it seems that at this stage the property is being ignored by Artemis. What can I do? Thanks, Archibald -- Sent

Re: MessageGroup behavior

2018-03-01 Thread Archibald
Agree. Sorry for that. Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-24 Thread Archibald
for live lock). Is there a way to run this scenario successfully? Thanks, Archibald. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-24 Thread Archibald
Hi Franz, I just checked the artemis-configuration.xsd and you're right! There's a node-manager-store-table-name specified. I was missing that in the latest documentation about the jdbc-store. So I can have multiple tables for each broker and a shared set of tables for bindings and messages? If

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-24 Thread Archibald
@MichelAndrePearce That's a valid question. And the answer is more or less politically driven. If you break down a monolith application which does everything in one transaction people are getting nervious about their data. Keeping messages within a database (which itself is also clustered and

Re: [ARTEMIS] Clustered broker with multiple live servers and shared JDBC-Store

2018-04-24 Thread Archibald
Hi Justin, what I understood from the documentation is that with the scale-down option it should very well be possible to offload the current work to another live server (in case of normal shutdown, of course). Or am I wrong? And how's scaled down interally handled? A client currently connected

Re: Artemis and RESTeasy jar files

2018-02-26 Thread Archibald
One issue might be an incorrect build of artemis-rest.war. The war does not contain any server libs as described in https://activemq.apache.org/artemis/docs/latest/rest.html Quote: http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;

Re: ApacheMQ Artemis JCA Adapter

2018-02-28 Thread Archibald
This one? https://mvnrepository.com/artifact/org.apache.activemq.examples.modules/artemis-rar/2.4.0 Br, Archibald -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald Whilshire
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the