You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by rahul_k123 <vi...@gmail.com> on 2009/02/19 20:53:53 UTC
led to mark the Journal:
org.apache.activeio.journal.InvalidRecordLocationException
The following is the exception in our production logs.
Feb 17, 2009 10:03:01 PM
org.apache.activemq.store.journal.JournalPersistenceAdapter doCheckpoint
SEVERE: Failed to mark the Journal:
org.apache.activeio.journal.InvalidRecordLocationException: The location is
less than the last mark.
org.apache.activeio.journal.InvalidRecordLocationException: The location is
less than the last mark.
at
org.apache.activeio.journal.active.JournalImpl.setMark(JournalImpl.java:340)
at
org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:414)
at
org.apache.activemq.store.journal.JournalPersistenceAdapter$1.iterate(JournalPersistenceAdapter.java:119)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
This is my config
<broker xmlns="http://activemq.apache.org/schema/core"
useJmx="false" brokerName="COLLAGE">
<persistenceAdapter>
<journaledJDBC journalLogFiles="5"
dataDirectory="/var/share/activemq/data"
dataSource="#directory.dataSource" />
</persistenceAdapter>
<transportConnectors>
<transportConnector uri="tcp://localhost:62001?jms.prefetchPolicy.all=1"
/>
</transportConnectors>
</broker>
<bean id="directory.dataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">
<value>${directory.jndi.datasource}</value>
</property>
</bean>
I have mq server on one box and multiple consumers and producers on diff
boxes. We have 2 queues configured on this box.
This exception is happening like 20 times in a day not often and most of the
messages are being successfull.
But i'm worried whether it might be a problem going further.
Any help is appreciated
--
View this message in context: http://www.nabble.com/led-to-mark-the-Journal%3A-org.apache.activeio.journal.InvalidRecordLocationException-tp22108427p22108427.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: led to mark the Journal:
org.apache.activeio.journal.InvalidRecordLocationException
Posted by mkeenan <ke...@p2sol.com>.
rahul_k123 wrote:
>
> The following is the exception in our production logs.
>
> Feb 17, 2009 10:03:01 PM
> org.apache.activemq.store.journal.JournalPersistenceAdapter doCheckpoint
> SEVERE: Failed to mark the Journal:
> org.apache.activeio.journal.InvalidRecordLocationException: The location
> is less than the last mark.
> org.apache.activeio.journal.InvalidRecordLocationException: The location
> is less than the last mark.
> at
> org.apache.activeio.journal.active.JournalImpl.setMark(JournalImpl.java:340)
>
> I have mq server on one box and multiple consumers and producers on diff
> boxes. We have 2 queues configured on this box.
>
> This exception is happening like 20 times in a day not often and most of
> the messages are being successfull.
>
> But i'm worried whether it might be a problem going further.
>
> Any help is appreciated
>
Background:
We are using ActiveMQ 5.2 on Ubuntu Server 8.04, all of the
producers/consumers are .NET using the ActiveMQ C# client and Spring.NET
messaging.
Unfortunately I don't have any answers for you, but I did want to mention we
also see this regularly in the logs and it does not seem to be having any
negative impact. We can't afford to lose a single message so we have built
in several layers of external checks to verify that every message put on a
queue is eventually processed.
I find the error message disconcerting but AFAIK we can ignore it as it does
not cause lost messages. All messages are persistent/transactional, so
maybe this problem is being auto-corrected behind the scenes for us.
--
View this message in context: http://www.nabble.com/led-to-mark-the-Journal%3A-org.apache.activeio.journal.InvalidRecordLocationException-tp22108427p24098450.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.