Questions tagged [activemq]
Apache ActiveMQ is an enterprise-level open source message broker and JMS client
58
questions
0
votes
0
answers
60
views
ActiveMQ Artemis Federation Hub-Spoke not working
I am trying to configure a federation of three brokers ActiveMQ Artemis (2.31.2). Let's call the brokers A, B and C.
When I configure a complete federation mesh, then a consumer of a given topic on A ...
1
vote
1
answer
210
views
How to install ActiveMQ Artemis as a Windows service?
The title is a bit missleading since I know how to install artemis as a windows service, according to the documentation one just has to run
artemis-service.exe install
This does not work for me. I ...
0
votes
1
answer
108
views
Getting below error on ActiveMQ "Classic" message broker log. I'm looking for some solution to find the root cause and fix for this issue
Getting below error on ActiveMQ "Classic" message broker log. I'm looking for some solution to find the root cause and fix for this issue.
Sep 6 16:10:46 SERVER activemq_db8159[1168628]: ...
0
votes
0
answers
65
views
ActiveMQ: handling of STOMP NACK messages
STOMP documentation says about NACK message
https://stomp.github.io/stomp-specification-1.2.html#NACK
NACK is the opposite of ACK. It is used to tell the server that the client did not consume the ...
0
votes
0
answers
11
views
ActiveMQ: Constantly increasing number of tasks
I am running ActiveMQ 5.15.8 and MCollective client on Ubuntu 18. With every request, number of tasks increases by 4.
sudo systemctl status activemq | grep Tasks
At some point, Out of memory is ...
0
votes
0
answers
83
views
Negative pending messages in ActiveMQ
We have a cluster of 6 ActiveMQ nodes. ActiveMQ version is 5.15.8 on all nodes. The problem is that we randomly face negative count of pending messages on brokers. We googled the issue and found that ...
0
votes
1
answer
233
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 ...
1
vote
0
answers
277
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 ...
2
votes
0
answers
2k
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 ...
1
vote
1
answer
360
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 ...
0
votes
1
answer
29
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:/...
0
votes
1
answer
448
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 ...
1
vote
1
answer
740
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 ...
0
votes
1
answer
217
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 ...
1
vote
1
answer
1k
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, ...
1
vote
0
answers
38
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 ...
-3
votes
1
answer
122
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/...
3
votes
0
answers
193
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 ...
21
votes
2
answers
27k
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 ...
1
vote
1
answer
148
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 ...
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 ...
3
votes
1
answer
862
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 ...
2
votes
0
answers
103
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 ...
2
votes
1
answer
649
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 ...
1
vote
1
answer
485
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 ...
2
votes
1
answer
977
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 ...
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 ...
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 ...
1
vote
1
answer
850
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/...
0
votes
1
answer
465
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 ...
1
vote
1
answer
1k
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 ...
-1
votes
2
answers
2k
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 ...
1
vote
0
answers
163
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 ...
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 ...
3
votes
0
answers
75
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 ...
3
votes
0
answers
713
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 ...
6
votes
0
answers
21k
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 ...
1
vote
1
answer
170
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
...
10
votes
1
answer
12k
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 ...
3
votes
1
answer
2k
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. ...
1
vote
1
answer
458
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:
...
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
...
3
votes
1
answer
3k
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, ...
2
votes
1
answer
298
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. ...
2
votes
1
answer
269
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....
3
votes
1
answer
625
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 ...
3
votes
0
answers
820
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 ...
2
votes
1
answer
399
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 ...
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 ...
2
votes
4
answers
575
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 ...