activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Li HD <james.li...@gmail.com>
Subject Re: INFO: Journal is locked... waiting 10 seconds for the journal to be unlocked.
Date Wed, 11 Nov 2009 07:51:21 GMT



rahul_k123 wrote:
> 
> 
> INFO: Journal is locked... waiting 10 seconds for the journal to be
> unlocked.
> Feb 19, 2009 11:21:58 AM
> org.apache.activemq.store.journal.JournalPersistenceAdapterFactory
> createJournal
> 
> 
> This is exception i am seeing continuously in my logs and queue is not
> functional any more.
> 
> 
> I tried restarting our server, but doesn't seem to help, even after
> restart its causing the same problem and causing exceptions when tried to
> post to the queue
> 
> 
> 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> 
> 
> 


Hi bro, look like we are having the same problem with the journal log file.
in my case, we found the journal log file increased to 2GB ( normally, it
should be no bigger than 1k ). While the broker trying to read the message
from the log file, it will get 'blocked'.

I have been spend 1 week to find out the root cause of this problem, but
have not had any result yet.
I would be really appreciate if you have anything to share at this point.

James
-- 
View this message in context: http://old.nabble.com/INFO%3A-Journal-is-locked...-waiting-10-seconds-for-the-journal-to-be-unlocked.-tp22108507p26297310.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message