activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaxmlsoapdev <vika...@yahoo.com>
Subject jdbcJournal with oracle problem
Date Thu, 31 Aug 2006 01:57:53 GMT

I have this configuration for JDBC journal. My broker is running from within
the Spring application. 

 <persistenceAdapter>
      
      <journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data"
dataSource="#oracle-ds"/>
        
    </persistenceAdapter> 
    <bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
		<property
name="driverClassName"><value>oracle.jdbc.driver.OracleDriver</value></property>
	  	<property
name="url"><value>jdbc:oracle:thin:@localhost:1521:XE</value></property>
  		<property name="username"><value>mydb</value></property>
	  	<property name="password"><value>admin</value></property> 
	</bean>

I get following exception

Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'oracle-ds' is defined
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(Def
-- 
View this message in context: http://www.nabble.com/jdbcJournal-with-oracle-problem-tf2193972.html#a6071789
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message