Re: ERROR: Detected missing journal files - When upgrading from 5.9 to 5.15.3

2018-03-19 Thread muralimohan
Thank you so much @Tim Bain -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ERROR: Detected missing journal files - When upgrading from 5.9 to 5.15.3

2018-03-16 Thread Tim Bain
Sorry for not reading carefully enough, I see you found Martin's post and I didn't recognize that we were talking about the same thing. Martin described deleting the index files, not the journal files. He referenced deleting three files, which I can't explain, since the index files I'm aware

ERROR: Detected missing journal files - When upgrading from 5.9 to 5.15.3

2018-03-15 Thread muralimohan
to as journals). I do not want to delete those logs, which will mean I delete the persistent messages in the Queue? How can I proceed? Stacktrace: 2018-03-14 13:56:39,716 | WARN | Some journal files are missing: [59183] | org.apache.activemq.store.kahadb.MessageDatabase | main 2018-03-14 13:56:39,718

Re: Why is the index inconsistent with the journal files in KahaDB?

2017-11-08 Thread Tim Bain
To be clear, you're not running the optimizer from that project, only the reader, right? What is the behavior if you delete the index file and start the broker with only the journal files (which will cause the index to be rebuilt)? I'm trying to determine whether 1) the index is invalid, or 2

Re: Re: KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-10-06 Thread Martin Lichtin
The solution/workaround for us was to move away the 3 db.* files and let Kahadb start with only the journal files. It recreated the 'index' files and since then we're ok. On 05.10.2016 14:48, Tim Bain wrote: Martin Lichtin, did you ever resolve what was causing your problem, or how to work

Re: KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-10-05 Thread Tim Bain
5.14.0 we encounter this exception > > at startup: > > > > Caused by: java.io.IOException: Detected missing journal files. [3] > > at > > org.apache.activemq.store.kahadb.MessageDatabase. > recoverIndex(MessageDatabase.java:978)[102:org.apache. > activemq.activemq-

Re: KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-09-02 Thread lichtin
. Martin Lichtin wrote > When trying to upgrade from 5.12.2 to 5.14.0 we encounter this exception > at startup: > > Caused by: java.io.IOException: Detected missing journal files. [3] > at > org.apache.activemq.store.kahadb.MessageDatabase.recoverIndex(MessageData

Re: KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-09-02 Thread lichtin
-- View this message in context: http://activemq.2283324.n4.nabble.com/KahaDb-issue-Detected-missing-journal-files-when-upgrading-from-5-12-2-to-5-14-0-tp4716052p4716099.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-09-01 Thread Martin Herrman
Detected missing journal files) when upgrading from 5.12.2 to 5.14.0 When trying to upgrade from 5.12.2 to 5.14.0 we encounter this exception at startup: Caused by: java.io.IOException: Detected missing journal files. [3] at org.apache.activemq.store.kahadb.MessageDatabase.recoverIndex(MessageD

KahaDb issue (Detected missing journal files) when upgrading from 5.12.2 to 5.14.0

2016-09-01 Thread Martin Lichtin
When trying to upgrade from 5.12.2 to 5.14.0 we encounter this exception at startup: Caused by: java.io.IOException: Detected missing journal files. [3] at org.apache.activemq.store.kahadb.MessageDatabase.recoverIndex(MessageDatabase.java:978)[102:org.apache.activemq.activemq-osgi:5.14.0

Re: Nothing on queues, Journal files not getting cleaned up

2015-09-30 Thread Tim Bain
got KahaDB journal chains and some saying txlog was your issue, and it wasn't clear if the later messages meant "I was mistaken, there's no chain after all" or "we have both chains of journal files and large txlog files", but if you have chains of journal files, you prob

Re: Nothing on queues, Journal files not getting cleaned up

2015-09-30 Thread Tim Bain
). But you're right that all of the above doesn't sound like a solution to your problem, because it sounds like it's your txlog that's your problem, not the KahaDB journal files. Unfortunately I know nothing at all about those files (I've never used transactions with ActiveMQ), but I know others on here have

RE: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread barry.barnett
on queues, Journal files not getting cleaned up I trust you've confirmed that there are no messages pending on topics as well as queues? JMX is the easiest way I know to confirm that if you haven't already done so. Are some but not all journal files being deleted, or none at all? On Sep 28, 2015 8

Re: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread Clebert Suconic
tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain > Sent: Tuesday, September 29, 2015 1:14 AM > To: ActiveMQ Users > Subject: Re: Nothing on queues, Journal files not getting cleaned up > > I trust you've confirmed that there are no messages pending on topics as >

RE: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread barry.barnett
? Regards, Barry -Original Message- From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain Sent: Tuesday, September 29, 2015 1:14 AM To: ActiveMQ Users Subject: Re: Nothing on queues, Journal files not getting cleaned up I trust you've confirmed

RE: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread barry.barnett
, September 29, 2015 10:11 AM To: users@activemq.apache.org Subject: Re: Nothing on queues, Journal files not getting cleaned up Isn't there any option to compact the journals on activemq5? In a journal sometimes you have the add-delete-add-add-delete somehow that you can't can't really clean it unless you

Re: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread Christopher Shannon
There is no option to compact KahaDB. The current solution for the problem of journal files not being cleaned up is to use multi kahadb. Gary has a good post about it here http://blog.garytully.com/2011/11/activemq-multiple-kahadb-instances.html There's a couple open tickets to add compaction

RE: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread barry.barnett
What if the problem isn't with messages being consumed at different times? What if they all are being consumed right away but yet the journal files continue to grow? Regards, Barry -Original Message- From: Christopher Shannon [mailto:christopher.l.shan...@gmail.com] Sent: Tuesday

RE: Nothing on queues, Journal files not getting cleaned up

2015-09-29 Thread barry.barnett
Why would the txlog (transaction log) be constantly growing with no messages on the queues? This is taking up all of our disk space, not the kahadb journal files! Are there any howl log settings we should be using aside from the defaults? Regards, Barry -Original Message- From

Re: Nothing on queues, Journal files not getting cleaned up

2015-09-28 Thread Tim Bain
I trust you've confirmed that there are no messages pending on topics as well as queues? JMX is the easiest way I know to confirm that if you haven't already done so. Are some but not all journal files being deleted, or none at all? On Sep 28, 2015 8:44 AM, <barry.barn...@wellsfargo.com>

Nothing on queues, Journal files not getting cleaned up

2015-09-28 Thread barry.barnett
Hello, How is it that our journal files continue to grow, yet no messages are on the queues? ActiveMQ 5.11.1, Using KahaDB (not levelDB). How can you tell if a kahaDB scheduler is waiting, and in need of clearing? Nothing on the Advisory queues (no network of brokers), nothing on the DLQ

KahaDB Journal files go missing

2013-11-14 Thread barry.barnett
How would a journal file go 'missing'? Our AMQ usage uses the file store or KahaDB. A few months ago there was an incident wherein, for reasons I cannot found the root cause, some KahaDB journal files (*.log) got deleted or are missing. Due to this consumers cannot get the messages because

Re: KahaDB Journal files go missing

2013-11-14 Thread Torsten Mielke
: How would a journal file go 'missing'? Our AMQ usage uses the file store or KahaDB. A few months ago there was an incident wherein, for reasons I cannot found the root cause, some KahaDB journal files (*.log) got deleted or are missing. Due to this consumers cannot get the messages

RE: KahaDB Journal files go missing

2013-11-14 Thread barry.barnett
: KahaDB Journal files go missing Which version of ActiveMQ are you using? I have seen these errors on older versions but not lately. Perhaps upgrading is a solution? Regards, Torsten Mielke tmie...@redhat.com tmielke.blogspot.com On Nov 14, 2013, at 14:19 PM, barry.barn...@wellsfargo.com

Re: KahaDB Journal files go missing

2013-11-14 Thread Christian Posta
, Barry Barnett WMQ Enterprise Services Solutions Wells Fargo Cell: 704-564-5501 -Original Message- From: Torsten Mielke [mailto:tmie...@redhat.com] Sent: Thursday, November 14, 2013 11:43 AM To: users@activemq.apache.org Subject: Re: KahaDB Journal files go missing Which version

Re: Journal files. Memory management and cursors

2009-04-29 Thread Diego Rodríguez Martín
Hi all, I have done some more test and now seems to me that the problem has nothing to do with journal files but with journal files in cursor storage. My previous thoughts were wrong as messages are committed into the database every 5 minutes or as soon as the cursor memory reaches 70

Re: Journal files. Memory management and cursors

2009-04-29 Thread Gary Tully
be really helpful towards producing a fast resolution. 2009/4/29 Diego Rodríguez Martín drodrig...@altiria.com Hi all, I have done some more test and now seems to me that the problem has nothing to do with journal files but with journal files in cursor storage. My previous thoughts were

Re: Journal files

2009-04-22 Thread Diego Rodríguez Martín
made some tests in a windows box to understand how the journal files work. I am defining a Journaled JDBC with postgres for persistence this way. persistenceAdapter journaledJDBC journalLogFiles=5 dataDirectory=${activemq.base}/data dataSource=#postgres-ds

Journal files

2009-04-17 Thread Diego Rodríguez Martín
Hi all, I am planning to use ActiveMQ 5.2.0 in a project and I have made some tests in a windows box to understand how the journal files work. I am defining a Journaled JDBC with postgres for persistence this way. persistenceAdapter journaledJDBC journalLogFiles=5

How can I read the journal files?

2007-12-04 Thread youhaodeyi
The log files will be stored in journal directory. Does ActiveMQ give us any method or tool to read these files? Thanks. -- View this message in context: http://www.nabble.com/How-can-I-read-the-journal-files--tf4941666s2354.html#a14146281 Sent from the ActiveMQ - User mailing list archive

Re: How can I read the journal files?

2007-12-04 Thread Rob Davies
this message in context: http://www.nabble.com/How-can-I-read- the-journal-files--tf4941666s2354.html#a14146281 Sent from the ActiveMQ - User mailing list archive at Nabble.com.