Re: Millions of messages on queues

2008-08-18 Thread Rob Davies
On 19 Aug 2008, at 00:17, HEATLAMP wrote: I have a situation where potentially millions of persistent messages (say 1K bytes each) may end up being queued between systems (for example when the target system is down for some reason). Does this suggest a dedicated store-and-forward solution

java.lang.NoClassDefFoundError: javax/jms/Destination when run exported jar file

2008-08-18 Thread hardtolose
Hi, all, I hava a java project which use ActiveMQ as communicating middleware. It can run well in eclipse IDE, but when I exported it into jar file, and use "java -jar **.jar" to run it, I got this exception: "java.lang.NoClassDefFoundError: javax/jms/Destination" ps: I have already

Millions of messages on queues

2008-08-18 Thread HEATLAMP
I have a situation where potentially millions of persistent messages (say 1K bytes each) may end up being queued between systems (for example when the target system is down for some reason). Does this suggest a dedicated store-and-forward solution, or would ActiveMQ or other messaging solution gr

Re: Exception on startup - Failed to create local registry

2008-08-18 Thread Badri
I checked if port 8007 is being used by doing netstat -an|grep 8007. I did not see LISTEN or any other service running on 8007. When I started, I got the exception. When I changed the configuration & restarted active mq, everything worked fine. bsnyder wrote: > > On Mon, Aug 4, 2008 at 3:09 P

Re: Exception on startup - Failed to create local registry

2008-08-18 Thread Badri
http://activemq.apache.org/schema/core"; useJmx="true" persistent="false"> http://activemq.apache.org/schema/core";

Re: Exception on startup - Failed to create local registry

2008-08-18 Thread Bruce Snyder
On Mon, Aug 4, 2008 at 3:09 PM, Badri <[EMAIL PROTECTED]> wrote: > > Hi > > When I start Active MQ 5.1, I get the folllowing exception (excerpt given > below). > I did not get this exception before. > > 2008-08-04 16:24:39,077 DEBUG ManagementContext - Failed to > create local registry

Re: Exception on startup - Failed to create local registry

2008-08-18 Thread xavzeman
Hello, Did you find a solution to this issue. Would you care to share ? Thanks X. Badri wrote: > > Hi > > When I start Active MQ 5.1, I get the folllowing exception (excerpt given > below). > I did not get this exception before. > > 2008-08-04 16:24:39,077 DEBUG ManagementContext

Re: Total number of messages on a queue.

2008-08-18 Thread Bruce Snyder
On Sun, Aug 17, 2008 at 11:26 PM, Jigar Naik <[EMAIL PROTECTED]> wrote: > > Hi, > > is it possible to get a count of total number of messages in a queue ? > > I want to do something like if the count exceed some limit than only start > processing. You an get a queue count via the use of JMX. I've

RE: Cross language compatibility AMQ 5.1.0?

2008-08-18 Thread Powers, Matthew
It is my understanding that they are compatible. -Original Message- From: Fredrik.A [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 10:37 AM To: users@activemq.apache.org Subject: Cross language compatibility AMQ 5.1.0? Hi I have tried hard to find information regarding the cro

Re: Cross language compatibility AMQ 5.1.0?

2008-08-18 Thread Jim Gomes
The NMS client works with ActiveMQ 5.0, 5.1 and 5.2. I have not tested with 4.1, but it should work for that as well. On Mon, Aug 18, 2008 at 7:37 AM, Fredrik.A < [EMAIL PROTECTED]> wrote: > > Hi > > I have tried hard to find information regarding the cross language > compatibility with AMQ 5.1.

Re: Cross language compatibility AMQ 5.1.0?

2008-08-18 Thread Bruce Snyder
On Mon, Aug 18, 2008 at 8:37 AM, Fredrik.A <[EMAIL PROTECTED]> wrote: > > Hi > > I have tried hard to find information regarding the cross language > compatibility with AMQ 5.1.0. > > Can anyone tell me if the current versions of CMS and NMS are fully > compatible with AMQ 5.1.0? Yes, the latest r

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-08-18 Thread tjhaz
I have noticed that this problem does not occur on the nightly builds of activemq. DId you ever find out anything about this issue? Thanks Yohan Liyanage wrote: > > Hi, > > I tried to use JmsTemplate's receive() method for synchronous consumption > of a Queue, but the method returns 'null',

Cross language compatibility AMQ 5.1.0?

2008-08-18 Thread Fredrik.A
Hi I have tried hard to find information regarding the cross language compatibility with AMQ 5.1.0. Can anyone tell me if the current versions of CMS and NMS are fully compatible with AMQ 5.1.0? /Fredrik -- View this message in context: http://www.nabble.com/Cross-language-compatibility-AMQ-5

Re: pure master/slave

2008-08-18 Thread James Strachan
FWIW some folks might not want a broker to process any messages if it can't be sure that messages are being replicated to another data centre. i.e. having a single broker own messages might be a concern. Its kinda like having the failover option; where if a master dies, the slave also can shut down

Re: NMS: Strange behavior when re-connecting after connection abort

2008-08-18 Thread SebastianR.
Hiram Chirino wrote: > > A connection will hold on to messages that's trying to deliver to it's > client until the broker detects that the connection has failed. > > In the last case is you main thread blocked somewhere? > > Nope, the programm shuts down correctly, probably because at the re