I would like to use hornetQ server as stand-alone without JNDI.
I started hornetQ server and added 10 topics with jconsole.
Then I made a test that restart hornetQ server in a loop.
At the abour 10th restart hornetQ server lost all the topics it had.
(I'm using hornetQ client with spring)
Any idea what cause hornetQ to lost the topics? How could I avoid it?
You would need to provide a testcase showing it's either a bug or a configuration mistake you made. It's hard to say what's going on.
There was a recent bug fix about deleting JMS destinations though. I'm not sure it would be related to this.
Related
we are using Apache kafka 2.0 in our production environment and now we are planning to upgrade the kafka version to 2.6 from 2.0
we are running in three broker based cluster setup
i am having the below questions.
1)is it possible to upgrade the kafka from one version to higher version?
2)while upgrading is there any data loss happen?
3)is it possible to perform while the cluster is running?
4)How to rollback to the down version if something wrong happened?
can you share your valuable thoughts for this question..
it would be helpful to setup..
Yes, upgrades are possible - http://kafka.apache.org/26/documentation.html#upgrade
Data that's already written to the topics shouldn't get lost if you follow the guide. Active clients might experience network exceptions, retries, and potential dropped packets while individual brokers are restarting.
A rolling upgrade is possible to prevent downtime
Depending on the exact version, rollbacks are not possible due to internal log format changes (as indicated in the documentation)
I was wondering if someone has used zookeeper/kafka embeeded within Tomcat. I know that Kafka requires Zookeeper, but does it mean that I have to run Kafka and Zookeeper as separate instances? So far I cannot see any use cases where everything has been bolt in. Could anyone advise?
My question is more around the concept of using zookeeper and kafka as a jar within the same tomcat web application.
Both Kafka and Zookeeper are meant to be used in a stand-alone fashion, run as separate processes.
They should even be on different machines/vms/containers than the tomcat web application.
You also probably want a Zookeeper cluster of 3-5 machines, rather than a single one, at least for production.
Both of them have Java clients though, for you to interact from the web application with them, and those are OK to include.
IS XMPP broker supported in activemq version 5.7 and 5.8. I am able to create topic but during creation of queue it is throwing me exceptions.
Any help is appreciated.
thanks
Lokesh
The XMPP module is there is both v5.7 and v5.8. As of v5.8 its deprecated and won't be included going forward. The module is not well maintained and is quite tricky to get working correctly which is why we have chosen to drop it.
Since you haven't indicated what the exception is there no way to guess what might be going wrong. I'd suggest looking into one of the many other protocols that are well supported in AMQ like STOMP for instance.
Edit: From the exception you've given in the comments it looks as though the activemq-xmpp.jar is not located on the classpath. Make sure you put that jar into the proper location so your broker can find the fictory bean for the XMPP Transport.
I am very new to jboss esb and trying to learn and configure a new startup project.
The project deals with using ESB as the backbone and multiple applications connecting to it for Intg.
I have gone through each of the examples provided and was able to reach to a certain level, but little confused on few other stuff.
1) Use ESB to be hosted on machine1 (consumer) and process this message (it works).
2) Now the sender and ESB consumer are on 2 different machines. The sender is unable to locate/load the esb consumer.
I believe you might have enough experience working through this, so would you know how do I get this resolved.
you can reach out to me on hitjain_83#hotmail.com
Your help would be appreciated!!!
This will probably help:
https://community.jboss.org/thread/146623
I'm totally a newbie in Java Enterprise and I have a lot stuff yet to learn. Right now I'm working which involves JMS using JBoss and ActiveMQ. An application sends messages to queues in JBoss and my goal is to access those messages using any message broker (in this case I tried to use ActiveMQ). So I think it's better for me to embed ActiveMQ to JBoss. I used the link below as the guidance :
http://activemq.apache.org/integrating-apache-activemq-with-jboss.html
I followed every single steps in the guide except that I used JBoss 4.2.3 and ActiveMQ 5.1.1. If this problem results from the different version of the tools, I think I can't help it out because other versions seem does not work on my machine. When I run JBoss to test whether the embedding is working or not, I can't see anything running on port localhost:61616 which is the default port for ActiveMQ, although JBoss seems run well. My question is :
Is any one know how to fix this? Or has anyone ever experienced such problem?
Is there any way to access queue in Jboss?
If this question is pretty ambiguous or need more details, let me know. Thanks in advance for any help.
I'm quite sure the embedded broker is started (transport vm://localhost) which results in a working JMS broker for that VM. But this broker isn't reachable from outside (via tcp or anything else)
Do you see any error in the log when launching jboss? I managed to make it work with Jboss 4.2 and ActiveMQ 5.4, and once integrated it only gives you a small hint that is working correctly with some info message saying "broker started in port ..." .
Also you can try to use the sample producers and receivers in ActiveMQ to test if the queue is working correctly.
If you still have problems I can try to help