RE: I upgraded AMQ from 5.2.0 to 5.4.0 and many exceptions appear now

2011-03-29 Thread Michal Singer
Hi, due to the problems I deteceted I tried to upgrade but every build causes problems. I tried to upgrade to 5.4.2 and all my application gets stuck. I see in the activemq log, this message appears over and over: INFO [org.apache.activemq.xbean.XBeanBrokerFactory$1] Refreshing org.apache.active

Having trouble using Administration Console with Authentication

2011-03-29 Thread TheFarmer
I have the console running in its own Jetty server. I downloaded this a week ago so it was the latest version then. It all works fine until I turn on authentication in the ActiveMQ server. Then I can list queues but browsing them fails with userName/password error. (My client works fine with au

Active MQ admin + Moving All Messages in a queue to another queue at once

2011-03-29 Thread nnprasad
Currently we have an option for moving A message to another queue / topic. Is there any option to move ALL messages in a queue to another queue? How about having a new page directed from queues.jsp to Move all messages in a queue to another queue Input: From Queue, To Queue, No.of messages to mov

Re: Consumers threads get blocked

2011-03-29 Thread nnprasad
Hi, Yes "After awhile" this is happening, but my scenario is little different, Please support my links so that every one will get attention on this, I crated a BLOCKER too, but no hits. http://activemq.2283324.n4.nabble.com/ActiveMQ-5-2-0-transport-stops-responding-td3385271.html#a3385677 htt

RE: Failover, how does it work?

2011-03-29 Thread Nakarikanti, Nageswara
No. When Ever Slave kicks in...that becomes Master. The Old master becomes slave and will be waiting to get the lock to become master whenever 'the current' master goes down. Thank You, Nag. From: Oscar Pernas [mailto:os...@pernas.es] Sent: Tuesday, March 29,

activemq does'nt start

2011-03-29 Thread hakimDZ
Hi, Iam new in activemq, I would install it with MySql as Data Persistence I use linux RHEL5, when i add these lines in my activemq.xml instead ---

RE: how do i stop session Inactivity monitoring/enforcing?

2011-03-29 Thread Nik Kolev
Thanks for the prompt reply. I'd like to make sure I understand my options: Option 1: Just change activemq.xml broker config (please check how I am specifying the parameter): ...and regardless what the clients say (nothing or something specific) the 0 (no inactivity monitoring) wins? Opt

Re: how do i stop session Inactivity monitoring/enforcing?

2011-03-29 Thread Gary Tully
the value used is the min of the client and broker values. When disabling it, using 0, the 0 always wins. When increasing it past the default 30, both ends need to agree. There is an option to disable the Inactivity monitor filter altogether, such that there is no negotiation. On the server, use:

how do i stop session Inactivity monitoring/enforcing?

2011-03-29 Thread Nik Kolev
Environment & versions: Activemq: 5.3.2 OS: RHEL5 (Linux xxx.yyy.zzz 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux) Java (both on the apps- and activemq- side): java version "1.6.0_13" Java(TM) SE Runtime Environment (build

Re: Clients can get stuck in a reconnect loop with master-slave brokers

2011-03-29 Thread Gary Tully
added some sample code to https://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+embed+a+Broker+inside+a+Connection On 29 March 2011 15:08, rasmusback wrote: > Hi, > > Thanks, that does indeed fix the problem. I misunderstood your first > reply, since I assumed that >    BrokerService.addC

Re: Clients can get stuck in a reconnect loop with master-slave brokers

2011-03-29 Thread rasmusback
Hi, Thanks, that does indeed fix the problem. I misunderstood your first reply, since I assumed that BrokerService.addConnector(TransportConnector connector); would work similarly to BrokerService.addConnector(String bindAddress); >From the source code I can see that addConnector(String b

Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Oli
Hi, thanks for the help. I do think that "ALL" is a valid option. I did find out what was the problem with my setup. The issue was that I did not have the commons-logging jar in my project. Once I included that as a library, the logging worked fine. It was quite frustrating, since no error messa

Re: I upgraded AMQ from 5.2.0 to 5.4.0 and many exceptions appear now

2011-03-29 Thread Gary Tully
This is https://issues.apache.org/jira/browse/AMQ-2902 btw, it is always a good idea to google the exception string or some variant of it: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=Transport+failed%3A+org.apache.activemq.transport.TransportDisposedIOException%3A+Peer On 29 March 20

RE: AMQ fails to process messages after a faulty restart

2011-03-29 Thread Michal Singer
But actually, after one message like that many of the messages appear invalid so there is no recovery from that, and as a result only restarting the service will solve this. This seems like a real problem, which needs to be solved. -Original Message- From: Gary Tully [mailto:gary.tu...@g

Re: AMQ fails to process messages after a faulty restart

2011-03-29 Thread Gary Tully
that exception is expected in some circumstances. The broker comes alive again, the client using the failover transport resends an ack, as it still has state. The broker has not yet dispatched any messages so it cannot ack the message. There have been improvements in this area in 5.3, especially w

I upgraded AMQ from 5.2.0 to 5.4.0 and many exceptions appear now

2011-03-29 Thread Michal Singer
Hi, I upgraded the AMQ to 5.4.0 from 5.2.0, i changed the activemq.xml to be alphabetic as i understood i should, I get these exceptions now all the time, on INFO level, which i never got before: taskExecutorClient-1 [4105026f:12f00165e54:-7f49] 2011-03-29 01:02:17,713 INFO [org.apache.acti

AMQ fails to process messages after a faulty restart

2011-03-29 Thread Michal Singer
Hi, i am using AMQ 5.2.0 on a multi process application to communicate between processes. I am configuring AMQ using Spring version 2.5.6 I am NOT using persistent AMQ. Sometimes after a faulty restart such as: kill java, electric power down - after raise, there are errors: ActiveMQ Transport:

Re: Failover, how does it work?

2011-03-29 Thread Oscar Pernas
To send email or notification we are thinking in use a monitorization tool like nagios or something more light... About the manual restart, i think that you could take a look about linux-heartbeat v2, you could configure services to monitorize and make petitions. One more question, If we have a

AdvisoryMessage ProducerInfo and Wildcards

2011-03-29 Thread Eric-AWL
Hi Imagine one broker on which several client processes are connected. First one creates a producer on queue "myQueue.1", A second one creates a producer on queue "myQueue.2". An administrative process is connected on this broker too. Is it possible, in this administrative process, to use Adviso

Consumers threads get blocked

2011-03-29 Thread prof
I have a standalone java application which has a punch of producers threads which share one connection to vm embedded broker, and a punch of consumer threads which also share the one connection. i am using persistent messages in queue, but after a while the consumer threads get blocked even the qu

Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Gary Tully
> log4j: Handling log4j.additivity.org.apache.activemq=[null] is a little odd. Don't think ALL is a valid level, use TRACE instead, see: http://logging.apache.org/log4j/1.2/manual.html On 29 March 2011 11:32, Oli wrote: > Hi. Thanks for the advice, but it still is not working. > > My activemq.lo

Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Oli
Hi. Thanks for the advice, but it still is not working. My activemq.log file gets created, but remains empty throughout the runtime of the application. Here is the output I get when I run the project with -Dlog4j.debug in the jvm start command: log4j: Trying to find [log4j.xml] using context cla