Re: replicate messages

2007-01-19 Thread James Strachan
Please always include the full stack trace. More notes on how to get better support here... http://incubator.apache.org/activemq/support.html On 1/17/07, devu <[EMAIL PROTECTED]> wrote: Thanks for your help. In fact, I tried this config before I post, but it has such problem: Test case: Step:

BrokerService configuration ignored.

2007-01-19 Thread mers
Hi, I'm trying to create a broker programmatically. The broker will then receive connections using vm://test connection strings from message producers and consumers in the same JVM. However, my settings are being ignored. My code in its entirety is simply: import org.apache.activemq.br

Re: BrokerService configuration ignored.

2007-01-19 Thread James Strachan
Try moving the addConnector() method to just before the broker.start() - older versions of ActiveMQ would kinda boot up the broker when you tried adding connectors On 1/19/07, mers <[EMAIL PROTECTED]> wrote: Hi, I'm trying to create a broker programmatically. The broker will then receive conne

Re: Help with SimpleAuthenticationPlugin

2007-01-19 Thread rousseau
I have the same issue. Does anyone have a complete example XML configuration file for Simple authentication (not using JAAS or anything else)? My XML file is something like:

Re: BrokerService configuration ignored.

2007-01-19 Thread mers
Thanks, that fixed it. This should really be documented somewhere. James.Strachan wrote: > > Try moving the addConnector() method to just before the broker.start() > - older versions of ActiveMQ would kinda boot up the broker when you > tried adding connectors > > On 1/19/07, mers <[EMAIL PROT

Receive forever in transacted session

2007-01-19 Thread pcasar
Hi, Using tansacted session I sent ONE message to a queue, then I receive from the same queue and I get the sent message. After the first receive I create a queue browser that tell me that my queue is empty, but if I try to receive once more on the same queue the result is not null!! Why? The que

Re: Receive forever in transacted session

2007-01-19 Thread James Strachan
You don't describe how messages get on the queue - could something else have published since your queue browser was created? On 1/19/07, pcasar <[EMAIL PROTECTED]> wrote: Hi, Using tansacted session I sent ONE message to a queue, then I receive from the same queue and I get the sent message. A

Re: Receive forever in transacted session

2007-01-19 Thread pcasar
Nothing could be published because I'm the only client that use that queue: The jndi.properties associated to this test is: java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory java.naming.provider.url = vm:broker:(vm://localhost)?useJmx=false connectionFactoryName

RE: Help with SimpleAuthenticationPlugin

2007-01-19 Thread Chris Hofstaedter
I had this problem a few months ago, posted the question to this group, and got a very helpful reply (with xml) that allowed me to get it working. http://www.mail-archive.com/activemq-users@geronimo.apache.org/msg05478. html -Original Message- From: rousseau [mailto:[EMAIL PROTECTED] Se

Re: Receive forever in transacted session

2007-01-19 Thread James Strachan
On 1/19/07, pcasar <[EMAIL PROTECTED]> wrote: Nothing could be published because I'm the only client that use that queue: The jndi.properties associated to this test is: java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory java.naming.provider.url = vm:broker:(vm:

Re: Receive forever in transacted session

2007-01-19 Thread pcasar
In the test I first send ONE message and then I reveive it twice. The problem is that it seems that the receive doesn't remove the message returned from the queue... Paolo. James.Strachan wrote: > > On 1/19/07, pcasar <[EMAIL PROTECTED]> wrote: >> Nothing could be published because I'm the on

Maven artifact and repository details?

2007-01-19 Thread Terry
Please could someone post the correct Maven group and artifact details for actviemq-core 4.1.0 and the repository where it is published? The dependency details seem to have changed with the incubator renaming and maven is unable to locate the library from poms that were working last month on snaps

Re: Maven artifact and repository details?

2007-01-19 Thread James Strachan
Here's the pom, so you can cut n paste the project & artifact ID etc http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1.0-incubator/activemq-core-4.1.0-incubator.pom On 1/19/07, Terry <[EMAIL PROTECTED]> wrote: Please could someone post the correct Mav

Re: Issues configuring ActiveMQ in spring context file

2007-01-19 Thread Endre Stølsvik
jfd wrote: Hello All, I am just start to use ActiveMq and tried to configure it using Spring 2.0 and here are some of the issues I have encounted while I am using 4.1.0 with m2 1). the xsd file for the spring 2.0 beanconfiguration is not included in the jar file 2) the spring.schemas point the

Re: Maven artifact and repository details?

2007-01-19 Thread Terry
Thanks. It turns out I had that correct, but it now seems necessary to explicitly declare the following repositories in order to find the jars: apache.incubating.releases Apache Incubating Release Distribution Repository http://peopl

Re: Maven artifact and repository details?

2007-01-19 Thread James Strachan
You should only need the first one, containing the releases of ActiveMQ. BTW as soon as ActiveMQ goes to a top level project, we'll be able to use the normal Apache repo which gets mirrored to ibiblio so hopefully the requirement to use the incubator repo will go away soon On 1/19/07, Terry <[E

TransactionRolledbackLocalException in method

2007-01-19 Thread miniman
All when i send a message from my MDB i get this error come up. = true, text = null} 16:50:24,949 INFO [PublishMsgToTopic] Autobahn Monitor.onMessage 16:50:27,965 INFO [PublishMsgToTopic] Autobahn Monitor.ejbRemove 16:50:27,981 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho

Re: Receive forever in transacted session

2007-01-19 Thread Simon Wistow
On Fri, Jan 19, 2007 at 06:35:39AM -0800, pcasar said: > > In the test I first send ONE message and then I reveive it twice. > The problem is that it seems that the receive doesn't remove the message > returned from the queue... We've seen similar issues, especially using Stomp. We suspect it's

Re: Is anyone else seeing messages stuck on a queue?

2007-01-19 Thread Simon Wistow
On Thu, Jan 18, 2007 at 09:50:46AM -0800, James.Strachan said: > Incidentally the nightly backups are back now if you wanna try a binary > download of 4.2-snapshot (pick one near the bottom thats dated January :) The Snapshots don't seem to have *nix shell scripts in the bin/ directory. Using an

Re: TransactionRolledbackLocalException in method

2007-01-19 Thread Adrian Co
Please add the complete stack trace. miniman wrote: All when i send a message from my MDB i get this error come up. = true, text = null} 16:50:24,949 INFO [PublishMsgToTopic] Autobahn Monitor.onMessage 16:50:27,965 INFO [PublishMsgToTopic] Autobahn Monitor.ejbRemove 16:50:27,981 ERROR [LogInt

Re: Is anyone else seeing messages stuck on a queue?

2007-01-19 Thread Adrian Co
Simon Wistow wrote: On Thu, Jan 18, 2007 at 09:50:46AM -0800, James.Strachan said: Incidentally the nightly backups are back now if you wanna try a binary download of 4.2-snapshot (pick one near the bottom thats dated January :) The Snapshots don't seem to have *nix shell scripts in th

Re: Publishing message to a durable subscription is limited

2007-01-19 Thread Sandeep Chayapathi
Increase the memory limit of the broker, in activemq.xml, via the usageManager. For eg, this sets the memory limit to 512MB Also make sure the jvm's max heap space (via -Xmx) is more than the usage manager's limit - Sandeep Christopher Mihaly wrote: > > Okay, I reconfi

Re: Detecting lost clients

2007-01-19 Thread James Strachan
On 1/16/07, masterov <[EMAIL PROTECTED]> wrote: Hey James, James.Strachan wrote: > Just out of interest; are you sure the broker detected the loss of the > client? Depending on your OS and the settings, it might be its taking > the broker a while to detect client loss. e.g. 30 seconds from > pres

Re: Messages Groups & Stomp

2007-01-19 Thread James Strachan
On 12/22/06, cronos <[EMAIL PROTECTED]> wrote: I am using the php stomp client to produce and consume messages. Please, can somebody clarify whether my understanding of message group implementation is correct (1) All that is needed to CREATE a message group is to add the jmsxgroupid to the pr

active mq and tomcat 5.5

2007-01-19 Thread Suchitha Koneru \(sukoneru\)
Hello active mq users , is there any good tutorial, which will explain configuring active mq on tomcat 5.5 ? I am running into the following issue. I have the following configuration on my system tomcat 5.5 java 1.5.09 activemq jars version 4.0 The active MQ broker is started , from the a

Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-01-19 Thread cbu
Hello, I think I've read that quite a few people did have problems to setup a network of brokers where you can publish on publishing on broker x but consume the message on broker 1...n. As an example: - publish on broker 2 a message on a topic - consume the message from broker 1-9 As additional

Re: active mq and tomcat 5.5

2007-01-19 Thread Adrian Co
Have you tried using the 4.1 jars? What is the class of the object being returned? Suchitha Koneru (sukoneru) wrote: Hello active mq users , is there any good tutorial, which will explain configuring active mq on tomcat 5.5 ? I am running into the following issue. I have the following config

Re: Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-01-19 Thread Adrian Co
Are you using queues or topics? Are you consuming from all brokers simultaneously? ActiveMQ tends to give preference to local consumers I think. cbu wrote: Hello, I think I've read that quite a few people did have problems to setup a network of brokers where you can publish on publishing on

Re: Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-01-19 Thread cbu
Try both: - publishing 1000 messages on queues and would like to see some consumed on client's attached to remote brokers as well (did read the thing about preferring the fastest consumer ...) - publishing 1000 messages on topic and WANT DEFINITLY to see some consumed on client's attached to remot

Re: Network of Brokers - publishing on broker x - consuming on broker 1...n

2007-01-19 Thread cbu
NEW FINDING! if you set this policy - queue messages are not distributed on a network: Is it a bug? - C. cbu wrote: > > Try both: > - publishing 1000 messages on queues and would like to see some consumed > on client's attached to remote brokers as

RE: active mq and tomcat 5.5

2007-01-19 Thread Suchitha Koneru \(sukoneru\)
Thanks for your response , I tried using the latest version of activemq jars (i.e 4.1) The class of the object being returned Is org.apache.activemq.ActiveMQConnectionFactory. I tried casting it to this type as well, but still I get the class cast exception java.lang.ClassCastException: org.apa

RE: active mq and tomcat 5.5

2007-01-19 Thread tony . x . rippy
Hi Suchitha, I've seen this sort of error when there is more than one ActiveMQ JAR in the classpath. This can happen if there is one version in $CATALINA_HOME/shared/lib, and different version included with your WAR file. In this situation the resource in JNDI will have been created using the

Jmeter - ActiveMQ - Configuration

2007-01-19 Thread shital
I am trying to figure out how to configure the jmeter test suite that ships with activeMQ with no luck. I have go it to a point where I can see some data flowing through the tcp socket between the jmeter and my brokers. However I have absolutely no idea as to which topic it connects to !! Where ca

Re: active mq configuration for Tomcat 5.5

2007-01-19 Thread James Strachan
It looks like you are looking up the wrong name, shouldn't it be "jms/TopicConnectionFactory"? Also try actually printing out what the object is that you've found. Given the problems you're having using JNDI, it might be worth just replacing all the JNDI crap with just one line... ConnectionFact

Stomp durable topic do not UNSUB

2007-01-19 Thread tim.geldart
I have observed inexplicable behavior (to me, at least) when using the Stomp C API to consume messages from a durable subscription. I could not find prior discussion or bugs filed on this topic, so I would like to know if this is expected behavior. I am using the 4.2 snapshot, built from the tru

RE: active mq configuration for Tomcat 5.5

2007-01-19 Thread Suchitha Koneru \(sukoneru\)
Thank you so much for the help. I am looking up the correct name because in the resource link of context.xml I have Connection Factory mapped to global resource "jms/TopicConnectionFactory". This global resource is mentioned in Server.xml. global="jms/TopicConnectionFactory" type= > "org.ap

On Ajax testing, All queue destinations is differently interpreted

2007-01-19 Thread kevin212
When I was testing Ajax with the ActiveMQ, I found out that all queue destinations were mistakenly processed. for example if a queue destination is "queue://hc.upmesg", when this one is registered in ActiveMQ, it is displayed like queue_hc.upmesg So I inserted the below code into org.apache.acti