activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anish pathadan" <anishpatha...@gmail.com>
Subject Help! Exception while stopping geronimo using Journaled JDBC persistence
Date Thu, 11 Oct 2007 11:05:21 GMT
Hi,
     I am using Journaled JDBC for activemq persistence . I am using
activemq 4.1 within geronimo 2.0.1 . I used VM connector for sending
messages and I have externalized the activemq.xml in geronimo. I am getting
the following exception when trying to stop the geronimo.It work fine if I
use just JDBC persistence without journal.

[] received stop signal
XBM02.D : [0] org.apache.derby.iapi.services.stream.InfoStreams
ERROR XBM02: XBM02.D : [0] org.apache.derby.iapi.services.stream.InfoStreams
        at org.apache.derby.iapi.error.StandardException.newException(Unknown
So
urce)
        at
org.apache.derby.iapi.services.monitor.Monitor.missingImplementation(
Unknown Source)
        at org.apache.derby.impl.services.monitor.TopService.bootModule
(Unknown
Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.startModule
(Unknow
n Source)
        at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule
(Unkn
own Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState
(Unkno
wn Source)
        at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown
Sou
rce)
        at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown
S
ource)
        at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDriver.<init>(Unknown Source)
        at org.apache.derby.jdbc.EmbeddedDataSource.findDriver(Unknown
Source)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown
Source
)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown
Source
)
        at org.apache.activemq.store.jdbc.TransactionContext.getConnection
(Trans
actionContext.java:55)
        at org.apache.activemq.store.jdbc.TransactionContext.begin
(TransactionCo
ntext.java:149)
        at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransactio
n(JDBCPersistenceAdapter.java:358)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTran
saction(JournalPersistenceAdapter.java:189)
        at org.apache.activemq.util.TransactionTemplate.run
(TransactionTemplate.
java:41)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:247)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:221)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(Jo
urnalPersistenceAdapter.java:356)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run
(FutureT
ask.java:176)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)

Got Exception in TransactionContext
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getDriver(DriverManager.java:243)
        at org.apache.derby.jdbc.EmbeddedDataSource.findDriver(Unknown
Source)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown
Source
)
        at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown
Source
)
        at org.apache.activemq.store.jdbc.TransactionContext.getConnection
(Trans
actionContext.java:55)
        at org.apache.activemq.store.jdbc.TransactionContext.begin
(TransactionCo
ntext.java:149)
        at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransactio
n(JDBCPersistenceAdapter.java:358)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTran
saction(JournalPersistenceAdapter.java:189)
        at org.apache.activemq.util.TransactionTemplate.run
(TransactionTemplate.
java:41)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:247)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:221)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(Jo
urnalPersistenceAdapter.java:356)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run
(FutureT
ask.java:176)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
16:25:58,546 ERROR [JournalPersistenceAdapter] Failed to checkpoint a
message st
ore: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lan
g.NoClassDefFoundError: org/apache/activemq/util/IOExceptionSupport
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lang.NoC
lassDefFoundError: org/apache/activemq/util/IOExceptionSupport
        at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(F
utureTask.java:299)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get
(FutureT
ask.java:118)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpo
int(JournalPersistenceAdapter.java:386)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate
(JournalPersistenceAdapter.java:129)
        at org.apache.activemq.thread.PooledTaskRunner.runTask
(PooledTaskRunner.
java:117)
        at org.apache.activemq.thread.PooledTaskRunner.access$100
(PooledTaskRunn
er.java:26)
        at org.apache.activemq.thread.PooledTaskRunner$1.run(
PooledTaskRunner.ja
va:44)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError:
org/apache/activemq/util/IOExceptionS
upport
        at org.apache.activemq.store.jdbc.TransactionContext.getConnection
(Trans
actionContext.java:64)
        at org.apache.activemq.store.jdbc.TransactionContext.begin
(TransactionCo
ntext.java:149)
        at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransactio
n(JDBCPersistenceAdapter.java:358)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTran
saction(JournalPersistenceAdapter.java:189)
        at org.apache.activemq.util.TransactionTemplate.run
(TransactionTemplate.
java:41)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:247)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint
(Jour
nalMessageStore.java:221)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(Jo
urnalPersistenceAdapter.java:356)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run
(FutureT
ask.java:176)
        ... 3 more
Got exception
java.sql.SQLException: 08003 :
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException
(Unknow
n Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown
Sour
ce)
        at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack
(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown
Source)
        at org.apache.activemq.store.jdbc.DefaultDatabaseLocker.stop
(DefaultData
baseLocker.java:79)
        at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.stop
(JDBCPersis
tenceAdapter.java:202)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter.stop
(Jour
nalPersistenceAdapter.java:254)
        at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java
:42)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java
:443)

        at org.apache.activemq.broker.BrokerService.containerShutdown
(BrokerServ
ice.java:1391)
        at org.apache.activemq.broker.BrokerService$3.run(BrokerService.java
:136
8)
Exception in thread "ActiveMQ ShutdownHook" java.lang.NoClassDefFoundError:
org/
apache/activemq/broker/BrokerService$2$1
        at org.apache.activemq.broker.BrokerService$2.stop(
BrokerService.java:12
16)
        at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java
:42)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java
:446)

        at org.apache.activemq.broker.BrokerService.containerShutdown
(BrokerServ
ice.java:1391)
        at org.apache.activemq.broker.BrokerService$3.run(BrokerService.java
:136
8)



Any idea why I am getting this exception?

-- 
Best Regards,
Anish Pathadan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message