Re: Erratic JMSException Peer (vm://localhost#1) disposed

2011-02-03 Thread Albrecht Militzer
Sorry, forgot the stack trace: Caused by: javax.jms.JMSException: Peer (vm://localhost#1) disposed. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) ~[activemq-core-5.4.2.jar:5.4.2] at org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(Acti

Erratic JMSException Peer (vm://localhost#1) disposed

2011-02-03 Thread Albrecht Militzer
Hello, it seems my transports are disposing now and then for no apparent reason. Erratically, I get an JMSException Peer (vm://localhost#1) disposed. I got inspired here (http://forum.springsource.org/archive/index.php/t-39820.html) to to change my transport definition from vm://localhost to tc

Re: Tomcat does not start for slave activeMQ Broker in jdbc master slave cluster environment

2011-01-06 Thread Albrecht Militzer
Hello Dejan, > but you cannot have a slave broker in an active Tomcat instance. thanks. That is what was troubling me. An identical config with standalone brokers worked. Is there any specific reason why embedded brokers and master/slave are not orthogonal? Did I miss this somewhere in the do

Master/Slave Failover with JDBC blocks Tomcat startup

2011-01-04 Thread Albrecht Militzer
I have MySQL 5.1, I have InnoDB-Tables, but Slaves do not start up. The first process becomes master. The others block while trying to become master. They never become slaves. They try to execute SELECT * FROM ACTIVEMQ_LOCK FOR UPDATE. This waits for the lock to be available and finally ends w

How to configure Failover in Cluster (maybe Master/Slave?)

2011-01-04 Thread Albrecht Militzer
Hello everyone, I have a cluster of tomcats. I use Spring 3. I need to distribute some load across the nodes. I want to use JMS for that and ActiveMQ for JMS. As far as I have read, failover with master/slave should me the way to go for me. Maybe I am already wrong there? 1) I do not want any