You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Sylvester <sy...@gmail.com> on 2009/02/19 07:55:26 UTC

Problem with JMS appender, topic filling up

Hi,
I am using the JMS appender. I can send and receive log statements. But, 
I've run into a couple of problems..

1. When I start my consumer I get:

WARNING: Failed to start jmx connector: Cannot bind to URL 
[rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: 
jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]

2. The jConsole shows  two consumers, when there really is only one.

3 Even after the consumer reads the message from the topic, the message 
still stays there. Eventually 100% of the memory is consumed, and the 
whole thing just come to a halt.

4. The Dequeue count on jconsole is zero


This is just a trial where the producer continuously writes messages and 
the consumer just reads them off until all the memory is used.
What am I doing wrong here?

Thanks,
Sylvester

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org