Re: Exception while shutting down the embedded broker in Jboss:

2009-07-21 Thread Chinmaya
Thanks for this useful information. Yes every time i shutdown Jboss server this exception appears. One question : As you mentioned is there a way to change the order of shutdown such that broker should shutdown after Connection Factory Cleanup was done ? how to configure ActiveMQ with Jboss ext

Re: ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Carlo Camerino
we are using it for signature verification. so we don't actually need to implement caches ...we might not be able to use http since we will be saving images to the databases after viewing it to keep the latest copy. i was just wondering if there are implementations using this already. On Wed, Jul

Re: ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Carlo Camerino
we are using it for signature verification. so we don't actually need to implement caches ...we might not be able to use http since we will be saving images to the databases after viewing it to keep the latest copy. i was just wondering if there are implementations using this already. On Wed, Jul

Re: Replye-Request pattern performance

2009-07-21 Thread Jose Luna
> We have a pool of generic clients that each is listening to it's own > temporary queue and all write to a common queue. These connections are > open at creation time. They remain open until they get evicted by the > pool manager. > > We have different applications that use this pool, and the si

Re: ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Jose Luna
We have no problems using activemq with binary data. I don't know the details of your use case, but HTTP may be a better choice since it provides decent caching semantics that are already well understood. JLuna - Original Message > From: Carlo Camerino > To: users@activemq.apach

Strange ActiveMQ hang problem

2009-07-21 Thread Scott Su
Hi, We are using ActiveMQ 5.2 for developing our application and encounter some strange problems. When we performing to performance testing, the ActiveMQ will suddenly stop. The test scenario is: 1. Create about 500 producers, and send 100 messages each to the same queue with a single consumer.

broken 5.3-SNAPSHOT when using localhost for transport

2009-07-21 Thread Dan Tran
Hello works for 5.2.0 but break in 5.3-SNAPSHOT I have to change it to is this the expected behavior? Thanks -Dan -- View this message in context: http://www.nabble.com/broken-5.3-SNAPSHOT-when-using-localhost-for-transport-tp24599700p24599700.html Sent from the ActiveMQ - User m

ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Carlo Camerino
Hi, I was just was wondering if it's proper to use active mq to transmit images. We are currently doing a distributed signature verification system. We sometimes have to get images on demand from a database in the main branch. Can I use activemq and used networks of brokers to get images from the

Re: Content returned in RSS feed for Message Data

2009-07-21 Thread magellings
Replying to this as am actively trying to figure this out currently. Interpreting the web response as Unicode, UTF7, UTF8, UTF32 does not correctly encode the message content. Unless anyone knows how to make sense of the content data element below I'll have to concatenate the message together th

Replye-Request pattern performance

2009-07-21 Thread Andres Rangel
Hi, We have our own implementation of a request-reply message. We have a pool of generic clients that each is listening to it's own temporary queue and all write to a common queue. These connections are open at creation time. They remain open until they get evicted by the pool manager. We

Re: Windows clustered CIFS server as shared filesystem for ActiveMQ

2009-07-21 Thread Eric Gearhart
On Tue, Jul 21, 2009 at 10:14 AM, Rob Davies wrote: > Don't use journaledJDBC - just JDBC - or KahaDB - or the default > (AMQPersistenceAdaptor) OK we're running an antiquated version of ActiveMQ (4.1.1), so it looks like we don't have the fancy AMQ or KahaDB persistence adapters. With this confi

Re: activemq with oracle persistence - still looks for derby?

2009-07-21 Thread tide08
Thanks Bruce, I forgot to provide config for dataSource but it was configured to use oracle database. Anyways looks like it has to do with known resin-3 issue. http://marc.info/?l=activemq-users&m=119525005217664&w=2 http://marc.info/?l=activemq-users&m=119525005217664&w=2 Still not sure why de

Re: Windows clustered CIFS server as shared filesystem for ActiveMQ

2009-07-21 Thread Rob Davies
Don't use journaledJDBC - just JDBC - or KahaDB - or the default (AMQPersistenceAdaptor) On 21 Jul 2009, at 17:57, Eric Gearhart wrote: On Mon, Jul 20, 2009 at 11:46 AM, Rob Davies wrote: Hi Eric, I'm not aware of anyone who has done this - but if flock() is supported it should work - if

Re: Windows clustered CIFS server as shared filesystem for ActiveMQ

2009-07-21 Thread Eric Gearhart
On Mon, Jul 20, 2009 at 11:46 AM, Rob Davies wrote: > Hi Eric, > > I'm not aware of anyone who has done this - but if flock() is supported it > should work - if its going to fail - it will fail quickly (within a few > minutes). > Please let us know if it works! OK to follow up on this, I've got tw

ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Carlo Camerino
Hi, I was just was wondering if it's proper to use active mq to transmit images. We are currently doing a distributed signature verification system. We sometimes have to get images on demand from a database in the main branch. Can I use activemq and used networks of brokers to get images from the

Messages Stuck in the queue(with the broker)

2009-07-21 Thread guptaviv
Hi, We are having the messaging setup where we are using one Listener and one one producer. I am trying to repeatedly send the messages through the same producer. The problem is, very frequently the messages are stuck in the queue with the broker. The listener is absolutely free and but still t

Re: NPE in broker => inoperative broker

2009-07-21 Thread Gary Tully
This has cropped up once or twice in the past few months. I did a quick inspection between the current trunk and the 5.2 tag and it looks like not much has changed in this logic around setting up the internal producerInfo (which appears to be null). For this reason I suspect that the issue still ex

NPE in broker => inoperative broker

2009-07-21 Thread craig mcmillan
hi, i'm seeing an NPE in my broker, after which the broker is inoperable without a restart. below is the amq related logging upto the first occurence of the NPE. there's no obvious cause, and prior to the NPE the broker had been working fine for 19 hours or so, logging pretty much nothing

Re: How to restrict MQ shall have only one consumer

2009-07-21 Thread Raju Narayan
Thanks for quick responce It sound's to me that user can create multiple(exclosive) consumers, but first created consumer only will get messages right? Is there any way to prevent to create consumer and log the user saying "warning:trying to have multiple consumer" Because in the above method user

Re: Exception while shutting down the embedded broker in Jboss:

2009-07-21 Thread Gary Tully
I changed that first info message to debug level on trunk yesterday, it can be safely ignored. There seems to be an ordering problem between the embedded broker shutdown and connection pool cleanup. Closing the connections is failing because the embedded broker is already shutdown, or at least its

Config network of 2 broker + persistence in mysql

2009-07-21 Thread Fec
Hi all, I´m newbie working with ActiveMQ, i read a lot how to config a network of brokers, also about persistence in database, but the communication between brokers doesn´t work properly. This are my activemq.xml files:: BROKER A http://activemq.apache.org/schema/core"; useJmx="false" bro

Exception while shutting down the embedded broker in Jboss:

2009-07-21 Thread Chinmaya
I have embeded ActiveMQ inside Jboss AS. Modified the ra.xml file to read the embeded broker-config.xml. Please find the attached ra.xml and broker-config.xml. My application is working as expected. But the problem comes when i tries to shutdown it. Any suggestions ? Exceptions : = 1

Re: How to restrict MQ shall have only one consumer

2009-07-21 Thread James Strachan
2009/7/21 Raju Narayan : > > Hello, > > In my modules interaction scinario we defined only one consumer will exist > per MQ, So How to prevent/query that consumer already exists for given MQ. > So That I can prevent Creating consumers for MQ using NMS(C# .net client). Using Exclusive Consumers ens

Re: How to restrict MQ shall have only one consumer

2009-07-21 Thread Dejan Bosanac
Hi Raju, the best approach is to develop your own plugin that will do that. Check out http://activemq.apache.org/developing-plugins.html for more info. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www

How to restrict MQ shall have only one consumer

2009-07-21 Thread Raju Narayan
Hello, In my modules interaction scinario we defined only one consumer will exist per MQ, So How to prevent/query that consumer already exists for given MQ. So That I can prevent Creating consumers for MQ using NMS(C# .net client). Thanks in advance Raju -- View this message in context: http:

use ajax active mq javascript

2009-07-21 Thread zhaoyq
I want to realize a web chat application using active mq, but I find if I run 2 IE client, only one of it can receive the message even if they listen on different topic. But I need more than 1 IE client to receive messages, can you help me? How to do I need? Thanks in advance. -- View this messag