activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: jdbcJournal with oracle problem
Date Thu, 31 Aug 2006 02:35:04 GMT
Hi,

Could you post the complete config? Is the oracle-ds bean a inside the 
broker bean? It should be outside.

javaxmlsoapdev wrote:
> 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
>   


Mime
View raw message