Re: encrypt database password in broker-config.xml

2009-10-19 Thread Rob Davies
On 19 Oct 2009, at 23:03, au.pg wrote: Hi, I want to store encrypted database password in broker-config.xml file? Is there a way that activemq correctly decrypts while connecting to database. Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in

Re: Queue messages to Remote Brokers/Subscribers not seen

2009-10-19 Thread Rob Davies
That config looks ok - dynamic only means that messages will only be pulled across if there is an active subscriber. I did notice that you aren't setting a unique name for the broker itself in the config? - This won't necessarily help - but will make it easier when reading through the logs -

Re: Getting Error while trying to achieve the Master/Slave config

2009-10-19 Thread forda
I forgot to provide the logs. Host1 http://www.nabble.com/file/p25970251/activemq.txt activemq.txt http://www.nabble.com/file/p25970251/wrapper.txt wrapper.txt Host2 http://www.nabble.com/file/p25970251/activemq.txt activemq.txt http://www.nabble.com/file/p25970251/wrapper.log wrapper.log

Re: Transactions and redelivery

2009-10-19 Thread Geoffrey Arnold
Thanks for the information, Mark! We ended up rolling our own redelivery logic similar to your setup. We have asynchronous listeners which, on recoverable error, create a copy of the message and place it on a separate redelivery queue. The message copy has an additional property which spe

Re: ActiveMQ CPP library Size

2009-10-19 Thread Timothy Bish
On Mon, 2009-10-19 at 16:38 -0700, yesnid wrote: > Tim, > > Can you point me at what we might be doing wrong as far as the build that > causes it to be so large, we are doing a get and then opening the project in > VS2k8 and saying build solution, should we be doing something else? Also why > is

Re: ActiveMQ CPP library Size

2009-10-19 Thread yesnid
Tim, Can you point me at what we might be doing wrong as far as the build that causes it to be so large, we are doing a get and then opening the project in VS2k8 and saying build solution, should we be doing something else? Also why is the linux lib so much larger than the windows version? Tha

Re: ActiveMQ CPP library Size

2009-10-19 Thread Timothy Bish
On Mon, 2009-10-19 at 14:46 -0700, yesnid wrote: > Hello All, > > I am trying to get some of my compatriots to use ActiveMQ but they are > saying that the C++ library is 400+ MB in size when they compile it for > windows, we compiled the linux version and got an approximately 35MB > library. I am

encrypt database password in broker-config.xml

2009-10-19 Thread au.pg
Hi, I want to store encrypted database password in broker-config.xml file? Is there a way that activemq correctly decrypts while connecting to database. Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in-broker-config.xml-tp25966501p25966501.html Se

ActiveMQ CPP library Size

2009-10-19 Thread yesnid
Hello All, I am trying to get some of my compatriots to use ActiveMQ but they are saying that the C++ library is 400+ MB in size when they compile it for windows, we compiled the linux version and got an approximately 35MB library. I am sure especially with the windows one that this can be a much

JDBC Master/Slave

2009-10-19 Thread NabiL
Hi, I try to set up two AMQ 5.3 brokers (deployed on 2 tomcat servers ) to get some redundancy in our solution. The AMQ documentation describes the JDBC Master/slave as below : On startup one master grabs an exclusive lock in the broker database and all other brokers are slaves and pause waitin

Re: ActiveMQ CPP disconnect While Debugging

2009-10-19 Thread Michael Dehmlow
Tried starting my client with: tcp://localhost:61616? wireFormat=openwire&tcpNoDelayEnabled=true&wireFormat.MaxInactivityDurationInitalDelay=999&wireFormat.MaxInactivityDuration=999 And tcp://localhost:61616? wireFormat=openwire&tcpNoDelayEnabled=true&MaxInactivityDurationInitalDelay=

Re: Web-Console5.3 war not found

2009-10-19 Thread NabiL
it's works fine !! Thanks again Dejan Bosanac wrote: > > Seems like you're missing dbcp (http://commons.apache.org/dbcp/) in your > classpath. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.man

Re: Web-Console5.3 war not found

2009-10-19 Thread NabiL
it's works fine !! Dejan Bosanac wrote: > > Seems like you're missing dbcp (http://commons.apache.org/dbcp/) in your > classpath. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyde

Queue messages to Remote Brokers/Subscribers not seen

2009-10-19 Thread elemur
Hi, I have a test ActiveMQ (5.3.0) setup where I have ActiveMQ running through a spring-based configuration within my application. I define a network connector as multicast for my broker, and a transport connector with a tcp connection and a multicast discovery URI. One node sends the messages

blocking request-response with JMS and constant size limit strategy

2009-10-19 Thread bravegag
Hello, I implemented a request-response project that runs on top of ActiveMQ. I used the following code as starting point: http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html The problem here is that my request-response has to be blocking i.e. the producer has to blo

Re: createTopic on the fly specifying constantPendingMessageLimitStrategy

2009-10-19 Thread bravegag
Gary Tully wrote: > > The constantPendingMessageLimitStrategy is only applicable to topics. For > queues, there is no way to have excess messages auto discarded except > through message expiry. > Will a topic work for your use case? > Hi Gary, Many thanks for your reply. Indeed I said queues i

Re: Async error occurred -> ActiveMQ 5.2 and NMS

2009-10-19 Thread magellings
Try the latest trunk. A bug fix was made. Daniel Ellis wrote: > > We have also experienced this issue when using ActiveMQ 1.2 with NMS. > > On the server, the wrapper.log file is full of these errors:- > > INFO | jvm 1| 2009/10/17 13:07:00 | ERROR Service > - As

Getting Error while trying to achieve the Master/Slave config

2009-10-19 Thread forda
Hello ! Currently i am working for a customer to setup a ActiveMQ production alike environment, designed for failover on the client or the server. Our first approach is to use failover on the client and using a shared database building a Master/Slave scenario having a database cluster. I works in

Re: Async error occurred -> ActiveMQ 5.2 and NMS

2009-10-19 Thread Daniel Ellis
We have also experienced this issue when using ActiveMQ 1.2 with NMS. On the server, the wrapper.log file is full of these errors:- INFO | jvm 1| 2009/10/17 13:07:00 | ERROR Service - Async error occurred: javax.jms.JMSException: Unmatched acknowledege: MessageAck {c

Re: java/lang/OutOfMemoryError

2009-10-19 Thread tejeswara
I shall test with disable multicast dicovery. Thanks. On production we are seeing below exception. Is it also related multicast discovery or Inactity monitor? I am also turning off inactivity monitor thread with maxInactivityDuration=0: > The networkConnector is using multicast discovery - see

Re: Possible causes of end-to-end packet loss in Activemq, and TCP protocol

2009-10-19 Thread Dave Stanley
You should dump the traffic using tcpdump or equivalent. Then analyze it with wireshark. That should help you pinpoint the problem further. Regardws /Dave On Thu, Oct 15, 2009 at 3:55 PM, praveen.sharma wrote: > > What are the possible causes of packet loss in activemq even with TCP > protocol.

Re: Web-Console5.3 war not found

2009-10-19 Thread Dejan Bosanac
Seems like you're missing dbcp (http://commons.apache.org/dbcp/) in your classpath. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Oct 19, 2009 at 1:

Re: ActiveMQ 5.2 messages with Time to Live sent straight to DLQ

2009-10-19 Thread Rob Davies
On 19 Oct 2009, at 15:24, MrBunt1 wrote: I have now solved this problem. It was a timing issue. The "errant" spoke did not have the "Automatically adjust clock for daylight saving changes" ticked, whereas the other machines on my network of brokers did. Although all three clocks displ

Re: ActiveMQ 5.2 messages with Time to Live sent straight to DLQ

2009-10-19 Thread MrBunt1
I have now solved this problem. It was a timing issue. The "errant" spoke did not have the "Automatically adjust clock for daylight saving changes" ticked, whereas the other machines on my network of brokers did. Although all three clocks displayed the same time, two were using BST and one was

Re: Web-Console5.3 war not found

2009-10-19 Thread NabiL
Thanks for your help. i used AMQ with standalone mode configured with Mysql DB. It's works fine. But when I use AMQ.war and configure it to use Mysql DB, the application can't start showing this (knowing that i've put mysql-connector.jar to both WEB-INF/lib and $TOMCAT_HOME/lib ): org.springf

Re: Error while connecting via JMX to a Broker located on RHEL 5

2009-10-19 Thread forda
Hi ! >From the jconsole i get connection failed, but from the code i get connection refused. I will be very grateful for help, cause we need to access the JMS functionality in ActiveMQ. Thanks in advance. Regards Daniel Förberg Here is the error message from client: INFO 2009-10-19 13:27:08,

Re: createTopic on the fly specifying constantPendingMessageLimitStrategy

2009-10-19 Thread Gary Tully
The constantPendingMessageLimitStrategy is only applicable to topics. For queues, there is no way to have excess messages auto discarded except through message expiry. Will a topic work for your use case? 2009/10/17 bravegag > > Hello, > > I create queues on the fly meaning they get created as

Re: Slow consumers slow down fast consumer queue requests

2009-10-19 Thread Rob Davies
temporary destinations add additional overhead because to be compliant with the JMS specification, a messaging system needs to validate that the temporary destination exists before sending every message. To avoid slowing delivery of messages to a crawl to a temporary queue, ActiveMQ sends a