activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tide08 <sachin2...@yahoo.com>
Subject activemq with oracle persistence - still looks for derby?
Date Fri, 17 Jul 2009 23:53:03 GMT

I have activemq configured to run with spring in embedded mode. I also have
also added journaling and oracle persistence but activemq still keeps on
looking for derby somehow? 

<amq:broker id="jmsBroker" useJmx="false" persistent="true"
dataDirectory="${scheduling.jms.datadirectory}">
        <amq:persistenceAdapter>
            <amq:journaledJDBC journalLogFiles="5"
dataDirectory="${scheduling.jms.datadirectory}"
dataSource="#jmsUtilDataSource" />
        </amq:persistenceAdapter>
        
        <amq:transportConnectors>
            <amq:transportConnector uri="tcp://localhost:0" />
        </amq:transportConnectors>
    </amq:broker>




Derby seems to be optional dependency for 5.2.0 so why am I seeing below
error. Can someone please help?

Cannot create inner bean '(inner bean)' of type
[org.apache.activemq.store.PersistenceAdapterFactoryBean] while setting bean
property 'persistenceAdapter'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)': FactoryBean threw exception on object creation;
nested exception is java.lang.NoClassDefFoundError:
org/apache/derby/jdbc/EmbeddedDataSource
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)': FactoryBean threw exception on object creation;
nested exception is java.lang.NoClassDefFoundError:
org/apache/derby/jdbc/EmbeddedDataSource
Caused by:
java.lang.NoClassDefFoundError: org/apache/derby/jdbc/EmbeddedDataSource
        at
org.apache.activemq.store.jdbc.DataSourceSupport.createDataSource(DataSourceSupport.java:86)
        at
org.apache.activemq.store.jdbc.DataSourceSupport.getDataSource(DataSourceSupport.java:67)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapterFactory.createPersistenceAdapter(JournalPersistenceAdapterFactory.java:58)
        at
org.apache.activemq.store.PersistenceAdapterFactoryBean.getObject(PersistenceAdapterFactoryBean.java:35)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(AbstractBeanFactory.java:1246)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:221)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:339)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:
-- 
View this message in context: http://www.nabble.com/activemq-with-oracle-persistence---still-looks-for-derby--tp24543281p24543281.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message