Hi, 

We use ActiveMQ 5.5.1 in our web-based product that is deployed into Tomcat.
A couple of our clients get the following AMQ exceptions on Windows servers
from time to time: 

2012-03-28 00:08:25,508 INFO Stopping the broker due to IO exception
[org.apache.activemq.store.kahadb.KahaDBStore] - Stopped KahaDB 

2012-03-28 00:08:25,565 INFO Stopping the broker due to IO exception
[org.apache.activemq.broker.BrokerService] - ActiveMQ JMS Message Broker
(amqserver, ID:OHCINCEAS08-56068-1332761690135-0:1) stopped 

2012-03-28 00:08:25,582 ERROR Stopping the broker due to IO exception 
[org.apache.activemq.store.kahadb.MessageDatabase] - KahaDB failed to store
to Journal 

java.io.IOException: The process cannot access the file because another
process has locked a portion of the file 
  at java.io.RandomAccessFile.writeBytes(Native Method) 
  at java.io.RandomAccessFile.write(Unknown Source) 
  at
org.apache.kahadb.journal.DataFileAppender.processQueue(DataFileAppender.java:374)
 
  at
org.apache.kahadb.journal.DataFileAppender$2.run(DataFileAppender.java:203) 

Does anyone know what could cause this to happen? We did some research and
somebody mentioned Virus scan or backup process could be the potential
causes. But I am not sure why those processes could lock the KahaDB files. 

Thanks. 

Sean 


--
View this message in context: 
http://activemq.2283324.n4.nabble.com/AMQ-5-5-KahaDB-failed-to-store-to-Journal-java-io-IOException-The-process-cannot-access-the-file-bece-tp4529699p4529699.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to