activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peak0924 <xtf1...@sina.com>
Subject I have a problem with activemq persistence
Date Thu, 17 Sep 2009 02:05:03 GMT

This is my configure for activemq:
<amq:persistenceAdapter>
       <amq:journaledJDBC journalLogFiles="5" dataDirectory="../data"
dataSource="#oracle-ds"/>
</amq:persistenceAdapter>
<bean id="oracle-ds" class="com.mchange.v2.c3p0.ComboPooledDataSource"
destroy-method="close">
    <property name="driverClass" value="oracle.jdbc.driver.OracleDriver"/>
    <property name="jdbcUrl"
value="jdbc:oracle:thin:@192.1.1.230:1521:activemq"/>
    <property name="user" value="activemq"/>
    <property name="password" value="activemq"/>
    <property name="minPoolSize" value="5"/>
    <property name="maxPoolSize" value="10"/>
    <property name="acquireIncrement" value="3"/>
</bean>

When my system have run for some days;
I have a error like this:
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)
-- 
View this message in context: http://www.nabble.com/I-have-a-problem-with-activemq-persistence-tp25483997p25483997.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message