Live Slave Configuration not working

2019-03-27 Thread Tim
Dear, I am using 2 live brokers say LIVEA and LIVEB and I am using 2 Backup brokers say BACKUPA and BACKUPB accordingly. LIVEA and BACKUPA are belongs to group node1 LIVEB and BACKUPB are belongs to group node2 My assumption is that whenever I stop LIVEA, BACKUPA should come live and simil

Re: Reg Load balancing error in artemis.log

2019-03-30 Thread Tim
Hi Justin, I have set the "handshake-timeout=0" value in broker config file, still i am getting the same timeout error in logs. please suggest . Thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Live Slave Configuration not working

2019-03-30 Thread Tim
Hi Justin, we have tried the below scenario while client was sending the messages through network loadbalancer to live broker, at this time we have done the fail over and backup broker came to live and we are lossing the messages. if the client is sending 1 messages, its reached to queue wi

Re: Reg Load balancing error in artemis.log

2019-03-30 Thread Tim
version number :- 2.6.4 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Live Slave Configuration not working

2019-03-30 Thread Tim
Hi, it is a sample java program , it will publish & consume the messages Yes we are sending durable messages. Thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Reg Load balancing error in artemis.log

2019-03-30 Thread Tim
Hi, I have downloaded the default war file from https://hawt.io/docs/get-started/ and placed the war file in web folder and added the tag in bootstrap.xml file (i.e, to replicate the changes restarted the broker . and open the console with http://:/hawtio (successfully login). but when i am

Re: Reg Load balancing error in artemis.log

2019-04-03 Thread Tim
Hi, it's my mistake. this is on going issue with another thread -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

AMQP sample code with Artemis MQ

2019-04-30 Thread Tim
Hi, could you please some one having any AMQP sample code with Artemis MQ & IBM MQ to compare both the functionality test. if you have please provide ? Thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reg Artemis power and network disruption scenarios

2019-05-03 Thread Tim
Dear Team, We are using Active MQ artemis with version 2.6.4, we see using Artemis live-backup mechanism. We are seeing that the messages are getting lost and duplicated. Scenario: Power off and On Scenario for HA setup of Artemis Step-1: Sent 100 messages and power off Node-1 Step2: Automatic fa

Re: Reg Artemis power and network disruption scenarios

2019-05-04 Thread Tim
Dear Team, Kindly update at the earliest -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Reg Artemis power and network disruption scenarios

2019-05-10 Thread Tim
Dear Team, We are using replication mechanism. We have configured using live-backup mechanism. In normal scenarios like Graceful fail-over from live to backup (or) re-starting live node back, data will be replicated fine. Only in the case of abrupt power failure or network disruptions, we see th

Re: Reg Artemis power and network disruption scenarios

2019-05-10 Thread Tim
Below is the configuration we are using LIVEA configuration: Node1 true Slave configuration: Node1 true

Re: Reg Artemis power and network disruption scenarios

2019-05-10 Thread Tim
Thanks for the explanation, please find my comments below and please help Scenario: Power off and On Scenario for HA setup of Artemis The behavior you're seeing is the expected behavior in this use-case since you're using replication. In step 3 when you power-off Node-2 there is now no broker

Artemis startup issues

2019-05-26 Thread Tim
Dear Team. We are facing issues with starting of artemis after adding the below stanzas true true true true true true We are getting the below error, kindly assist 2019-05-27 13:11:12,022 ERROR [org.apache.activemq.artemis.core.client] AMQ214019: Invalid configuration: org.xml.sax.SAXParseExc

Re: Transaction interleaving

2019-11-27 Thread Tim Bain
Great, thank you for doing that. Tim On Wed, Nov 27, 2019, 1:36 AM Viliam Durina wrote: > Done: https://issues.apache.org/jira/browse/AMQ-7354 > > On Wed, 27 Nov 2019 at 07:44, Tim Bain wrote: > > > This sounds like a valid bug. Could you please submit a bug report

Re: Not running on Jetty, JSR-356 support unavailable

2019-11-29 Thread Tim Bain
you could live without those things, it might give you an immediate path forward while JB works out exactly which Jetty JARs should replace jetty-all. Tim On Fri, Nov 29, 2019, 12:22 AM Naveen Kumar wrote: > Hi JB, > > For a test, > I just placed the jetty-all jar in tomcat 9 lib and se

Re: JMSXGroupId and nonBlockingRedelivery

2019-12-02 Thread Tim Bain
for your needs, but it's certainly worth evaluating the full problem and making sure that you're using the various building blocks in your system optimally based on their respective strengths. Tim On Sun, Dec 1, 2019 at 1:46 AM n99 wrote: > Hi > > I think the defin

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-12-02 Thread Tim Bain
han one in the same JVM, but I want to better understand the "7/8 backend brokers" bit and to rule out the possibility of a NoB before we go down that path. Tim On Fri, Nov 29, 2019 at 3:29 AM Ashish Vaishno wrote: > Hello Tim/JB, > > Also one more information. I tried to reproduce

Re: Not running on Jetty, JSR-356 support unavailable

2019-12-06 Thread Tim Bain
they don't want something that is bundled with it, they (you) should switch to the individual JARs. If you're not using activemq-all.jar, can you tell us which JAR you see the com.sun.xml JARs repackaged in? Thanks, Tim On Mon, Dec 2, 2019, 6:18 AM Naveen Kumar wrote: > Hi Tim,

Re: Connecting from SAP XI to ActiveMQ

2019-12-12 Thread Tim Bain
, and then upgrade to a recent version of ActiveMQ. Tim On Thu, Dec 12, 2019, 9:36 AM Justin Bertram wrote: > Check out the documentation [1]. In short, ActiveMQ 5.7 looks to be the > last version that supports Java 5 (JDK 1.5) so you'll need to use a client > from that version. I wou

Re: OutOfMemoryError in ActiveMQ

2019-12-19 Thread Tim Bain
ted a heap dump. Have you analyzed it? Tim On Thu, Dec 19, 2019, 11:09 PM brusdev wrote: > Hi, > > for memory usage, could be useful taking some screenshot of objects in the > heap dump with VisualVM [1]: > - screenshot/s of objects in the heap dump sorted by count; > - screens

Re: ActiveMQ Configuration and JAAS Question

2019-12-31 Thread Tim Bain
None of your quoted content actually came through, either via email or on Nabble. Can you resend? Tim On Tue, Dec 31, 2019, 3:09 PM ERP wrote: > Hello, I am trying to develop a custom login module using JAAS. Everything > works when authenticating, but when I include the authorization

Re: How to do a check health with telnet on ActiveMQ

2020-01-17 Thread Tim Bain
JMX-based health check or you could do an HTTP check against the web console, but if you do choose to use a simple TCP socket check against the OpenWire port, be sure you account for the logging it will cause. Tim On Thu, Jan 16, 2020, 12:26 PM Tom Hall wrote: > I think you might be better

Re: Problem retrieving JMXQueueStatistics with MBeanServerConnection

2020-01-17 Thread Tim Bain
This is why I hate interacting with JMX via code, especially since I only do it once every few years. It's very useful, but I always find that I have to troubleshoot every step of the way because it's not very intuitive (to me). Glad you found the solution. Tim On Wed, Jan 15, 202

Re: How to do a check health with telnet on ActiveMQ

2020-01-20 Thread Tim Bain
but you've said that you don't want to use JMX. Those are basically the options as I know them, unless you want to get into the ActiveMQ code and build a health check endpoint that behaves exactly how you want it to. Tim On Mon, Jan 20, 2020, 8:47 AM Daniel Trüssel wrote: > On 18.01

Re: ActiveMQ 5.9 supported operating system

2020-01-20 Thread Tim Bain
ActiveMQ runs in a Java Runtime Environment (JRE). 5.9 requires Java 7 or later for its JRE. If you can run a Java 7 JRE on Windows Server 2012, then you can run ActiveMQ on it. Tim On Mon, Jan 20, 2020, 7:12 PM Roy Low Chee Mun wrote: > hi all > > > wondering can ActiveMQ 5.

Re: Messages stuck on cluster of two ActiveMQ 5.15.9

2020-01-23 Thread Tim Bain
Do messages get stuck in both queues, or only one of them? Tim On Thu, Jan 23, 2020, 5:42 AM Jean-Baptiste Onofré wrote: > By the way, what's the broker URL in the connection factory ? failover ? > Are you using rebalance client ? > > What's the prefetch on cli

Re: Messages stuck on cluster of two ActiveMQ 5.15.9

2020-01-25 Thread Tim Bain
tting for the Network of Brokers (which is not the same as the TTL on an individual message) is high enough to allow messages to hop between the brokers several times in case the consumer fails back and forth several times. I'd think that a value of 10 would be more than sufficient. Tim On T

Re: runtimeConfigurationPlugin causes ActiveMQ to fail to start on Windows

2020-01-25 Thread Tim Bain
, and gives a promising-looking solution.. Tim On Tue, Jan 21, 2020, 8:37 AM kyro wrote: > I have downloaded and extracted ActiveMQ 5.15.11 running with OpenJDK > 13.0.2 > on Windows Server 2016. > JAVA & JAVA_HOME environment variables have been set to the OpenJDK paths. > >

Re: Messages stuck on cluster of two ActiveMQ 5.15.9

2020-01-30 Thread Tim Bain
aise that value above the default. Tim On Mon, Jan 27, 2020, 2:10 AM Jérôme Barotin wrote: > Hi Tim, > > Yes, I'm aware of this section in the documentation. The > |replayWhenNoConsumers="true" is positionned|since several month, but > this doesn't change anyth

Re: Send Message on QUEUES

2020-02-22 Thread Tim Bain
Is this for ActiveMQ 5.x or for Artemis? Tim On Fri, Feb 21, 2020, 12:30 PM ssjuvestabia1907 wrote: > Hi all, > please could you help me to understand the issue indicated below. > We need to write iDoc message (xml file) from a SAP system on a queue > (section Queues) but the iDoc

Re: "queuePrefetch" policy doesn't seem to be working properly

2020-02-28 Thread Tim Bain
sages to be load balanced across your consumers (i.e. competing consumers), they need to not be assigned to message groups. Tim On Thu, Feb 27, 2020 at 3:02 PM subbu.kobra wrote: > Thanks for the quick response. > > I am using ActiveMQ 5.15.10 and we are connecting to activemq using >

Re: How to send same group of messages to one consumer thread

2020-02-28 Thread Tim Bain
ted message broker and does certain things differently (e.g. it doesn't support queues or competing-consumer semantics), so it might not meet your needs, but it's worth considering if you're not up for attempting to implement the feature yourself. Tim On Fri, Feb 28, 2020 at 9:31 AM

Re: Is it possible to limit the storage in ActiveMQ ?

2020-03-03 Thread Tim Bain
Based on https://dzone.com/articles/temp-store-and-memory-percent, it sounds like storeLimit considers only the messages (db*.data) but not the redo log. So the amount of disk used in total could be a bit larger than the limit that's set. Tim On Mon, Mar 2, 2020, 6:48 AM Jean-Baptiste O

Re: Connect connect master slave clustering in ActiveMQ 5

2020-03-21 Thread Tim Bain
Unrelated, but you don't need to specify failover in this URI: uri="static:(failover:(tcp://localhost:61626)) Static networkConnectors retry automatically (unlike normal client connections), so you can use static by itself. Tim On Fri, Mar 20, 2020, 6:35 PM Matt Pavlovich wrote

Re: Duplex networkConnector error with mKahaDB after inactive destinations deleted

2020-03-21 Thread Tim Bain
nce, but I wouldn't expect the broker to be happy if you switch between KahaDB and mKahaDB using the same data directory (and the same files within it, more importantly). Unless your process for switching the KahaDB type already involved deleting the files in the data directory? Tim Tim On Sat, Mar

Re: Duplex networkConnector error with mKahaDB after inactive destinations deleted

2020-03-25 Thread Tim Bain
etween the filesystem and what's in memory for the mKahaDB database within the remote broker. Tim On Sun, Mar 22, 2020, 4:03 AM nexus wrote: > > Can you please provide a listing (ls -l) of the KahaDB data directory? > See details below aligned with use case. > > Also, can y

Re: Delayed messages block queue

2020-03-25 Thread Tim Bain
Can you tell, is the message getting redelivered at all? I'd have expected it to be redelivered several times and then move to the DLQ, so if that's not happening, that might be a thread to pull... Tim On Wed, Mar 25, 2020, 7:11 AM areddy wrote: > *Rede

Re: Delayed messages block queue

2020-03-25 Thread Tim Bain
This definitely sounds like a bug. Can you please submit a bug report for it in JIRA? Thanks, Tim On Wed, Mar 25, 2020, 6:57 PM areddy wrote: > The messages with a delay header are delivered once, after the delay > period, > as expected. But when they are rejected by the consumer,

Re: Duplex networkConnector error with mKahaDB after inactive destinations deleted

2020-03-26 Thread Tim Bain
oblem persists even if you cycle the remote broker). Tim On Thu, Mar 26, 2020, 1:38 AM nexus wrote: > > can you please submit a bug report for it in JIRA? > > Done: > https://issues.apache.org/jira/projects/AMQ/issues/AMQ-7453 > > > whether the problem occurs if you cycle th

Re: Duplex networkConnector error with mKahaDB after inactive destinations deleted

2020-03-27 Thread Tim Bain
oduce the problem, that would be helpful as well. Thanks for working through this preliminary testing and helping better characterize the problem. Tim On Fri, Mar 27, 2020, 12:55 AM nexus wrote: > > if you cycle the remote broker while the local one is down, do you get > the > same b

Re: Duplex networkConnector error with mKahaDB after inactive destinations deleted

2020-03-28 Thread Tim Bain
I had forgotten you'd already submitted one. Thank you for doing that. Tim On Sat, Mar 28, 2020, 12:13 AM nexus wrote: > I have already opened an issue AMQ-7453 with detailed description, logs and > examples, please, take a look: > https://issues.apache.org/jira/b

Re: [jira] [Closed] (AMQ-7460) CreateConsumer API Hangs

2020-04-02 Thread Tim Bain
f the behavior you're seeing, not just a sentence) and we'd be happy to help troubleshoot it. Tim On Thu, Apr 2, 2020, 7:48 AM ranjith kumar wrote: > Hi Team, > > Need your help for CreateConsmer Hang, Please find the below details. We > are using 5.5.0, whether the same is fixed in the latest version? >

Re: Broker not releasing memory after restart

2020-04-13 Thread Tim Bain
fterwards, increasing the heap is a reasonable solution. Tim On Mon, Apr 13, 2020, 4:29 PM hfridhi wrote: > Hello guys, > I know it could be shocking problem but it happened to me and I'm confused > too. > I started a broker to which I'm intensively sending messages through WS

Re: Broker not releasing memory after restart

2020-04-14 Thread Tim Bain
ich broker activities are likely causing the increase. Tim On Tue, Apr 14, 2020, 2:33 AM hfridhi wrote: > Hello Tim, > Thank you for your quick reply. > I agree with that increasing JVM's heap is a desperate measures in > desperate > times but my question is why even aft

Re: Broker not releasing memory after restart

2020-04-14 Thread Tim Bain
then we're grateful for the help identifying it. But you also need to understand that there is no expectation that a heavily-used broker would never use more heap than an empty on straight out of the box, so "increase the heap" may turn out to be the solution, not a hack. Tim

Re: Broker not releasing memory after restart

2020-04-15 Thread Tim Bain
3. If neither of those show any reduction in heap usage, could you capture a CPU sampling from JVisualVM as I described in my first post from yesterday? Thanks, Tim On Tue, Apr 14, 2020, 7:06 AM hfridhi wrote: > I agree with you the fact that we have to give the needed memory and do a >

Re: Stop another broker on shuing down broker.

2020-04-20 Thread Tim Bain
you use a unique JMX port for each broker process? Tim On Sun, Apr 19, 2020, 8:52 PM Hiroyuki Takei wrote: > Hi. I use activemq 5.15.12 on CentOS. > And, I have problem as follows: > > I make 6 instances on one Linux(CentOS) server. > All of brokers can start and work without pr

Re: Failover for remote client connecting to cluster (no HA)

2020-04-20 Thread Tim Bain
doesn't typically allow you to target a specific pair of hosts/containers. Tim On Fri, Apr 17, 2020, 8:54 PM Justin Bertram wrote: > Scaling down is different. It is an intentional, graceful procedure > oftentimes initiated administratively. The broker scaling down will > explici

Re: Continously java.net.SocketException: Connection reset

2020-04-20 Thread Tim Bain
>From the logs, it looks like the URI used for your connection is using tcp:// as the transport protocol, whereas an MQTT connection use mqtt://. And is the port you're connecting to running the MQTT protocol, or is it an OpenWire port? Tim On Mon, Apr 20, 2020, 10:02 AM JJ wrote:

Re: Continously java.net.SocketException: Connection reset

2020-04-21 Thread Tim Bain
also needs to be connecting to the MQTT port (1883, according to your last message). Tim On Tue, Apr 21, 2020, 3:58 AM JJ wrote: > I forgot to write that Activemq is behind HAProxy as pfsense plugin. > The client MQTT connects to the the public pfsense WAN->nat to VIP -> VIP > i

Re: High load consumption - Artemis on Docker

2020-04-22 Thread Tim Bain
JVisualVM, which ships with the Oracle JDK (not sure about OpenJDK) is another option. Be sure to use the CPU sampler, not the CPU profiler, if you can't afford to add a significant load to the process (e.g. if this is an operational host). Tim On Wed, Apr 22, 2020, 4:21 PM Francesco

Re: Continously java.net.SocketException: Connection reset

2020-04-23 Thread Tim Bain
y due to it terminating the connection due to inactivity? Also, can you show us the broker logs from the corresponding time period? Tim On Tue, Apr 21, 2020, 9:18 AM JJ wrote: > Sorry but iI do not understand what you mean. > The clients regularly estabilish the connection, subscribe and p

Re: Continously java.net.SocketException: Connection reset

2020-04-24 Thread Tim Bain
ad to ask about it. Good luck, and sorry that I don't have experience with HAProxy to be able to help further. Tim On Thu, Apr 23, 2020, 9:50 AM JJ wrote: > No. The connection established using localhost is working as expected. > The question is how to configure HAProxy pro

Re: Consumers being created under load

2020-04-30 Thread Tim Bain
Is this on a standalone broker, or are you running a network of brokers? Might these consumers be the ones for one broker in a network of brokers to pull messages from another? Tim On Thu, Apr 30, 2020, 1:32 PM bstrange wrote: > I'm running ActiveMQ 5.11.1 and have two consumers on a q

Re: Consumers being created under load

2020-05-06 Thread Tim Bain
500 rather than the standard 1000. But I'm not sure why that value would be used instead of the default. Tim On Tue, May 5, 2020, 8:57 AM bstrange wrote: > The high load could be caused by the phantom consumers and not the other > way > around. I've only been able to dupl

Re: Master-Slave being DB locked both

2020-05-06 Thread Tim Bain
em-master-slave) that might be what you're describing. (Though your description sounds like it might be occurring even after terminating all brokers, so maybe it's similar but different.) Either way, if you're trying to run with NFSv3, you might want to switch to v4 if that's an o

Re: Consumers being created under load

2020-05-08 Thread Tim Bain
That makes sense. Thanks for sharing the resolution to the problem. Tim On Thu, May 7, 2020, 8:23 AM bstrange wrote: > I've finally figured out what was causing this. Viewing the contents of a > queue by clicking the queue name in the browser interface will spawn a > consumer

Re: Auto create dead letter Resources - Server not starting

2020-05-10 Thread Tim Bain
ation. Tim On Sun, May 10, 2020, 1:42 PM brusdev wrote: > Hi, > > the element `auto-create-dead-letter-resources` has been introduced since > Artemis 2.12 by ARTEMIS-2587 auto-create dead-letter resources[1][2]. > > [1] https://issues.apache.org/jira/browse/ARTEMIS-2587 >

Re: Auto create dead letter Resources - Server not starting

2020-05-12 Thread Tim Bain
Version controlling the documentation is a nice improvement from 5.x's wiki-based approach where the documentation has to be everything for everyone. I hadn't realized that that was being done, so thanks for the explanation. Tim On Sun, May 10, 2020, 8:05 PM Justin Bertram wrote: &

Re: Connecting ActiveMQ Instances (Network of Brokers) with different network connectors and a reverse proxy inbetween

2020-05-14 Thread Tim Bain
://", as I understand it. Tim On Wed, May 13, 2020, 10:46 AM BBruhn wrote: > I need to connect one or several on-premise (client-side) instances of > ActiveMQ to connect / send data to a single ActiveMQ deployed in a cloud > environment (server-side). The interface for all connect

Re: ActiveMQ Locking down Web Console via LDAP

2020-05-14 Thread Tim Bain
Looks great, thanks for sharing. Tim On Thu, May 14, 2020, 7:24 AM eleipold wrote: > With the help of this articles and a couple of others, I think I solved the > problem. Below is a blog that I wrote on it: > > > https://www.workhorseintegrations.com/2020/05/14/securing-active

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-21 Thread Tim Bain
You could write a plugin that would log the content of each message as it's received; just log it and then call the corresponding super.messageDelivered() method. Relevant information is at https://activemq.apache.org/interceptors and https://activemq.apache.org/developing-plugins. Tim O

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-21 Thread Tim Bain
Also, to state the obvious, depending on the load on your broker this could be a massive amount of logging. Be sure you configure your logging system appropriately (log roll-over in place, a sufficiently large disk to store the volume of logs at the point where they start to roll over, etc.). Tim

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-27 Thread Tim Bain
ge (headers and body), so I don't think there's reason to believe that the code you found is wrong or doesn't work as expected. Tim Tim On Tue, May 26, 2020, 12:23 PM skao wrote: > This is exactly what I added in activemq.xml as below. > > It only created the header Info

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2020-05-27 Thread Tim Bain
asn't something else I needed to be doing. Hopefully I or someone else will get time to do this investigation sometime soon. Tim On Wed, May 27, 2020, 12:57 AM Ashish Vaishno wrote: > Hello Tim, > > Did you manage to have a look on the issue? > > Regards > Ashish > > &

Re: Amazon MQ shared durable subscriber

2020-05-30 Thread Tim Bain
code changes.) Tim On Fri, May 29, 2020, 10:26 PM Jean-Baptiste Onofre wrote: > Hi, > > What do you mean by shared durable subscribers ? > > ActiveMQ supports durable subscribers, so AmazonMQ does as well. > > Regards > JB > > > Le 30 mai 2020 à 00:00, arjuns

Re: Amazon MQ shared durable subscriber

2020-05-30 Thread Tim Bain
Oh, I just saw that Michael Andre Pearce wrote the same information, but my mail app didn't group his response into the conversation so I didn't see it before responding. Sorry for the duplication. Tim On Sat, May 30, 2020, 6:33 AM Tim Bain wrote: > JB, > > > https://ww

Re: OutOfMemoryError in activeMQ and applcation gets stopped

2020-06-01 Thread Tim Bain
Does disabling one but not both of those things also fix the problem? Or is the problem only eliminated if both are disabled? Tim On Mon, Jun 1, 2020, 7:44 AM sainath wrote: > Hi All, > > We disabled JMX and advisories, this seems to fix the memory issue. > > In the Activ

Re: Sequentually handling messages within queues

2020-07-08 Thread Tim Bain
Would CLIENT_ACKNOWLEDGE (or INDIVIDUAL_ACKNOWLEDGE, though I don't think it buys you anything over CLIENT_ACKNOWLEDGE) delivery modes address your use case, by allowing your clients control over when messages are acked? Tim On Wed, Jul 8, 2020, 5:57 AM Domenico Francesco Bruscino <

Re: ActiveMQ - Stomp over websockets - Same Origin Policy

2020-07-29 Thread Tim Bain
My understanding is that that's a client limitation, that a browser will refuse to make a websocket connection to a server other than the one that served up the original web page, as a protection against malicious scripts that make it into page via whatever attack vector. Tim On Wed, J

Re: Activemq 5.15 startup error

2020-08-07 Thread Tim Bain
d switch to KahaDB (or Artemis, as you said, but KahaDB gives you a short-term solution for minimal effort). I'm sorry to be the bearer of bad news, especially since you might not have been aware of LevelDB's status until now, but you're on your own for LevelDB issues. Good lu

Re: ActiveMQ - Stomp over websockets - Same Origin Policy

2020-08-07 Thread Tim Bain
test. I'm sure there are other ways to do it, too. Also, have you confirmed that Artemis is actually listening on the port you're trying to use? You can check via sudo netstat -antp | grep LISTEN | grep 61616 on the machine hosting the broker. Tim On Fri, Aug 7, 2020, 4:39 PM Justin Bertra

Re: ActiveMQ - Stomp over websockets - Same Origin Policy

2020-08-08 Thread Tim Bain
t. Is that relevant? None of that affects the fact that the attempts to connect to the broker via OpenWire on 61616 are failing, and we should definitely work through that first. These comments are just for once OpenWire connections are working, if STOMP+websockets is still not working. Tim On Fri

Re: Access console from newer browsers 401 error

2020-09-02 Thread Tim Bain
It might also be helpful if you use Edge's developer tools to determine what request (URL, parameters) is resulting in the 401. That might help determine what's going on. Tim On Wed, Sep 2, 2020, 11:23 AM Justin Bertram wrote: > What version of ActiveMQ are you using? > >

Re: Persistence on a non transactional storage

2020-09-02 Thread Tim Bain
he broker expects it to not be there, but I'd expect the non-error case to work OK. But this isn't code I know well, unfortunately, so you may have to go through the source code yourself (or you may have already done that). Tim On Thu, Aug 20, 2020, 1:41 AM Boris Granveaud wro

Re: Please help me with authorisation configuration

2020-09-09 Thread Tim Bain
Note that the username in the error message is alfresco1, not alfresco, so make sure you authorize the right user when you test explicitly authorizing the user. Tim On Wed, Sep 9, 2020, 5:31 AM Jean-Baptiste Onofre wrote: > OK, > > That’s weird as the advisory should be created by t

Re: Please help me with authorisation configuration

2020-09-09 Thread Tim Bain
Also, is 'all' a group you defined, and is alfresco1 in that group? Tim On Wed, Sep 9, 2020, 5:35 AM Tim Bain wrote: > Note that the username in the error message is alfresco1, not alfresco, so > make sure you authorize the right user when you test explicitly authorizing >

Re: Please help me with authorisation configuration

2020-09-10 Thread Tim Bain
lves the issue. For the user/group thing, you're right, I got my wires crossed on the distinction between the two, and you're absolutely right that groups are specified in the config file and as long as the user is a member of the group, it should work as expected. Sorry for the confusion.

Re: Please help me with authorisation configuration

2020-09-10 Thread Tim Bain
ly worth trying with only valid/existing groups, so only alfresco in this case, just to try to get things working. Tim On Thu, Sep 10, 2020, 5:44 AM Tim Bain wrote: > For the all group, I'm not aware of any default group that's created, and > all of the examples I've seen had

Re: Please help me with authorisation configuration

2020-09-25 Thread Tim Bain
azon's AmazonMQ team monitoring this forum who could tell us if anything like that is in play? Tim On Tue, Sep 22, 2020, 2:50 AM Fabrice Triboix wrote: > Hello, > > Apologies for the late response, I have been sucked up on other pieces of > work. > > So I stripped the configu

Re: ActiveMQ: Could not post JMS message

2020-09-25 Thread Tim Bain
oes with that username, so check the activemq-admin script's source or maybe try some reasonable defaults (blank, "system", "admin", etc.). Tim On Wed, Sep 23, 2020, 7:25 PM Poseidon Olympian wrote: > Hello ActiveMQ Community, > > Would appreciate if anyone

Re: Please help me with authorisation configuration

2020-09-26 Thread Tim Bain
nitoring this thread even though there's typically no need for your team to respond, and for the quick response. Tim On Fri, Sep 25, 2020, 12:31 PM Tetreault, Lucas wrote: > Hey folks, > > I am a manager on the AmazonMQ team and I asked one of the engineers to > have a look at this

Re: Please help me with authorisation configuration

2020-09-30 Thread Tim Bain
I'm glad you got it working, and thanks for letting us know. Tim On Tue, Sep 29, 2020, 9:23 AM Fabrice Triboix wrote: > Hi Tim, > > So you were right. I used only groups when configuring the > authorizationEntries and that worked. > > Thanks a lot everyone for your su

Re: ActiveMQ advisory message and failover

2020-10-20 Thread Tim Bain
ble reproducer. Are you able to reproduce the problem reliably via code/config that you can attach to the bug? If not, that may reduce the likelihood of someone successfully investigating and finding a solution, so the more you can do to identify a way to reproduce the problem, the greater the odds o

Re: Retry logic in ActiveMQ and cpp

2020-10-20 Thread Tim Bain
d would be incorrect behavior), I'm not sure that such an enhancement would be implemented. So if there's a built-in way to get the behavior you want, that seems like the way to go even if it involves using a feature that you'd prefer to avoid. Tim On Tue, Oct 6, 2020,

Does Artemis expose the version of embedded web server software?

2020-11-09 Thread Tim Bain
e on the list please provide an answer to the question? Thanks, Tim

Re: Does Artemis expose the version of embedded web server software?

2020-11-11 Thread Tim Bain
Thanks Gary. Tim On Tue, Nov 10, 2020, 6:14 AM Gary Tully wrote: > it does not: see: https://issues.apache.org/jira/browse/ARTEMIS-1826 added > same to the jira > > On Tue, 10 Nov 2020 at 03:16, Tim Bain wrote: > > > > > > https://issues.apache

Re: durable subscribers in artemis cluster

2020-12-02 Thread Tim Bain
client to write and consume messages from the node on which they live for that destination. Then the client is unaware of the the complexities of which node has which messages, and there's no need to shuffle messages between the nodes in ways that break message ordering. Tim On Wed, Dec 2, 2020,

Re: POD restarting for HA ActiveMQ Deployment in Kubernetes

2020-12-04 Thread Tim Bain
ttps://kubernetes.io/docs/tasks/debug-application-cluster/determine-reason-pod-failure/ ? Tim On Wed, Dec 2, 2020, 10:38 AM Imran Raza Khan wrote: > I have deployed two statefulset replicas of ActiveMQ 5.15.13 as Network > Broker, but second POD activemq-1 is restarting after every 4m51s (I

Re: The broker seems to ignore dataDirectory setting when shutting down

2020-12-11 Thread Tim Bain
This sounds like a bug. Please submit a bug in JIRA, ideally attaching a minimal reproducer. Thanks, Tim On Fri, Dec 11, 2020, 5:58 AM Martijn Brinkers (list) < martijn.l...@gmail.com> wrote: > I have embedded ActiveMQ inside a spring application. > > The broker is configur

Re: The broker seems to ignore dataDirectory setting when shutting down

2020-12-12 Thread Tim Bain
roker, and hopefully by walking up the stack you'll be able to see what caused initialization to occur when it otherwise wouldn't be expected to. Tim On Fri, Dec 11, 2020, 11:11 AM Martijn Brinkers wrote: > On 11-12-2020 18:37, Jean-Baptiste Onofre wrote: > > Do you use the vm con

Re: The broker seems to ignore dataDirectory setting when shutting down

2020-12-17 Thread Tim Bain
Thank you, both for capturing the stack trace and for writing the bug. Tim On Wed, Dec 16, 2020, 8:30 AM Martijn Brinkers (list) < martijn.l...@gmail.com> wrote: > I have added a JIRA bug report for this > > https://issues.apache.org/jira/browse/AMQ-8102 > > Kind regards,

Re: Connections timeout on artemis 2.10/2.16

2021-01-06 Thread Tim Bain
done CPU sampling via VisualVM or a similar tool? CPU sampling isn't a perfectly accurate technique, but often it gives enough information to narrow in on the cause of a problem (or to rule out certain possibilities). Tim On Wed, Jan 6, 2021, 10:34 AM Sébastien LETHIELLEUX < sebastien.

Re: Artemis low throughout on high latency networks

2021-01-12 Thread Tim Bain
'd include that in the list of things to instrument.) Tim On Tue, Jan 12, 2021, 8:23 AM Brian Ramprasad wrote: > Hi Everyone, > > > I am trying setup a network of 3 brokers, one in each Amazon datacenter. > The latency between the datacenters is quite high (25-150ms)

Re: MQTT in, JMS out

2021-01-26 Thread Tim Bain
edded Camel routes (I've only used Camel standalone), but this seems to be exactly the type of use case it's intended for. Tim On Mon, Jan 25, 2021, 2:36 PM Matt Pavlovich wrote: > Try using STOMP out of Node.js instead. ActiveMQ supports converting STOMP > -> JMS with text

Re: Artemis low throughout on high latency networks

2021-02-04 Thread Tim Bain
Brian, Sounds good, I'm glad you got it working. Tim On Mon, Feb 1, 2021, 10:05 PM Brian Ramprasad wrote: > Hi Tim, > > Thanks for your reply. I actually came across your stack overflow post and > I tried it out but it didn’t work for me. > > I ended up using m

Re: ActiveMQ: Strange Consumer Pattern

2021-03-03 Thread Tim Bain
oker and use that to walk through the message cursor that pages messages in from the underlying message store and the code that accepts acknowledgements from the consumer. What you described sounds likely to be in one of those two areas, so I'd suggest you start there. Tim On Tue, Mar 2, 2021,

Re: limit or put delays between messages when draining

2021-03-20 Thread Tim Bain
If the third party simply puts a sleep at the end of their message-handling logic, will that meet the need? If not, hearing what doesn't work about that approach will help us to better understand exactly what's needed. Tim On Fri, Mar 19, 2021, 5:01 PM Christopher Pisz wrote: &g

Re: limit or put delays between messages when draining

2021-03-23 Thread Tim Bain
d the process that is experiencing them. Tim On Sat, Mar 20, 2021, 10:31 AM David Martin wrote: > Hello, > > You could possibly try producer window-based flow control to stop messages > backing up on the queue when consumers are offline (e.g. using an > intermediate queue

  1   2   3   4   5   6   7   8   9   10   >