Re: Master/Slaver persistent?

2007-05-04 Thread sparky2708
Any ideas on what could be happening here? sparky2708 wrote: > > Here's how my slave starts up. Is the line in bold normal? (null looks > suspicious...): > > INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker > (slave) is starting > INFO BrokerService -

ActiveMQ 4.1.1 MS SQL Server 2005 ACTIVEMQ_MSGS not found

2007-05-04 Thread kbd
Hello: I am attempting to use MS SQL Server 2005 for persistence storage. My ACTIVEMQ.XML is below. Please note I added the useDatabaseLock="false" to as per a posting on this site. Made a prior issue go away. Now when I boot ActiveMQ 4.1.1 I get the following: C:\ProgFiles\apache-activ

Master/Slave Configuration With Non-Persistence - 2 Brokers Starting Problem

2007-05-04 Thread Franz Garsombke
I have a situation where we want to have a non-persistent topic and run a master/slave configuration with our brokers. The problem is that if we define the broker as non-persistent a broker is started on each server in our cluster. Without defining something like the jdbcPersistenceAdapter we lose

Re: question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread David Budworth
true, but I was shooting for zero message loss and reasonably high performance with no single points of failure shared db will put us right back at single point of failure(db) that we're looking to avoid with MasterSlave On 5/4/07, Hiram Chirino <[EMAIL PROTECTED]> wrote: If you use a shared D

Networked brokers not restoring connections after being unplugged.plugged back into network

2007-05-04 Thread William Blackburn
I am using a very simple config of embedded, networked brokers to facilitate inter-cluster communication in my app. I am using multicast networkConnectors as indicated in the file below. Everything works fine until I disable the network on one node. As expected the remaining nodes loose con

Re: MSMQ / ActiveMQ Bridge?

2007-05-04 Thread Hiram Chirino
On 5/3/07, James Strachan <[EMAIL PROTECTED]> wrote: On 5/3/07, notacrime <[EMAIL PROTECTED]> wrote: > > I was hoping you'd say - 'just run widget x!' > > I think we'll end up wrapping NMS in a service, with a configuration file to > define which queue on the MSMQ side should talk to which queue

Re: question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread Hiram Chirino
If you use a shared DB or file system you should be able to failover and fail back without a problem. On 5/4/07, David Budworth <[EMAIL PROTECTED]> wrote: I mistakenly hijacked another thread yesterday when asking this, so I'll repost it as it's own thread. If I understand the wiki and comments

ActiveMQ 4.1.1 MS SQL Server 2005

2007-05-04 Thread kbd
Hello: I am looking for help to get Active MQ and SQl Server 2005 running. When I run Active MQ 4.1.1 configurued to use persistence SQL Server 2005 I get the following error. ERROR DefaultDatabaseLocker - Failed to acquire lock: com.microsoft.sqlserver.jdbc.SQLServerException: Line 1:

Re: acknowledged durable topic messages are sitting in ACTIVEMQ_MSGS table

2007-05-04 Thread Kamlesh
Thanks James. I noticed that in my server messages are not getting purged, what is the frequency of background purge process? I have two durable subscribers. In ACTIVEMQ_ACKS table, I see last acknowledged message id in case of one subscriber where as in case of second subscriber it is 0. This

RE: Problem for installin ActiveMQ CPP on MAC OS X Tiger

2007-05-04 Thread Mittler, Nathan
I have autoconf v2.60 on OS X 10.4.9 and it works fine for me. How did u install cppunit? > -Original Message- > From: didyeah971 [mailto:[EMAIL PROTECTED] > Sent: Friday, May 04, 2007 12:34 PM > To: users@activemq.apache.org > Subject: Problem for installin ActiveMQ CPP on MAC OS X Ti

Problem for installin ActiveMQ CPP on MAC OS X Tiger

2007-05-04 Thread didyeah971
Hi, I am trying install activemq cpp 2.0 on mac os x 10.4.9.As the automake supplied is obsolete, i am using the latest release, (1.9.6) and cppunit 1.11.6 Once i launch autogen.sh, i have this message: aclocal: configure.ac: 86: macro `AM_PATH_CPPUNIT' not found in library autoreconf: acloca

Re: ActiveMQ CPP 2.0 graceful cleanup of Session and Connection

2007-05-04 Thread Kok Hoor
Hi, I copied code from the activemq cpp example to create a Consumer which inherits from Runnable. My OnException handler calls a cleanup function that performs the following, but fails during the 'delete session' line. In addition, the catch is not able to catch the exception, and the progra

question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread David Budworth
I mistakenly hijacked another thread yesterday when asking this, so I'll repost it as it's own thread. If I understand the wiki and comments I've read on this list recently, AMQ has no state synchronizer. Meaning that if I have Master / Slave and the Master dies, i can't restart it without stopp

Re: activemq-cpp Shared Object...

2007-05-04 Thread Hiram Chirino
Well, send that patch anyways :) Even if it's not used we get to see what worked for you. If it at least does not break other builds, it might have a good chance of getting applied. On a sort of related note, anybody have good experience on how we can ensure that bug fix releases stay source and

Re: Creating simple producer and consumer

2007-05-04 Thread James Strachan
On 5/4/07, Bai Shen <[EMAIL PROTECTED]> wrote: jlim wrote: > > For topics the consumer must be created first since messages are only > delivered to the available consumers at the time the broker receives the > message. > > For durable subscribers you can create a durable subscriber, kill it,

Re: Creating simple producer and consumer

2007-05-04 Thread Bai Shen
jlim wrote: > > For topics the consumer must be created first since messages are only > delivered to the available consumers at the time the broker receives the > message. > > For durable subscribers you can create a durable subscriber, kill it, > run the producer, then start the subscribe

Redelivery Policy does not work AMQ 4.1.1

2007-05-04 Thread Mykola
Hi All. I fased the problem with redelivery policy, it simply does not work for following config Factory:

Re: ActiveMQ CPP 2.0 graceful cleanup of Session and Connection

2007-05-04 Thread Timothy Bish
Can you provide sample code that demonstrates the problem? Kok Hoor wrote: > Hi, > > I am trying to use the ActiveMQ CPP 2.0 library to develop an XPCOM > component to enable Mozilla XULRunner to use JMS messaging. > > However, one problem I face is, when the ActiveMQ Server is down, and >

Re: .Net support for CPP client

2007-05-04 Thread Timothy Bish
I don't know anyone that has tried to use ActiveMQ-CPP within the .Net Framework. I don't really know much about it, if you get it working you are welcome to contribute some VC2003 project files. :) cppUser wrote: > Thanks for the reply. > My application is a cpp based one under .net 2003 framew

Re: Unable to build cpp client

2007-05-04 Thread Timothy Bish
Is that Solaris 10 or some other crazy Sun distro? I build routinely on a Solaris 10 machine without problem. Make sure that you have to correct versions of the Autotools installed. ToolRecommended Version --- autoconf>= 2.59 automake>= 1.9.6 libtool

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Even if I send only 5 messages once every time the consumer fires a receive consumer get the 5 messages even if I am using the non persistent delivery mode and have set the connectionFactory.setDispatchAsync(false); also connectionFactory.setOptimizedMessageDispatch(false); Please let me know ho

Re: Unable to build cpp client

2007-05-04 Thread gimme cocoa
My system is SunOS ver. 10 Timothy Bish wrote: > > What platform / OS are you running on? > > gimme cocoa wrote: >> When i try to build activemq-cpp-2.0, I got error message like this. >> >> $ configure >> checking for a BSD-compatible install... config/install-sh -c >> checking whether build

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread James Strachan
On 5/4/07, Jignesh ShaH <[EMAIL PROTECTED]> wrote: Yup I came to know that later I wanna delete the contents of the Queue even if I am restarting the broker the dispatch count just increases everytime Dispatch count starts at zero and keeps growing as you run a broker. If you use non-persiste

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Yup I came to know that later I wanna delete the contents of the Queue even if I am restarting the broker the dispatch count just increases everytime Regards Jignesh -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 3:02 PM To: users@activ

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread James Strachan
BTW your previous issue was in the FAQ too... http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html On 5/3/07, Jignesh ShaH <[EMAIL PROTECTED]> wrote: This is the code of the producer with the explicit Broker running as service on the same machine as the producer :

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread James Strachan
On 5/4/07, Jignesh ShaH <[EMAIL PROTECTED]> wrote: Hi James The problem is resolved as I missed connection.start() Its definitely worth checking the FAQ as there's lots of common gotchas in there... http://activemq.apache.org/faq.html But can u let me know about deleting the Queue contents

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Hi James The problem is resolved as I missed connection.start() I could not connect either ways But can u let me know about deleting the Queue contents as even I m setting the Delivery mode to Non Persistent I am having a dispatch count of 6181 -Original Message- From: J

Re: [camel] using camel spring container

2007-05-04 Thread James Strachan
On 5/3/07, dr.jeff <[EMAIL PROTECTED]> wrote: Very good, excellent even, and nearly working. :) This: http://activemq.apache.org/camel/schema/camel-1.0.xsd";>

Network of brokers with wildcards on ActiveMQ 4.0.2

2007-05-04 Thread Harry Co
Hi all, Have anyone tried a simple message forward between brokers. I have a simple scenario with localBroker and remoteBroker. I want to forward messages arriving on certain topics (i.e. include.test.bar.topic1and include.test.bar.topic2) from localBroker to remoteBroker. When I try ythe followi

Re: .Net support for CPP client

2007-05-04 Thread cppUser
Thanks for the reply. My application is a cpp based one under .net 2003 framework and hence i am trying to make use of the cpp client. The cpp client available here is for VS2005 and hence this runtime error.(It compiled after quite a few add/remove dependencies). Please advice.. James.Strachan

Re: .Net support for CPP client

2007-05-04 Thread James Strachan
FWIW there is a C# client which might be a bit better for working on .net. http://activemq.apache.org/nms/ (Though I agree, the C++ code should hopefully still compile on .net). On 5/4/07, cppUser <[EMAIL PROTECTED]> wrote: Hi, Ive been trying to run the cpp client through .net framework(by in

.Net support for CPP client

2007-05-04 Thread cppUser
Hi, Ive been trying to run the cpp client through .net framework(by including the library and header files in the .net project). However it throws a runtime error [exactly at a dymanic_cast "IOTransport* ioTransport = dynamic_cast( next );" in TcpTransport.cpp] and doesnt do createConnection(). I