Re: I Really Want to use ActiveMQ

2008-01-18 Thread Rob Davies
Hi there cmagoyrk, sorry you are experiencing problems On Jan 18, 2008, at 10:06 PM, cmagoyrk wrote: and I am hoping someone here can make that possible. I work in a group that uses Perl for a large, distributed system. I came upon ActiveMQ while looking to replace our existing Messaging

Re: Using ActiveMQ without a network connection

2008-01-18 Thread Bruce Snyder
On Jan 18, 2008 3:26 PM, happyAMQ <[EMAIL PROTECTED]> wrote: > > Hi All, > > I would like to use ActiveMQ on a laptop without a network connection so > that I can give demos to clients, but I am unable to start the broker when > the laptop is not on a network connection. > > I believe the problem i

Using ActiveMQ without a network connection

2008-01-18 Thread happyAMQ
Hi All, I would like to use ActiveMQ on a laptop without a network connection so that I can give demos to clients, but I am unable to start the broker when the laptop is not on a network connection. I believe the problem is related to the discoveryUri="multicast... line in the configuration file

I Really Want to use ActiveMQ

2008-01-18 Thread cmagoyrk
and I am hoping someone here can make that possible. I work in a group that uses Perl for a large, distributed system. I came upon ActiveMQ while looking to replace our existing Messaging system. I was awed by the sheer number of features. But then I realized something. It just doesn't work.

Re: NPE while consuming messages

2008-01-18 Thread activemqnewbie
Manish, We are also experiencing similar kind of issues. Consumer consumes around 1000msgs and then throws null pointer exception. How did you resolve ur problem. We are currently using activemq 5 and java 5. Appreciate ur response. Thanks, Vij manishbel wrote: > > I have a consumer that's consu

Activemq.xml configuration settings directory

2008-01-18 Thread activemqnewbie
Is there any document that lists all the configuration properties description that can be set in activemq.xml. I looked at http://activemq.apache.org/jndi-support.html and the activemq tutorial. but couldn't find one. Am running into lots of activemq issus and most of them are resolved with th

Publish and Subscribe

2008-01-18 Thread DavidShaw
I've been looking at creating a queue that would support "publish and subscribe". To be specific, I want to create a queue/topic, and when I send a given message to it, multiple consumers that subsequently pull from the queue will get that message, one copy per consumer. Client 1 subscribes to

Re: ActiveMQ ver5.0 number of paged-in messages

2008-01-18 Thread dalin
Thanks :) -- View this message in context: http://www.nabble.com/ActiveMQ-ver5.0-number-of-paged-in-messages-tp14860957s2354p14955497.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ ver5.0 number of paged-in messages

2008-01-18 Thread rajdavies
dalin wrote: > > It appears that as each message is paged in, a MessageReference object is > created for each message and stored in the linkedlist pagedInMessages. The > elements in the list are removed upon calling gc() in > org.apache.activemq.broker.region.Queue. This occurs when purge() is >

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread gwittel
Juergen.Schumacher wrote: > > ERROR RecoveryListenerAdapter- Message id > ID:AFA-20561-3446-120057540989 > 6-0:0:1:1:615 could not be recovered from the data store! > > > > Any idea what's happening? Is there any additional information I should > provide? > Thank you very much in

Re: Is bidirectional bridging of two brokers possible?

2008-01-18 Thread Rob Davies
On Jan 18, 2008, at 4:13 PM, Viktor Matić wrote: Hi, I have installed two brokers (ActiveMQ 4.x) on which producers are creating queues with identical names. At some point I need to interconnect these two brokers to enable message flow between them. My idea is to create a queue in the f

Is bidirectional bridging of two brokers possible?

2008-01-18 Thread Viktor Matić
Hi, I have installed two brokers (ActiveMQ 4.x) on which producers are creating queues with identical names. At some point I need to interconnect these two brokers to enable message flow between them. My idea is to create a queue in the first one eq. out1.queue which is bridged to the ot

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
Hi, do you really use a topic named FOO.* in your tests? You probably will have to adapt the topic="..." attribute of to your topic name - or replace it with queue="..." if you are using a queue. Cheers, Jürgen -Original Message- From: Olivier Bigard [mailto:[EMAIL PROTECTED] Sent: Fr

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Olivier Bigard
We retry our testcase with the following lines in "activemq.xml" file to disable "flow control": but it doesn't seem to solve the problem: ActiveMQ still fr

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
> Btw - are you explicitly setting the SimpleDispatchPolicy for the Queue ? Yes, I had this part in my activemq.xml: Cheers, Jürgen.

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Olivier Bigard
The session is not transacted in our simple testcase... rajdavies wrote: > > looks like you are creating transacted sessions and not calling commit > - is that you mean to do ? > > On Jan 18, 2008, at 6:59 AM, Olivier Bigard wrote: > >> >> Hello, >> >> We had the same problem with ActiveMQ 5.

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Olivier Bigard
Ok, we will try to disable this flow control. Thank you rajdavies wrote: > > It looks like you've hit flow control - you might want to disable it - > see here: http://activemq.apache.org/producer-flow-control.html > cheers, > > Rob > > On Jan 18, 2008, at 6:59 AM, Olivier Bigard wrote: >

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Rob Davies
Btw - are you explicitly setting the SimpleDispatchPolicy for the Queue ? On Jan 18, 2008, at 11:56 AM, <[EMAIL PROTECTED]> wrote: this is the latest 5.1 snapshot release ? Two days old. Should I get an update? Cheers, Jürgen.

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
Great. I will wait for the update. As an additional information: I just tried again using , and it's now again in the "server running using full CPU and nothing else is happening" state, but without any error message or stacktrace. Thus I do not think that the error message is related to the loc

Re: Got minus one from a read call

2008-01-18 Thread James Strachan
On 10/01/2008, activemqnewbie <[EMAIL PROTECTED]> wrote: > > When I am executing a bulk load of data to Oracle, I intermittently > receive the following. Activemq publlishes 300 messages before > failing. If I run it again it may fail after publishing200 messages . What is the failure message? >

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Rob Davies
ooh - ok that's a bug - will fix today On Jan 18, 2008, at 11:56 AM, <[EMAIL PROTECTED]> wrote: this is the latest 5.1 snapshot release ? Two days old. Should I get an update? Cheers, Jürgen.

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
> this is the latest 5.1 snapshot release ? Two days old. Should I get an update? Cheers, Jürgen.

Re: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Rob Davies
this is the latest 5.1 snapshot release ? On Jan 18, 2008, at 11:47 AM, <[EMAIL PROTECTED]> wrote: Hi again, Seems that was a bit overhasty. I'm still getting freezes, but much later in the test. I also just did a test with non-transactional sessions and it locks up even after the producers ha

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
Hi again, Seems that was a bit overhasty. I'm still getting freezes, but much later in the test. I also just did a test with non-transactional sessions and it locks up even after the producers have long stopped working. However, it seems to be a bit different this time: The ActiveMQ server seems t

Re: Got minus one from a read call

2008-01-18 Thread spiiff
Hi, we're facing nearly the same problem I think... Here is my stack trace: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class path resource [activemq.xml]: Invocation of init method failed; nested

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
Hi, > -Original Message- > From: Rob Davies [mailto:[EMAIL PROTECTED] > Sent: Friday, January 18, 2008 8:41 AM > > looks like you are creating transacted sessions and not calling commit > - is that you mean to do ? Where are commits missing? There is one commit after each message creati

RE: High message frequency causes ActiveMQ to freeze

2008-01-18 Thread Juergen.Schumacher
Hi, > -Original Message- > From: Rob Davies [mailto:[EMAIL PROTECTED] > Sent: Friday, January 18, 2008 8:28 AM > > It looks like you've hit flow control - you might want to disable it - > see here: http://activemq.apache.org/producer-flow-control.html Yes, that seems to be a part of th

Re: Cannot synchronously receive a message when a MessageListener is set

2008-01-18 Thread James Strachan
On 18/01/2008, JS75 <[EMAIL PROTECTED]> wrote: > > Dear All: > I tried to receive message from topic, however, I got exception below. > [java] [java] javax.jms.IllegalStateException: Cannot > synchronously receive a message when a MessageListener is set > [java] [java] a

Re: Slave automatically switch to Master even though Master is up

2008-01-18 Thread James Strachan
On 18/01/2008, MQ Newbie <[EMAIL PROTECTED]> wrote: > > I find it weird too. The configuration of the database are the same for both. > I have tried replacing the default mysql connector with the one provided by > data direct. But the same problem occured but now with additional warning: > Database

Re: Broker Networks - Forwarding a message only to chosen brokers

2008-01-18 Thread Rob Davies
On Jan 18, 2008, at 8:33 AM, Yohan Liyanage wrote: Hi, Consider a situation where a network of brokers are configured. Is it possible to send a message which will only be forwarded to a chosen set of brokers only ? Thanks ! -- View this message in context: http://www.nabble.com/Broker-

Broker Networks - Forwarding a message only to chosen brokers

2008-01-18 Thread Yohan Liyanage
Hi, Consider a situation where a network of brokers are configured. Is it possible to send a message which will only be forwarded to a chosen set of brokers only ? Thanks ! -- View this message in context: http://www.nabble.com/Broker-Networks---Forwarding-a-message-only-to-chosen-brokers-tp