Problem with mySQL as persitence storage for messages

2007-06-15 Thread Arif Mohd
Hi, Iam using activeMQ 4.1,servicemix 3.1 and using mySQL as persitence storage for messages, iam getting the following exception under the scenario as mentione below. when i place multiple requests(4-5) at a time, could any body help me out what i have to do, to get rid of this error

Re: Messages from the durable topic are not deleted once they are read.

2007-06-15 Thread James Strachan
On 6/13/07, Arif Mohd [EMAIL PROTECTED] wrote: Hi, - Messages are posted in topic - Clients are able to read the message - but once they are read the message is not being deleted from the topic. - There are no pending subscribers which are yet to get the message Does any body

Re: Messages from the durable topic are not deleted once they are read.

2007-06-15 Thread Arif Mohd
Hi James, Yes the acknowledged messages are deleted from database, as i mentioned previously if i see from jconsole still they are displayed there, might be this is the problem associated to jconsole. But iam getting one problem with mySQL as persitence storage when i hit requests

HP ServiceGuard ActiveMQ failover

2007-06-15 Thread Aymeric Alibert
Does anybody has experience using HP ServiceGuard package failover to provide HA? I would like to use it instead of a Master/Slave configuration. It seems to me that both configuration should be roughlty equivalent (with Master/Slave probably being faster to failover). Any remark/advice on that

Re: HP ServiceGuard ActiveMQ failover

2007-06-15 Thread James Strachan
On 6/15/07, Aymeric Alibert [EMAIL PROTECTED] wrote: Does anybody has experience using HP ServiceGuard package failover to provide HA? Afraid not. I would like to use it instead of a Master/Slave configuration. It seems to me that both configuration should be roughlty equivalent (with

Re: HP ServiceGuard ActiveMQ failover

2007-06-15 Thread Aymeric Alibert
Basically you run your application on a virtual host. If the host fails, the virtual host is brought down and restarted on a different hardware. Since it's HA, all information from the filesystem are preserved and the new host assumes the role of the old one (same ip, ...). It seems to me that

Re: HP ServiceGuard ActiveMQ failover

2007-06-15 Thread James Strachan
On 6/15/07, Aymeric Alibert [EMAIL PROTECTED] wrote: Basically you run your application on a virtual host. If the host fails, the virtual host is brought down and restarted on a different hardware. Since it's HA, all information from the filesystem are preserved and the new host assumes the

Mail queue

2007-06-15 Thread Hehl, Thomas
I new to JMS and messaging in general and would like a little advice. In my application, I have a java webapp that sends e-mails. For reasons too complicated to explain, my client wants an hour lag time between the time the e-mail is created and the time it is sent, so I need to park it

Pythin and MapMessage

2007-06-15 Thread Elliotte Harold
Has anyone gotten PyActiveMQ to work with ActiveMQ and MapMessages? Are there known bugs with this configuration? One of our Python folks is pushing me to use TextMessages instead of MapMessages because (he claims) MapMessages don't work in Python. Thoughts? -- Elliotte Rusty Harold [EMAIL

Some Issues with JNDI. Please Help

2007-06-15 Thread [EMAIL PROTECTED]
Hi, I have some issues with JNDI, ActiveMQ and Tomcat. I already downloaded JNDI taglib and configured it. Here is the content of the file ROOT/META-INF/context.xml begin// Context antiJARLocking=true Resource name=jms/ConnectionFactory

Re: network of broker does not work properly where there are more than 1 message producer

2007-06-15 Thread hh_meta
Some updates on this problem. Now I switched to use activeMQ 5.0 snapshot, at some point, after I restarted one of the producer brokers, the system begain to function as expected. so it is not a configuration issue, what is it then?? hh_meta wrote: I tried to configure a network of broker

Re: ClassCastException w/ tomcat JND

2007-06-15 Thread Rob Terpilowski
Thanks James, indeed this was the problem. I previously had the jms.jar included in my app's .war file, but I thought that it might have been causing the issue so I took it out yesterday, but the problem was still occuring. Lo and behold I did a search of my tomcat directories and I found the

Re: Mail queue

2007-06-15 Thread Gaurav Hariani
I would approach this using persistent messages. Your webapp creates a persistent message adds the time (as a property maybe) at which the message should be sent as email and puts it on a queue. Another application can regularly poll the queue for messages that are ready to be emailed.

Re: Mail queue

2007-06-15 Thread Mario Siegenthaler
Somebody proposed in a different thread to use a MessageSelector to only select the messages that are at least an hour old. You could set a message-property to System.currentTimeMillis() and then create a selector with SendTime +(System.currentTimeMillis()-360). You'd have to recreate your

Re: Retrieving stats for a particular queue

2007-06-15 Thread Jim Alateras
James Strachan wrote: On 6/14/07, Jim Alateras [EMAIL PROTECTED] wrote: Hi, I can get the TotalXXXCounts statistics from the BrokerView but was wondering how I can retrieve the same stats for a particular queue. Just grab the MBeans from JMX? thxs. is there info on how to go about doing

Setting compression through XML configuration

2007-06-15 Thread iqbalzaveri
Hello, I am trying to set compression for messages using XML config. Here's a snapshot of the activemq.xml !-- START SNIPPET: example -- beans !-- Allows us to use system properties as variables in this configuration file -- bean