Re: KahaDB and backups

2011-06-01 Thread Steve Smith
On 1 June 2011 19:50, Gary Tully wrote: > yes, a restored backup would be recoverable. > > In creating a backup, there may be an issue with the lock file, or > with an inuse journal file. The lock file is not important but you > would want the latest journal files. > > Linux will allow you to free

How to make error messages more useful?

2011-06-01 Thread Brendan Long
I'm working on a Camel route and I keep having error messages that look like this: TransactionErrorHandlerWARN Transaction rollback (0x1b78efd8) for ExchangeId: ID:hostname-49931-1306960558824-0:1:1:1:30 due exception: Exception occurred during execution on the exchange: ... Is there any

Re: Persistence messages and StoreUsage Memory

2011-06-01 Thread Juan Nin
Just as a suggestion, could be nice idea to better explain on the online documentation about all these memory seetings, what each ones means, and the typical things that are usually asked on this list about them. The "ActiveMQ in Action" book includes some slight things that are not mentioned on t

Re: Apache.NMS.ActiveMQ.MessageConsumer bug

2011-06-01 Thread Timothy Bish
On Wed, 2011-06-01 at 08:59 -0700, rasitha wrote: > Hi, > > Related to > http://activemq.2283324.n4.nabble.com/Dead-Letter-Queue-td2356685.html this > post I started looking into the differences between java and .net versions > of the message consumer and I think there is an issue in the NMS ver

Re: Patch to disable all Queues

2011-06-01 Thread Jeremy Levy
Gary- Right, exclusive consumer won't work as I still want to have multiple consumers. I don't have a requirement to start these consumers after the container is started, you would have to change the system property and redeploy your app or restart your container. I'm not that familiar with usin

RE: Persistence messages and StoreUsage Memory

2011-06-01 Thread Suneel Papineni
Hi Gary, Thanks for your reply and I just sorted in the same way as you told temporarily, but I am having couple of doubts. If I keep limit="0", I think khahadb logs goes on increasing and if Disk space is 40gb, after this Producer is blocked to send messages right. In order to stop this, is t

Apache.NMS.ActiveMQ.MessageConsumer bug

2011-06-01 Thread rasitha
Hi, Related to http://activemq.2283324.n4.nabble.com/Dead-Letter-Queue-td2356685.html this post I started looking into the differences between java and .net versions of the message consumer and I think there is an issue in the NMS version. In the Java version, if an exception is thrown in the o

Re: Patch to disable all Queues

2011-06-01 Thread Gary Tully
interesting, I guess the "exclusive consumer" feature won't cut it as you are limited to a single consumer. How do those consumers eventually get activated, is a restart of the container without the property? Would it make sense to have the property settable via jmx, so an mbean on the resource a

Re: ActiveMQ integration with WebSphere MQ

2011-06-01 Thread andypiper
Thanks for the clarification, Gary. So in that case my only other advice to Peter would be to ask his client to ensure they have configured an appropriate level of security on the WMQ side. *goes off to think about trying all of this out* - Andy Piper IBM WebSphere Messaging Community Lead h

Re: Patch to disable all Queues

2011-06-01 Thread Jeremy Levy
Slightly updated patch, had a typo. On Wed, Jun 1, 2011 at 9:51 AM, Jeremy Levy wrote: > We currently deploy our ActiveMQ enabled Message Driven Beans along with > our larger application inside of an EAR file. This ear file is then > deployed across multiple application servers. However we onl

Patch to disable all Queues

2011-06-01 Thread Jeremy Levy
We currently deploy our ActiveMQ enabled Message Driven Beans along with our larger application inside of an EAR file. This ear file is then deployed across multiple application servers. However we only wanted consumers to be active on certain dedicated servers. I wasn't able to find a solution

Re: Persistence messages and StoreUsage Memory

2011-06-01 Thread Gary Tully
did you get sorted? you need to remove the store limit, replace: with the following, to be limited by available disk space: On 26 May 2011 11:50, Suneel Papineni wrote: > Hi, > > > > I am using Network of brokers and using ActiveMQ5.5.0 and > ActiveMQ-CPP3.4.0 client app

Re: Transaction not started XA problems

2011-06-01 Thread Gary Tully
Enable trace level logging for ActiveMQ org.apache.activemq.transaction.XATransaction to see when the rollback is occurring. It seems that it is occurring before the TM attempts it, possibly as a result of returning to a pool, which would point to a bug or misconfiguration. I suspect the 10 thread

Transaction not started XA problems

2011-06-01 Thread James Black
Hello, The situation is we want to use XA transactions for ActiveMQ and Hibernate (Sql Server 2008). We are using: Spring 3.0.5 Hibernate 3.6.2 ActiveMQ 5.5.0 Atomikos 3.7 We are seeing the following errors getting generated in the log file related to the transaction has not been started. Thes

Re: ActiveMQ integration with WebSphere MQ

2011-06-01 Thread Gary Tully
ActiveMQ will deal with the local "buffering", the bridge is a jms consumer/producer or producer/consumer and in the case of erroring out of client connections (SVRCONN), it will reconnect and resume. Any pending messages will remain on the local ActiveMQ broker. On 1 June 2011 10:42, andypiper

Re: KahaDB and backups

2011-06-01 Thread Gary Tully
yes, a restored backup would be recoverable. In creating a backup, there may be an issue with the lock file, or with an inuse journal file. The lock file is not important but you would want the latest journal files. Linux will allow you to freeze a filesystem, I guess other os's have similar supp

RE: ActiveMQ integration with WebSphere MQ

2011-06-01 Thread andypiper
Simply because I don't know of another messaging server that will connect to a WMQ queue manager over sender/receiver channels, and if you use client connections (SVRCONN) you'll have no local queueing and have to handle connection broken error conditions in your app. Again, I may be misunderstand

RE: ActiveMQ integration with WebSphere MQ

2011-06-01 Thread peterjca
One last question to consolidate my understanding before I head off to the WMQ forums. Andy, you say: "OK so in that case I can't see how you can get away without having a WMQ Queue Manager (messaging server) right next to your app and doing server<->server comms to theirs. I'm willing to be prov

how to realize quality of service in activemq

2011-06-01 Thread ltomuno
when the system is busy, to ensure the core system is available

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread serious
@Christian : thanks for your answer; this is indeed the current implementation, but the subscribers need to be known in advance, so a new one can't be used at the last minute to carry out the tasks. I guess this scenario is not an expected use-case for a queue because this is more a data-storing i

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread Gary Tully
Silence typically means folks are busy! Have a look at http://activemq.apache.org/retroactive-consumer.html and http://activemq.apache.org/subscription-recovery-policy.html On 1 June 2011 09:15, serious wrote: > I guess this silence means : "No, there is no way to do that with ActiveMQ" > :) > >

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread Christian Schneider
If you setup a durable subscriber for the logger then all the messages will pile up there. If you start the logger once a day then it will receive all the events that piled up. So this should implement what you need. Christian Am 31.05.2011 11:33, schrieb serious: @Gary Tully and Marcelo Jaba

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread serious
I guess this silence means : "No, there is no way to do that with ActiveMQ" :) So, do you know any other tool that could fit the above needs, without having to implement a new one from scratch ? Thanks in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Keeping-th