RE: How to get current consumer list when I send a message.

2013-05-27 Thread Hoyeong Heo
[1] Yes, I meant "ActiveMQ.Advisory.Expired.Topic". [2] Here is my hopeful plan. 1. clients make durable subscriptions on a topic. 2. a client send a stomp message with +1 minute expiration time. 3. connected clients get the message in a moment. 4. after 1 minute, I get notified of expiration for

Re: Connecting to broker slows down

2013-05-27 Thread Priit
Seems to be a cluster problem - if i take one node down, slowdown doesn't happen. What i also noticed that sometimes cpu usage would rise out of the normal range (on both brokers) and would only go down when i stopped the network bridge (or restarted one of the brokers). Network connector setting

Re: Problem when trying to start activemq after configuring password encryption

2013-05-27 Thread Christian Posta
what version are you trying with? I just tried with 5.8.0 and it works fine. On Mon, May 27, 2013 at 7:12 AM, tcarlyle wrote: > Btw, it works fine if I use the encryption with the password set in the > property as: > > class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor"> >

Re: Activemq on amazon ec2

2013-05-27 Thread Christian Posta
unpack it and ./bin/activemq start what specifically do you need to do on ec2? On Mon, May 27, 2013 at 4:36 AM, Raji wrote: > Hi , > I am very new to activemq and amzaon ec2 servers. > Can anyone help me with documents or guidelines to start running activemq > 5.7 on amazon ec2 servers. > Th

Re: Did anyone experience the java.io.SyncFailedException during AMQ use?

2013-05-27 Thread Christian Posta
Disk problems? What kind of disk, OS and filesystem are you using? On Mon, May 27, 2013 at 4:22 AM, lzr wrote: > Dear all, > > > Now I'm running activemq 5.6 and found the following exception, did any > experience the same problem and fix it? > | ERROR | KahaDB failed to store to Journal |

Re: Activemq 5.9 leveldb replication issue

2013-05-27 Thread heimdull
This server has two queues and there was a few thousand messages sent when this happened. I can reproduce this everytime when doing a failover between these two servers. One thing I noticed today was when doing a failover (service activemq stop on master) was that on queue was stuck where "Messages

Re: Re:activemq transaction

2013-05-27 Thread bizcenter
Thanks, I got it. There is a MemoryTransactionStore will hold all messages. -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-transaction-tp4667500p4667521.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ-CPP3.7.0 build error

2013-05-27 Thread tetsuhiro
I'm trying to build ActiveMQ-CPP ver3.7.0, but when I try to build it I get the following error: #make decaf/internal/util/HexStringParser.cpp:28:26: error: apr_strmatch.h: No such file or directory make[2]: *** [decaf/internal/util/libactivemq_cpp_la-HexStringParser.lo] Error 1 I think "ap

Re: Networked brokers dropping/suppressing messages

2013-05-27 Thread talavera
Using "masterslave:" works, although the log still shows a somewhat weird behaviour, I've pasted it below. It looks like broker B doesn't realize of the connection failure and rejects at first the new incoming network connector from broker A. (I'm not testing a failover, but a lost connection betw

Re: Working around defaults in encrypted password system

2013-05-27 Thread tcarlyle
Is there some other configuration needed to get it running with Bouncy Castle as provider? Should I get the bouncycastle jar and add it in my classpath? I get an error here trying to find the BouncyCastleProvider when trying your configuration with an activemq broker as a unix service Cannot reso

Vanishing NetworkBridges with unreliable WAN connections

2013-05-27 Thread Christian Wander
Hi users, we've deployed ActiveMQ 5.7 on several remote hosts and configured a static broker network between the remote nodes and a central broker in our datacenter according to [1] (typical star architecture). The setup seems to be working fine, messages enqueued on the remote brokers get forwa

Re: Problem when trying to start activemq after configuring password encryption

2013-05-27 Thread tcarlyle
Btw, it works fine if I use the encryption with the password set in the property as: but still it doesnt work with the environmental variable, even if I can do a echo $ACTIVEMQ_ENCRYPTION_PASSWORD and get its proper value -- View this message in context:

Re:activemq transaction

2013-05-27 Thread SuoNayi
No,pending messages will be held in memory before the transaction is committed. If your commit on session is failed and the broker is restarted, pending messages will be lost and you can issue commit on the session anymore. At 2013-05-27 16:50:46,bizcenter wrote: >Forgive my poor english. >

Activemq on amazon ec2

2013-05-27 Thread Raji
Hi , I am very new to activemq and amzaon ec2 servers. Can anyone help me with documents or guidelines to start running activemq 5.7 on amazon ec2 servers. Thanks in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-on-amazon-ec2-tp4667506.html Sent from

Re: ActiveMQ Topic Persistence - ActiveMQ restart

2013-05-27 Thread joesan
I figured that out now. But anyways thanks for the post! -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Topic-Persistence-ActiveMQ-restart-tp4667501p4667503.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Did anyone experience the java.io.SyncFailedException during AMQ use?

2013-05-27 Thread lzr
Dear all, Now I'm running activemq 5.6 and found the following exception, did any experience the same problem and fix it? | ERROR | KahaDB failed to store to Journal | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Transport: xxx java.io.SyncFailedException: sync failed at jav

Problem when trying to start activemq after configuring password encryption

2013-05-27 Thread tcarlyle
I have been able to run activemq before, but when I try to set it to use encrypted passwords as per http://activemq.apache.org/encrypted-passwords.html I cant get the broker to run. What I basically did was to replace file:${activemq.conf}/credentials.properties

Re: ActiveMQ Topic Persistence - ActiveMQ restart

2013-05-27 Thread bizcenter
you should use durable sbuscription! You follow these steps 1. Create a durable topic subscription 2. Publish some messages to the topic(Qos: set persistent to true) more to see: http://activemq.apache.org/why-do-i-not-receive-messages-on-my-durable-topic-subscription.html -- View this

ActiveMQ Topic Persistence - ActiveMQ restart

2013-05-27 Thread joesan
Dear users, I have an ActiveMQ broker that contains a topic in it. I have pre-configured the topic as a start up destination. I have written a producer and a consumer. The following is what I do: (1) Start ActiveMQ broker (2) Start my producer. As soon as I do this, my producer starts publishing

activemq transaction

2013-05-27 Thread bizcenter
Forgive my poor english. In JMS transaction, messages sent will be persisted( stored in db) before session.commit() is fired? Assume that the session.commit() failed, then the broker is stopped : 1. where are messages sent? 2. The broker starts in the future, if i can do session.c