Re: A question about the queue.

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 7:45 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > Thank you brian! I am very happy to communicate with you! Do you known the > broker clustering by program not with the xml file? Attached is an example of programmatic configuration for ActiveMQ that I was just doing the oth

Re: ActiveMQ to ActiveMQ bridge

2008-07-08 Thread Bryan.Shaw
Can we using this implementation to pull message from a remote queue to a local queue and guarantee no message loss even when the connection between two message broker is not stable? James.Strachan wrote: > > 2008/7/8 Shekhar Naidu <[EMAIL PROTECTED]>: >> Hi We have requirement to transfer me

Re: A question about the queue.

2008-07-08 Thread yanhongsan
Brian Munroe-2 wrote: > > > Ok, just wanted to clarify. Sorry, this is getting a bit beyond my > expertise, but yes, I agree with you, the issue you describe does > sound like a bug. Try searching JIRA? > > sorry! > > -- brian > > Thank you brian! I am very happy to communicate with you

Re: InvalidClientID (Broker embedded in JBoss)

2008-07-08 Thread Benoitx
Hi Alex & all, We have exactly the same problem with JBoss 4.0.5 having upgraded ActiveMQ from 4.1.1 to 5.1. Has anyone found a solution / workaround? Thanks a lot Benoit Alex Soto wrote: > > Hi, > > I have ActiveMQ 5.0 running embedded in JBoss 4.2.2 using the rar > adapter. > I see the

Re: No clientID specified for connection disconnect request

2008-07-08 Thread Benoitx
Same here. This error seems to happen on the FIRST message sent by thread in JBoss... After the first message, it seems to go away... Quite annoying. Any suggestion ? Solution? workaround? Thanks Benoit Demian Mrakovich wrote: > > Just upgraded from 4.1 to 5.1 and get this exception now r

Problems embedding stomp transport with AMQ 5.1

2008-07-08 Thread mdino7
Trying to use broker.addConnector("stomp://localhost:61613"); in embedded broker (5.1) throws the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/beans/factory/InitializingBean at java.lang.ClassLoader.defineClass1(Native Method)

Connection.start() blocking infinitely

2008-07-08 Thread gupabhi
Hi, I'm using JMS with ActiveMQ in my junit tests and sometimes it hangs inexplicabily. I have noticed that this is followed by a NullPointerExcpetion detailed here: [[http://www.nabble.com/NullPointerException--on-ActiveMQConnection.close-tt18345477.html][link] Are the two related ? Followi

Re: Services connected to ACTIVEMQ stop receiving messages (ActiveMQ 5.1.0)

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 11:21 AM, sparky2708 <[EMAIL PROTECTED]> wrote: > > I think you might be right. Is there a way to monitor when ActiveMQ runs out > of memory? Currently there's not automatic mechanism. > What could be some of the reasons it would run out of memory? If you haven't raised th

Re: How can Dequeuecount == Enqueuecount == Dispatchcount and QueueSize != 0?

2008-07-08 Thread sparky2708
Not really doing anything fancy... just calling send many times: persistent = false... public void send(String name, DESTINATION_TYPE destination_type, Destination reply_to, MessageIntf wrapper, boolean persistent) throws Exception { Destination dest = createDestination(name, dest

Re: NullPointerException on ActiveMQConnection.close

2008-07-08 Thread gupabhi
I forgot to mention, its version 5.0.0 Thanks, Abhi rajdavies wrote: > > which version ? > On 8 Jul 2008, at 19:07, gupabhi wrote: > >> >> Hi, >> I'm using ActiveMQ on JMS to run some junit tests. I create a new >> instance of the broker etc for every unit test. Sometimes I get the >> fol

Re: How can Dequeuecount == Enqueuecount == Dispatchcount and QueueSize != 0?

2008-07-08 Thread Rob Davies
be great if you could come up with a test case! On 8 Jul 2008, at 18:49, sparky2708 wrote: I am using ActiveMQ 5.1.0 and I can't explain the following in JConsole (I never pressed resetStats()). This seems to happen to most of my topics: http://www.nabble.com/file/p18345113/untitled.jpg

Re: NullPointerException on ActiveMQConnection.close

2008-07-08 Thread Rob Davies
which version ? On 8 Jul 2008, at 19:07, gupabhi wrote: Hi, I'm using ActiveMQ on JMS to run some junit tests. I create a new instance of the broker etc for every unit test. Sometimes I get the following exception while sending a message using the JMSTemplate. When the close() is called o

NullPointerException on ActiveMQConnection.close

2008-07-08 Thread gupabhi
Hi, I'm using ActiveMQ on JMS to run some junit tests. I create a new instance of the broker etc for every unit test. Sometimes I get the following exception while sending a message using the JMSTemplate. When the close() is called on the connection it throws this exception. Its not consistent

How can Dequeuecount == Enqueuecount == Dispatchcount and QueueSize != 0?

2008-07-08 Thread sparky2708
I am using ActiveMQ 5.1.0 and I can't explain the following in JConsole (I never pressed resetStats()). This seems to happen to most of my topics: http://www.nabble.com/file/p18345113/untitled.jpg Any ideas? -- View this message in context: http://www.nabble.com/How-can-Dequeuecount-%3D%3D-En

Re: Services connected to ACTIVEMQ stop receiving messages (ActiveMQ 5.1.0)

2008-07-08 Thread sparky2708
I think you might be right. Is there a way to monitor when ActiveMQ runs out of memory? What could be some of the reasons it would run out of memory? bsnyder wrote: > > On Tue, Jul 8, 2008 at 8:20 AM, sparky2708 <[EMAIL PROTECTED]> wrote: >> >> I am noticing that services connected to an ACTIVE

Re: A question about the queue.

2008-07-08 Thread Brian Munroe
On Tue, Jul 8, 2008 at 12:12 AM, yanhongsan <[EMAIL PROTECTED]> wrote: > > Yes, I am not referring to the predefined queue. I see the queue--Example.A. > The question is another queue I created with JMX. The code is: > Ok, just wanted to clarify. Sorry, this is getting a bit beyond my expertise,

Re: ActiveMQ Disk usage

2008-07-08 Thread andrewh
andrewh wrote: > > > [snip...] > > https://issues.apache.org/activemq/browse/AMQ-1786 I think I could be experiencing this issue. It is the $ACTIVEMQ_HOME/data/brokername/journal folder that is filling up. Still, any comments on my config are appreciated. Rgds, Andrew -- View this messa

ActiveMQ Disk usage

2008-07-08 Thread andrewh
Hi, I know this has come up before but I'm positive we are consuming as much as we're producing (if not slightly less), and disk is filling in the order of 15Gb over three days. I would really appreciate some pointers from more experienced users. Has anyone experienced problems with disk usage th

Re: Services connected to ACTIVEMQ stop receiving messages (ActiveMQ 5.1.0)

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 8:20 AM, sparky2708 <[EMAIL PROTECTED]> wrote: > > I am noticing that services connected to an ACTIVEMQ Broker stop receiving > messages all of a sudden. I don't see anything in any of the ACTIVEMQ logs. > I am using ActiveMQ 5.1.0. How can I figure out what is going on? (I h

Re: Not able to configure the created queue for communication. Even I dont know how to do that?

2008-07-08 Thread Joe Fernandez
The exception is being thrown, because "TestQ1" is not defined in the jndi context. org.apache.activemq.jndi.ActiveMQInitialContextFactory is ActiveMQ's implementation of InitialContextFactory. org.apache.activemq.ActiveMQConnectionFactory implements the JMS ConnectionFactory. Joe www.ttmsol

How can I ensure every message is delivered to the consumer through a distributed queue

2008-07-08 Thread Bryan.Shaw
I have encoutered problem in a distributed environment with a network of two brokers. The ActiveMQ version is 5.1 The ActiveMQ is supposed to use store and forward network which ensure every message is delivered. But the real situation is I found message loss on one distributed queue. Senerio is l

Re: Limited heap size and poor performances

2008-07-08 Thread Fuzzo
Self-reply: the ActiveMQ distibution seems does not specify -server parameter in the Java Service Wrapper configuration file... Now the heap is about 60MB :) I hope the problem is solved! Fuzzo wrote: > > Hi all! > In my application I need use AMQ for messaging but there is a problem. > > Thi

Re: why my consumer client always lost connection

2008-07-08 Thread sparky2708
Check your firewall. We had a similar problem - our firewall would disconnect the connection if it was idle/open for too long. It looked like the client was just losing it without any error messages. dingjing wrote: > > thank you for your advice, i have upgraded to 2.2, the bugs stilll > happe

Services connected to ACTIVEMQ stop receiving messages (ActiveMQ 5.1.0)

2008-07-08 Thread sparky2708
I am noticing that services connected to an ACTIVEMQ Broker stop receiving messages all of a sudden. I don't see anything in any of the ACTIVEMQ logs. I am using ActiveMQ 5.1.0. How can I figure out what is going on? (I have a suspicion that the broker might stop sending messages maybe because the

Re: ActiveMQ & Camel

2008-07-08 Thread Yari
thx a lot,i was able to configure the Camel context with username e password and everything is working now :) Just needed to add to activemq.xml: ammulder wrote: >

Re: ActiveMQ to ActiveMQ bridge

2008-07-08 Thread Shekhar Naidu
thank you james.. thank you very much for the reply Thank You Shekhar On Tue, Jul 8, 2008 at 6:11 PM, James Strachan <[EMAIL PROTECTED]> wrote: > 2008/7/8 Shekhar Naidu <[EMAIL PROTECTED]>: > > Hi We have requirement to transfer messages from one ActiveMQ to > another > > ActiveMQ, meaning we

Re: ActiveMQ to ActiveMQ bridge

2008-07-08 Thread James Strachan
2008/7/8 Shekhar Naidu <[EMAIL PROTECTED]>: > Hi We have requirement to transfer messages from one ActiveMQ to another > ActiveMQ, meaning we want to have a bridge which autometically transfers > messages from one queue to another queue. Source Server Queue to Destination > server queue Is this

Re: ActiveMQ to ActiveMQ bridge

2008-07-08 Thread Shekhar Naidu
in this link I do not find any configuration like source server info and destination srever info source Q and destination Q mapping.. if you have any example mapping, can you please provide. Thank You Shekhar On Tue, Jul 8, 2008 at 5:40 PM, Minh Tu Duong <[EMAIL PROTECTED]> wrote: > please see:

Re: ActiveMQ & Camel

2008-07-08 Thread Aaron Mulder
To be a little more specific, in ActiveMQ > 5.1.0, you can set a username and password on the Camel ActiveMQComponent that's described on the page James pointed to. In ActiveMQ <= 5.1.0, you need to configure the ActiveMQConnectionFactory as one bean and set the username and password on that one,

Re: ActiveMQ to ActiveMQ bridge

2008-07-08 Thread Minh Tu Duong
please see: http://activemq.apache.org/jms-to-jms-bridge.html Shekhar Naidu schrieb: Hi We have requirement to transfer messages from one ActiveMQ to another ActiveMQ, meaning we want to have a bridge which autometically transfers messages from one queue to another queue. Source Server Queue to

ActiveMQ to ActiveMQ bridge

2008-07-08 Thread Shekhar Naidu
Hi We have requirement to transfer messages from one ActiveMQ to another ActiveMQ, meaning we want to have a bridge which autometically transfers messages from one queue to another queue. Source Server Queue to Destination server queue Is this facility available in ActiveMQ??? ... Thank You --

Re: ActiveMQ & Camel

2008-07-08 Thread James Strachan
You can customize the activemq component in your spring.xml to specify the user/password and to switch from the default TCP transport to use VM if you prefer. See... http://activemq.apache.org/camel/activemq.html 2008/7/8 Yari <[EMAIL PROTECTED]>: > > Hi everyone, > i started working on ActiveMQ

How to run ActiveMQ with OpenSSL

2008-07-08 Thread Hamzeh M
Hi, Is ActiveMQ capable to work with OpenSSL directly (as same as e.g. Tomcat), and doesn't use keytool , ... ? -- View this message in context: http://www.nabble.com/How-to-run-ActiveMQ-with-OpenSSL-tp18336530p18336530.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ & Camel

2008-07-08 Thread Yari
Hi everyone, i started working on ActiveMQ for a few days and i wanna share an experience i found out to be interesting (and could save a lot of time) to other people.The project i work on required JAAS, for authentication and authorization, as well as Camel, in order to integrate Enterprise Integ

How can I know about the peer certificate subject?

2008-07-08 Thread Hamzeh M
Hi, Is there anyway, I can retrieve information, such as "Peer Certificate Subject", from a received message(That's received through a SSL session)? Thanks. -- View this message in context: http://www.nabble.com/How-can-I-know-about-the-peer-certificate-subject--tp18336436p18336436.html Sent fro

Re: ActiveMQ causes application to hang on Glassfish

2008-07-08 Thread Hans Bausewein
Hans Bausewein wrote: > > > If I understand Ramesh' description correctly, then you must replace > "genericra" with "activemq-rar-5.1.0.rar" (= value of "rar-name" property > in "ra.xml"). > > I have to correct myself here. This "rar-name" was in the JBoss deployment descriptor for the reso

Re: runlevel script for debian/ubuntu

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 2:04 AM, lkwg82 <[EMAIL PROTECTED]> wrote: > starting as root and giving processes to non-root users is common on unixes, > it is a need for security Yes, I'm quite familiar with it :-). > and EOL means EndOfLine, on win32 it is \r\n and on linux only \n > > hope it will f

Re: runlevel script for debian/ubuntu

2008-07-08 Thread lkwg82
bsnyder wrote: > > On Tue, Jul 8, 2008 at 1:50 AM, lkwg82 <[EMAIL PROTECTED]> wrote: > >> why I did: >> >> where can I specify the user run the queue? > > I see, you needed to specify a particular user. That cannot be done > using the wrapper scripts. > >> this is missing and the linux EOL

Re: runlevel script for debian/ubuntu

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 1:50 AM, lkwg82 <[EMAIL PROTECTED]> wrote: > why I did: > > where can I specify the user run the queue? I see, you needed to specify a particular user. That cannot be done using the wrapper scripts. > this is missing and the linux EOL is to be fixed What is the Linux EO

Re: runlevel script for debian/ubuntu

2008-07-08 Thread lkwg82
bsnyder wrote: > > On Wed, Jul 2, 2008 at 7:28 AM, lkwg82 <[EMAIL PROTECTED]> wrote: >> >> first repair the start-script, go to the bin directory of activemq >> do >> # sed -e 's#\r$##g' activemq-admin > activemq-admin.sh && chmod +x >> activemq-admin.sh >> >> this is converting from win32 to l

Active MQ message delivery

2008-07-08 Thread Marjan
I'm testing ActiveMQ 5.1 and I found a strange behaviour. There is a single message producer firing 10 messages in 1 second and message consumer that listens on the same destination. Here is the code: import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.DeliveryMode;

Re: A question about the queue.

2008-07-08 Thread yanhongsan
Brian Munroe-2 wrote: > > > In the stock install of AMQ, it predefines a queue and topic. You > aren't referring to these, right? > > Yes, I am not referring to the predefined queue. I see the queue--Example.A. The question is another queue I created with JMX. The code is: public void