Compilation of ActiveMQ-CPP 1.1 fails under linux

2007-02-28 Thread Yigal K
Hi, I've downloaded the new ActiveMQ-CPP and tried to compile it under linux with 'make' and recieved then following error: "no rule to make target `activemq/connector/openwire/marshal/ActiveMQTempDestinationMarshaller.cpp`..." Did anyone tried and succeded ? -- View this message in context: ht

JDBC Master-Slave doesn' work with DB2

2007-02-28 Thread Matías Cobiella
JDBC Master-Slave doesn' work with DB2 I have two brokers in a JDBC MASTER-SLAVE configuration. When BrokerA starts it becomes the MASTER: INFO BrokerService - Using Persistence Adapter: JDBCPersistenceAdaptor(org.apache.commons.dbcp.BasicDataSource INFO BrokerService

Database Error when I run the latest activemq 4.2

2007-02-28 Thread LiXiao2007
I downloaded the latest activemq-4.2 binary apache-activemq-4.2-20070209.025159-1.tar and got the followng error when I tried to start the broker. I did not have this problem when I used activemq-4.1.0. The tables ACTIVEMQ_ACKS, ACTIVEMQ_LOCKS, and ACTIVE_MSGS were created so I know that my user x

Database Error occured using latest activemq-4.2 binary

2007-02-28 Thread LiXiao2007
I downloaded the latest activemq-4.2 binary apache-activemq-4.2-20070209.025159-1.tar and got the followng error when I tried to start the broker. I did not have this problem when I used activemq-4.1.0. The tables ACTIVEMQ_ACKS, ACTIVEMQ_LOCKS, and ACTIVE_MSGS were created so I know that my user x

Re: derby db does not start , when context is reloaded

2007-02-28 Thread James Strachan
See the example commented out configurations in activemq.xml On 2/28/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Thanks for the suggestion. Is there any documentation , which I can refer to , in regard to configuring data base for active mq. Sucgitha -Original Message- Fro

Re: Failover URI: Connection Information

2007-02-28 Thread Gaurav Hariani
Actually ... after the connection is started one can get this info using:     BrokerInfo info = ((ActiveMQConnection) connection).getBrokerInfo();     System.out.println("BrokerURL : " + info.getBrokerURL()); naga007 wrote: turn on jmx-connector and use jconsole to watch the queue statis

Re: [Spam: 5.0] Failover URI: Connection Information

2007-02-28 Thread naga007
turn on jmx-connector and use jconsole to watch the queue statistics. Gaurav Hariani wrote: > > Is there a way for a client to determine which broker it is connected to > (when using a failover URI)? > > > > -- View this message in context: http://www.nabble.com/Failover-URI%3A-Connec

Re: Kaha persistence/UsageManager.waitForSpace and fast producer/slow consumer again

2007-02-28 Thread Rob Davies
btw Albert - the test case attached to AMQ-1148 runs better if there are separate connections for the publishers and consumers. cheers, Rob On 28 Feb 2007, at 10:02, Albert Strasheim wrote: Hello all/Rob We're still having problems with Kaha persistence when running a fast producer/slow co

RE: derby db does not start , when context is reloaded

2007-02-28 Thread Suchitha Koneru \(sukoneru\)
Thanks for the suggestion. Is there any documentation , which I can refer to , in regard to configuring data base for active mq. Sucgitha -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 10:45 PM To: users@activemq.apache.org Subject: Re

Messages are not consumed as expected with DUPS_OK_ACKNOWLEDGE

2007-02-28 Thread drvillo
Hi I'm seeing a strange behavior, I have configured a threadpool of 100 threads with activationspec.maxSessions=50 and acknowledgeMode="Dups-ok-acknowledge" I have 200 messages to consume, and each message actually never gets committed when processed (let's say the transaction is left running).

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread James Strachan
On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I did read the pages and configured the virtual destination. I tested and it worked. My problem is that I am using activemq 4.1 and we can't configure selector inside the activemq.xml. So try using the 4.2-SNAPSHOT release which has the code to

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread LiXiao2007
I did read the pages and configured the virtual destination. I tested and it worked. My problem is that I am using activemq 4.1 and we can't configure selector inside the activemq.xml. You said that I need to start with BrokerService for the filtering and I should not code in the producer of the c

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread James Strachan
On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: So I need to modify the code of broker and build my own version of activemq? Use the XML configuration file from the page I mentioned and it will configure virtual destinations to your requirements - no need to modify broker code. You might w

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread LiXiao2007
So I need to modify the code of broker and build my own version of activemq? James.Strachan wrote: > > On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: >> James, could you give me a little more detail? > > Maybe try starting with the XML exampe on the wiki before worrying > about what the Ja

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread James Strachan
On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: James, could you give me a little more detail? Maybe try starting with the XML exampe on the wiki before worrying about what the Java code looks like. Do you mean that I need to use BrokerService to get the broker info then add the filters.

Re: [Spam: 5.0] How to set up Filters for Composite Queue

2007-02-28 Thread LiXiao2007
James, could you give me a little more detail? Do you mean that I need to use BrokerService to get the broker info then add the filters. If I do that, I have to do it either in the producer of the composite queue or the consumer of the physical queue, right? Another question, when do you plan to

Re: How to set up Filters for Composite Queue

2007-02-28 Thread James Strachan
On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I am using the latest Activemq 4.1 and would like to use a composite queue to forward the messages to several physical queues. From the activemq documentation, we can set up filters on physical queues in the configuraion file so only needed me

How to set up Filters for Composite Queue

2007-02-28 Thread LiXiao2007
I am using the latest Activemq 4.1 and would like to use a composite queue to forward the messages to several physical queues. From the activemq documentation, we can set up filters on physical queues in the configuraion file so only needed messages will be delivered to them. But that capabilit

Re: Kaha persistence/UsageManager.waitForSpace and fast producer/slow consumer again

2007-02-28 Thread Rob Davies
Hi albert, I'm just going to start using your test case and see if I can figure out whats going on cheers, Rob On 28 Feb 2007, at 10:02, Albert Strasheim wrote: Hello all/Rob We're still having problems with Kaha persistence when running a fast producer/slow consumer. The last time I ran

Re: Shared datasource for broker and data?

2007-02-28 Thread James Strachan
Having one pool or two shouldn't make much of a difference in the grand scheme of things, assuming the pool has enough connections in it. On 2/28/07, drvillo <[EMAIL PROTECTED]> wrote: Hi I know this might be quite general but I'd like to know someone else's opinion. Given that I use commons

Shared datasource for broker and data?

2007-02-28 Thread drvillo
Hi I know this might be quite general but I'd like to know someone else's opinion. Given that I use commons dbcp to pool connections, I face two setups: -activemq uses its own datasource to store transient messages, so I end up having two pools -activemq shares a datasource with the applicati

Kaha persistence/UsageManager.waitForSpace and fast producer/slow consumer again

2007-02-28 Thread Albert Strasheim
Hello all/Rob We're still having problems with Kaha persistence when running a fast producer/slow consumer. The last time I ran our test, we saw that messages would arrive out of order, presumably when they were being retrieved from the Kaha store and sent out (since they were definately being