Re: Many TCP consumer threads are being started up but no messages getting to queue

2009-10-16 Thread Mike Nooney
Hi, great, thanks, that helped. When I removed the jms appender from the root logger in log4j.props all worked fine. However I need to use the jms appender on the root logger as the webapp was developed by a 3rd party and quite a lot is logged using the root logger. I tried using log4j.additivi

Re: Expired message - does it work?

2009-10-16 Thread Dan Tran
scratch that, i need jmsTemplate.setExplicitQosEnabled( true ); as well sorry for the noise. -D Dan Tran wrote: > > > I would like to bring discussion back where I cannot get message in my > queue to expire. > > I am using JmsTemplate producer to send messages to the queue with no > consu

Re: Expired message - does it work?

2009-10-16 Thread Dan Tran
I would like to bring discussion back where I cannot get message in my queue to expire. I am using JmsTemplate producer to send messages to the queue with no consumer ( intended), here is the snippet @Resource private JmsTemplate jmsTemplate; @PostConstruct public void aft

Re: java/lang/OutOfMemoryError

2009-10-16 Thread tejeswara
Gary, In my config file I have multicast in both these entries. Which one you think possibly causing this memory leak?. We plan to have failover broker so we may need multicast discovery?. Gary Tully wrote: > > the config looks ok, just one thought, do you ne

Re: Transactions and redelivery

2009-10-16 Thread magellings
Yes. The way we are doing it is adding a bit of metadata into the message to keep a redelivery count. This is added only when we want to do a redelivery. Our framework sits on top of the NMS ActiveMQ provider (.NET). It parses the metadata from the message. This redelivery logic is abstracted

Web-Console5.3 war not found

2009-10-16 Thread NabiL
Hi all, I use tomcat 6;x on Linux server. I want to run AMQ under Tomcat. 1- Where can i download web-console 5.3.war version ? 2- Wich mode is recommended (standalone or deployed in tomcat) ? Thanks in advance. -- View this message in context: http://www.nabble.com/Web-Console5.3-war-not-f

Re: Transactions and redelivery

2009-10-16 Thread Geoffrey Arnold
Hey Mark, We ended up opting to put the message back on the end of the queue instead of rolling back, but this leads to repeated reprocessing of the message. My guess is that you have solved this with metadata: Our framework is sophisticated enough to manage redeliveries in this way by ad

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

2009-10-16 Thread forda
Hi Gary ! Thank you. Yeah was also wondering if it could be blocked by a firewall. Yes i have set up the these in the wrapper.conf, which is used by the Java Service Wrapper to startup ActiveMq it does not to be set up twice or !? Ok seems interesting regarding 5.3, we are actually going to upg

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

2009-10-16 Thread forda
Hi Dejan ! I only get connection failed, so i assume that something is wrong with the configuration on the server. But i could'nt find any, i tried many times. I think it's strange. Regarding telnet i am running the test on windows, i get the same error using the jconsole creating a remote connec

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

2009-10-16 Thread Gary Tully
Just re JMX, on Linux, ensure the jmxremote port property is specified in the start script and that requests are not being blocked by a firewall: SUNJMX="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" You may a

Failover and Faulttolerance using the MasterSlave approach

2009-10-16 Thread forda
Hi ! Working for a customer using ActiveMQ, soon we are going in to production. I am responsible to come up with a smart solution, fullfilling the requirment of having reliable configuration. We are using Oracle as the persistence/Message store. It's a Oracle cluster. What is the best way to ac

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

2009-10-16 Thread Dejan Bosanac
Hi Daniel, what exception are you getting? Can you telnet to 1099 port on your host? 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 Fri, Oct 16, 2009 at

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

2009-10-16 Thread forda
Hi ! >From a UnitTest accessing a Broker via Spring and a BrokerviewBean in order to manage the setup and cleanup functions. For that BrokerviewBean is used. It works fine at localhost as well as connecting a remote Broker in a windows network, but while trying to the same thing in Linux network

Re: Strategies for purging internal consumer queue

2009-10-16 Thread Geoffrey Arnold
Thanks Gary. Our Cucumber tests are really integration tests, so it would require a restart of the VM running the embedded broker. Is there anyway to disable the internal queue? On Oct 16, 2009, at 6:28 AM, Gary Tully wrote: I guess it is typical to use a new session per test unless it is th

Re: Strategies for purging internal consumer queue

2009-10-16 Thread Gary Tully
I guess it is typical to use a new session per test unless it is the session behavior that is under test? 2009/10/15 Geoffrey Arnold > Hi All, > > We are successfully using JMX to purge our queues in between our > Cucumber-based test scenarios, however this does not clear the session's > interna

Re: How to configure failover for jmsBridgeConnector

2009-10-16 Thread Gary Tully
note that the failover transport of part of the activemq client, it will not work with OpenJMS. There is currently no facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge. Could you open a jira[1] enhancement, describing your use case, to track this. It is something we