Questions tagged [activemq]

Apache ActiveMQ is an enterprise-level open source message broker and JMS client

Filter by
Sorted by
Tagged with
0 votes
0 answers
367 views

How to scale Active MQ message broker in Kubernetes

I have a Kubernetes cluster with 2 applications and an Active MQ message broker, is it possible to scale the brokers to make my application faster. I tried scaling it with a StatefulSet however it ...
user avatar
0 votes
1 answer
136 views

ActiveMQ Artemis: Propagate credentials from Websocket to STOMP

Can ActiveMQ Artemis propagate basic authentication information (username, password) from a Websocket to the encapsulated STOMP protocol (STOMP-over-Websockets)? The documentation does not really help ...
user avatar
  • 245
1 vote
0 answers
85 views

ActiveMQ Artemis: Use Plain TCP and TLS in parallel

In ActiveMQ Artemis, when acceptors and connectors are both configured, we see clients connecting to the TCP as well as the TLS port. How can we control that a client stays on its initial connection ...
user avatar
  • 245
2 votes
0 answers
1k views

ActiveMQ Artemis: Clients connect to the broker cluster port

We are connecting with some JMS clients to ActiveMQ Artemis (v2.14.0) brokers running in a cluster configuration. Today, we have noticed that the clients connect to the acceptor that is dedicated to ...
user avatar
  • 245
1 vote
1 answer
202 views

PUB/SUB Message Queue with server side filtering?

I am looking for a message queue to realize a chat application. The most important requirement is: when a subscriber specifies a filter criteria, all the messages need to be filtered on the server ...
user avatar
0 votes
1 answer
26 views

activemq url starts with scp://

I have inherited a system where the activemq address looks like this scp://localhost:61616 ActiveMQ itself only seems to be configured for tcp. I can't find any reference to that protocol here: http:/...
user avatar
0 votes
1 answer
206 views

ActiveMQ Artemis: TLS certificate reload

Can Apache ActiveMQ Artemis (v2.13.0) use an updated TLS certificate while running, or does it require a restart? I did not find something about it in Configuring Transports and Configuration Reload ...
user avatar
  • 245
1 vote
1 answer
424 views

ActiveMQ Artemis: Message draining without HA policy "scale-down"

In an ActiveMQ Artemis HA cluster (v2.13.0), the HA policy’s <scale-down/> property causes the backup broker to move all pending messages to one of the remaining live instances if the master ...
user avatar
  • 245
0 votes
1 answer
125 views

ActiveMQ Artemis: Quorum-only instance?

For a fully redundant ActiveMQ Artemis cluster, either a set of three broker pairs or network ping is required to avoid split-brain scenerios. In some installations, only two datacenters or ...
user avatar
  • 245
1 vote
1 answer
647 views

ActiveMQ Artemis: Cannot join more than two brokers with JGroups and KUBE_PING

While testing Apache ActiveMQ Artemis 2.13.0 with JGroups and the KUBE_PING plugin on Kubernetes I have noticed that no more than two brokers form a cluster. Any other brokers are simply ignored, ...
user avatar
  • 245
1 vote
0 answers
29 views

ActiveMQ automatic Configuration file change and Re-Deployment

How can we automate the task of a configuration file change for ActiveMQ? Situation: We are running a T.A.P. street of ActiveMQ servers (5.15.7), the A and P environments are in a SAN Master Slave ...
user avatar
-3 votes
1 answer
100 views

Apollo broker run error

I have been trying to create a broker on my activemq apache-apollo 1.7.1 installation. I get the following error: $ apollo-broker run Startupfailed:java.lang.NoClassDefFoundError:javax/xml/bind/...
user avatar
  • 1
3 votes
0 answers
173 views

How to go about troubleshoot remote ActiveMQ message broker with low dequeue count

I have a network of brokers configured as such: Broker A <=> Broker B Broker B <=> Broker C Broker A <=> Broker C I've noticed that in the "Network" tab under "Network Bridges" it lists a ...
user avatar
20 votes
2 answers
22k views

Confusion between ActiveMQ and ActiveMQ-Artemis?

Can someone clarify the difference between ActiveMQ and ActiveMQ-Artemis? From what I understood on Wikipedia, ActiveMQ-Artemis is essentially the successor to ActiveMQ, but if that is the case, I do ...
user avatar
  • 479
1 vote
1 answer
121 views

Can ActiveMQ Artemis be used as a "protocol adaptor"?

We have an IoT infrastructure with devices communicating over MQTT. However, now we also have the requirement that these devices must post sensor data to a queue for cloud processing that evaluates ...
user avatar
  • 227
3 votes
0 answers
1k views

MCollective server cannot connect to ActiveMQ broker

I've been trying all do to set up MCollective on my puppet cluster. No matter what I do, I can't seem to get the MCollective server to connect. The MCollective server(s) are running mostly on Ubnutu ...
user avatar
3 votes
1 answer
784 views

Reverse Proxy nginx not serving subdirectories

This is very strange and I can't get my head around it. I have set up a nginx server to reverse proxy a docker container. Nginx seems to be able to server some pages, but not sub-directories, or ...
user avatar
  • 829
2 votes
0 answers
89 views

How to make ActiveMQ nodes keep their database synchronized?

I have 3 servers with Zookeeper and ActiveMQ installed. Everything seems to be working fine, however, when one of my node dies, and a new election occurs, however the new leader don't have the same ...
user avatar
2 votes
1 answer
504 views

Active MQ Shared File System Master Slave with Elastic File System

I'm setting up Active MQ in production with a shared file system master/slave configuration (KahaDB). I've set everything up and mounted the EFS on both EC2 instances. When I check the disk free ...
user avatar
  • 21
1 vote
1 answer
428 views

Mcollective Failed to set full SSL verified mode error

I'm trying to set up MCollective using jorhett/puppet-mcollective module, according to manual from "Learning Puppet 4" book. I'm getting following error after running "mco ping", "mco inventory ...
user avatar
2 votes
1 answer
753 views

Port out of range in ReplicatedDB ActiveMQ

I have 3 replicated machines with Zookeeper and ActiveMQ (linux). I can confirm that zookeeper works correctly since I can see their ports (2888 and 3888) listening via netstat. The problem is ...
user avatar
2 votes
1 answer
2k views

Can not using websocket with nginx

I am using Activemq as broker, client side is Paho js to send websocket request(ws protocol). Everything work fine on server, but when the server start to set nginx as proxy, the client can not ...
user avatar
2 votes
1 answer
1k views

How to use your ssl certificate and key from your website with activemq console?

After enforcing strict transport security in a server, it is also forcing https into port 8161 for activemq which of course makes it fail. I followed this instructions to enable https on activemq ...
user avatar
  • 829
1 vote
1 answer
749 views

activemq network of broker messages not flowing

activemq 5.12 Network of broker configuration: hub, spoke1, spoke2 spoke1 has duplex n/w connection to hub spoke2 has duplex network connection to hub I use the following to produce on spoke1 bin/...
user avatar
  • 97
0 votes
1 answer
331 views

How enable ActiveMQ persistence?

I want save not consumed messages after amq or machine restart. Is this doc actual for ActiveMQ 5.12.1 Release? I try use example from docs and get error: ERROR | Failed to load: class path ...
user avatar
  • 141
1 vote
1 answer
729 views

ActiveMQ - delete VirtualTopic when Consumers = zero

I'm trying to implement a new application using JMS under activeMQ 5.8.0. There are several applications configured as Producers (ie to dump messages in an MQ), two topics, and then the Consumers are ...
user avatar
  • 11
-1 votes
2 answers
1k views

Unable to connect to hawtio on ActiveMQ

I am trying to get hawtio on an ActiveMQ 5.11 server via the http://<host>:8161/api/jolokia URL. The URL works if I curl/hit it from a browser but when trying to use the hawtio.jar via java -jar ...
user avatar
1 vote
0 answers
141 views

How can I access ActiveMQ remotely on CentOS 6.5?

I tried to use the following code: iptables -A INPUT -m state --state NEW -m tcp -p tcp \ --dport 8161 -j ACCEPT -m comment \ --comment "ActiveMq Server port" Still I was unable to access it ...
user avatar
6 votes
1 answer
3k views

How to run Puppet on multiple nodes at once using MCollective?

Aim At the moment there are more than 100 systems in the office and the expectation is that the number will increase. All systems are managed by Puppet. If Puppet code changes on the Puppet Master ...
user avatar
  • 5,711
3 votes
0 answers
73 views

Creating a CA signing chain when there wasn't one before

Here is the problem... 3 years ago we created a multi-datacenter setup, with as little cross-DC resource dependencies as we could make. Different AD sites. Different puppetmasters. Different syslog ...
user avatar
3 votes
0 answers
644 views

Accessing ActiveMQ's JMX via SSL

I'm trying to get SSL-enabled JMX access to ActiveMQ (5.8.0 or 5.9.0 running under java 1.6.0) but I'm not having any luck. I've dealt with SSL-enabled JMX access in the past, so I'm quite familiar ...
user avatar
  • 2,163
6 votes
0 answers
19k views

ActiveMQ - "Cannot send, channel has already failed" every 2 seconds?

ActiveMQ 5.7.0 CentOS release 6.3 java version "1.6.0_26" Application server: Tomcat In the activemq.log, I'm seeing this exception every 2 seconds: 2013-11-05 13:00:52,374 | DEBUG | Transport ...
user avatar
  • 50.2k
1 vote
1 answer
164 views

Is it possible to use different connectors on MCollective client and server side?

Is it possible to use the STOMP connector on client side and ActiveMQ on server side? Here are my configurations: #client.cfg connector = stomp plugin.stomp.host = localhost plugin.stomp.port = 6163 ...
user avatar
  • 491
9 votes
1 answer
9k views

Message Queuing vs. Load Balancing. I don't truly understand the difference [closed]

Help me to understand something. I've looked at several enterprise application architectures, and I've noticed that several of them use a Message Queue service, like ActiveMQ or RabbitMQ. I have ...
user avatar
3 votes
1 answer
1k views

ActiveMQ returns 503 when accessing admin panel

I am using fusemq, the C wrapper for ActiveMQ-CPP. The problem is I am using the broker with an Apache server module. It is supposed to send a message to the broker so another program can consume it. ...
user avatar
1 vote
1 answer
452 views

activemq apollo create broker error

I have been trying to create a broker on my activemq apache-apollo 1.6 installation. When I execute the following command: $APOLLO_HOME/bin/apollo create log1broker I get the following error: ...
user avatar
2 votes
1 answer
2k views

ActiveMQ Configuration with KahaDB

We are using ActiveMQ 5.6.0 with KahaDB. It has produced quite some log files, which is to be expected with our setup (DLQ and stuff), looking like this: $ ll -h /opt/activemq/data/kahadb/ total 969M ...
user avatar
  • 123
3 votes
1 answer
2k views

proxy pass for activeMQ

I have a apache server that I'm trying to use for proxy access my activeMQ admin page. I am able to load the inital landing page properly, but I can't seem to load any of the sub-pages (Queues, ...
user avatar
  • 241
2 votes
1 answer
287 views

Tomcat OutOfMemory after switching JVM

I have a Tomcat6 server running on Debian squeeze there are 4 webapps running on it, and an in-JVM ActiveMQ server. It has been running for about a year with the same memorysettings, with openjdk-6. ...
user avatar
  • 121
2 votes
1 answer
226 views

Disable ActiveMQ demo component

Is it possible to disable the demo component of the Active MQ console? I have tried removing the following lines from jetty.xml but the /demolink still works. <bean class="org.eclipse.jetty.webapp....
user avatar
  • 1,323
3 votes
1 answer
520 views

Apache ActiveMQ Server-to-Server connection

Our company now uses Websphere MQ to facilitate communication with our business partners, but we're evaluating migration to ActiveMQ. I've read some documentation and articles and haven't found ...
user avatar
  • 143
3 votes
0 answers
789 views

Installation of SSL certificates onto stand-alone ActiveMQ failing

I am trying to get SSL working on ActiveMQ but keep running into the error: SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) I am ...
user avatar
  • 31
2 votes
1 answer
364 views

Recording all broker transactions in ActiveMQ

I would like to record all transactions that happen in ActiveMQ. When someone writes to a queue or reads from it, I would like to log that. Is there a way to turn on this kind of logging, or is there ...
user avatar
  • 313
2 votes
1 answer
92 views

Where can find older releases of Apache MQ?

On the apache web site there are links for several older releases but it appears that only the last two releases are actually stored on the mirros. I am having issues with the last two releases on ...
user avatar
  • 211
2 votes
4 answers
445 views

How to find the program responsible for a specific TCP socket (linux)

joe@server:~$ sudo lsof -i :36168 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 23059 activemq 15u IPv6 109382 0t0 TCP *:36168 (LISTEN) From the output above I want to ...
user avatar
  • 171
1 vote
3 answers
2k views

Howto check open ports of a specific tomcat java instance

For the moment I've managed to do it with: root@server:~# for i in $(netstat -lp | grep java | awk '{print $7}' | awk -F '/' '{print $1}' | sort | uniq); do ap=$(ps p $i | grep -v PID | grep activemq ...
user avatar
  • 171
2 votes
1 answer
3k views

activemq on window: can't start service as LocalSystem account

I'm trying to run activemq as a service on my windows7 machine, service install properly, but it does not start as LocalSystem account. It works perfectly if I start it with logon property as my user. ...
user avatar
3 votes
3 answers
9k views

deleting nohup.out file

I have a file called "nohup.out". It is consuming a lot of space and I will like to remove it. /opt/apache-activemq-5.2.0/bin/nohup.out: 4.2G Will it affect the application in any way? I do not want ...
user avatar
  • 3,459
-1 votes
1 answer
2k views

ActiveMQ Pure Master / Slave - Out of sync

What i have : 1 master broker and 1 slave broker both in ActiveMQ 5.4.0 What i use : waitForSlave on master side and failover uri on slave side (in the master connector URI) What i want to do : I ...
user avatar
  • 19
3 votes
1 answer
411 views

high level design of sms transaction handling system

I have been tasked with designing a system do handle SMS transactions. Transactions come in form of HTTP requests from a service provider. In the process of handling transaction, system in question ...
user avatar