Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
You want your master slave to use "master/slave" then you tell your clients about the failover, also look at these pages: http://activemq.apache.org/masterslave.html http://activemq.apache.org/jdbc-master-slave.html (Since you mentioned DB2) http://activemq.apache.org/shared-file-system-master-s

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
That goes in the clients connector. On May 12, 2011, at 12:28 AM, archa wrote: > Can you tell me where exactly to mention the failover syntax. > Eg: > failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false > > Should this go in the transportconnector tag ? > > -- > View this mess

Re: Native Clustering in ActiveMQ

2011-05-11 Thread archa
Can you tell me where exactly to mention the failover syntax. Eg: failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false Should this go in the transportconnector tag ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Native-Clustering-in-ActiveMQ-tp3516488p35

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
Oh, Yes, then you are on the right track. ActiveMQ supports 3 models. Memory (Don't use this) Disk (Use this for speed, niceness and whatnot else) JDBC (It'll be slow) /je On May 11, 2011, at 11:06 PM, archa wrote: > My requirement is as follows: > > I have my application which currently wri

Re: Native Clustering in ActiveMQ

2011-05-11 Thread archa
My requirement is as follows: I have my application which currently write to a single broker queue. Incase the broker goes down, my messages are lost, till I restart the broker and the consumers again (as consumers are formed on application startup). To avoid the loss of messages, I want sort of

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
Clustering so to say kinda sorta goes against the JMS spec, the idea is to get messages from A->B as quickly as possible. There are HA solutions for stability and you can use networks of brokers to provide scalability but the idea of "clustering" messages, i.e replicating messages stores is kinda

Native Clustering in ActiveMQ

2011-05-11 Thread archa
We are using Activemq 5.2 with journaledJDBC using DB2 database. Is Native Clustering possible with ActiveMQ ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Native-Clustering-in-ActiveMQ-tp3516488p3516488.html Sent from the ActiveMQ - User mailing list archive at Nabble.

Re: I need JDBC Table definations.

2011-05-11 Thread mahens
http://activemq.2283324.n4.nabble.com/file/n3516486/activemq.log activemq.log please find i upload log file after enabling debug logging for org.apache.activemq.store.jdbc.DefaultDatabaseLocker -- View this message in context: http://activemq.2283324.n4.nabble.com/I-need-JDBC-Table-definations

Rant on scheduling feature

2011-05-11 Thread TheFarmer
I've wasted so much time on trying to get the scheduling feature to work correctly, I feel I need to warn other users before they attempt it. I've encountered several bugs with it that have been fixed (thanks!) but there are more problems that are harder to reproduce consistently and therefore I c

connection cleanup

2011-05-11 Thread ryagnik
Hi, I have following scenario : I have esb running monitoring component and another client that creates a consumer for a queue and it suddenly dies... is there a way to tell if the queues/producers/consumers were cleaned up when the connection died? I am not able to find any API OR Documentati

Re: Master-Slave Failure with ActiveMQ 5.4.1 & JBoss 5.1

2011-05-11 Thread TheFarmer
I get hundreds of these exceptions on the master and slave and I'm not even sending any messages. They tend to come in groups where each exception is separated by about 20-60 secs and the groups start and end at random times (ie no client activity) and last for an hour or two. I also get these ex

Active Mq creating thousands of connections

2011-05-11 Thread eweinberg
I'm using activeMq 5.4.1 and activeMq gets ends up crashing because of the sheer amount of connections. In a tomcat app where i was expecting 10-20 connections to active Mq i was shocked to see that i was getting upwards of 17k connections. All the connections pile up with in 10-20 seconds of st

Re: Subscriber throws errors and dies when using multiple openwire JMS client

2011-05-11 Thread Gary Tully
Can you see if you can recreate with the current 5.5 version? On 9 May 2011 18:59, jai.mathaiyan wrote: > Hi, > >  I have been playing around with activemq for some time. Now I am facing a > strange issue. I am using 5.3.1 version. > I have a broker running and a producer within the same JVM. If

Re: problem building using activemq 5.5.0 core using maven

2011-05-11 Thread Gary Tully
http://svn.apache.org/viewvc/activemq/tags/activemq-5.4.2/ On 11 May 2011 16:30, Jerry Thomas wrote: > In that case, do you know what version of ActiveMQ I should go back to which > will build okay using JDK 1.5? > Gary Tully wrote: >> >> eclipse has its own embedded maven build so it may behave

Re: problem building using activemq 5.5.0 core using maven

2011-05-11 Thread Jerry Thomas
In that case, do you know what version of ActiveMQ I should go back to which will build okay using JDK 1.5? Gary Tully wrote: > > eclipse has its own embedded maven build so it may behave differently. > 5.5 requires jdk 1.6 to build in any event. > -- View this message in context: http://activ

Re: problem building using activemq 5.5.0 core using maven

2011-05-11 Thread Gary Tully
eclipse has its own embedded maven build so it may behave differently. 5.5 requires jdk 1.6 to build in any event. On 11 May 2011 16:00, jtho...@manhattansoftware.com wrote: > I'm trying to run a JDK 1.5 build using activemq-core-5.5.0.jar.  When I run > mvn compile, I get the following error whi

problem building using activemq 5.5.0 core using maven

2011-05-11 Thread jtho...@manhattansoftware.com
I'm trying to run a JDK 1.5 build using activemq-core-5.5.0.jar. When I run mvn compile, I get the following error which indicates that activemq was built using JDK 1.6. What's odd, is that when I compile using Eclipse, there is no problem and I'm performing a JDK 1.5 build there as well. 18\ar

Re: I need JDBC Table definations.

2011-05-11 Thread Gary Tully
enable debug logging for org.apache.activemq.store.jdbc.DefaultDatabaseLocker to get a handle on the root cause exception to see what is going on with the lock implementation. That may also need a specialisation. On 11 May 2011 12:32, mahens wrote: > created the statements manually on my database

Re: I need JDBC Table definations.

2011-05-11 Thread mahens
created the statements manually on my database: CREATE TABLE ACTIVEMQ_MSGS (ID BIGINT NOT NULL, CONTAINER VARCHAR(250), MSGID_PROD VARCHAR(250), MSGID_SEQ BIGINT, EXPIRATION BIGINT, MSG BYTE, PRIMARY KEY ( ID ) ); CREATE INDEX ACTIVEMQ_MSGS_MIDX ON ACTIVEMQ_MSGS (MSGID_PROD,MSGID_SEQ);

Re: how to start jetty.xml with out restart activemq broker.

2011-05-11 Thread mahens
Thanks for quick reply. any other solution to force the process to re-read the configuration file so it can be enabled after activemq is already running. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-start-jetty-xml-with-out-restart-activemq-broker-tp3513903p3514

Re: how to start jetty.xml with out restart activemq broker.

2011-05-11 Thread Gary Tully
You need to restart. On 11 May 2011 06:32, "mahens" wrote: > in activemq.xml commented loading jetty.xml, then i started the broker. > > > Now i want to import jetty.xml with out restart broker. is it possible ? > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/how-to-st