I have a similar setup, but I get this warning when starting up activemq.

WARN  JDBCPersistenceAdapter         - Database driver NOT recognized:
[apache_derby_network_client_jdbc_driver].  Will
use default JDBC implementation.

I've read that you're supposed to explicitly specify the adaptor to use: 

<jdbcPersistenceAdapter
adapterClass="org.apache.activemq.store.jdbc.adapter.ImageBasedJDBCAdaptor"/>

http://mail-archives.apache.org/mod_mbox/activemq-users/200705.mbox/<[EMAIL 
PROTECTED]>


I have no clue where to place this in my activemq.xml file. 




ivanrc wrote:
> 
> yata!
> 
> It´s very easy!
> 
> 
> <bean id="derby-ds" class="org.apache.commons.dbcp.BasicDataSource"
> destroy-method="close">
>     <property name="driverClassName"
> value="org.apache.derby.jdbc.ClientDriver"/>
>     <property name="url" value="jdbc:derby://localhost:1527/activemq"/>
>     <property name="poolPreparedStatements" value="true"/>
>   </bean>
> 
> org.apache.derby.jdbc.ClientDriver is into derbyclient.jar that come with
> derby installation zip file
> 
> 
> 
> 
> 
> 
> ivanrc wrote:
>> 
>> Hi,
>> 
>> I would like to know if I can define the Derby DataSource (derby-ds) to
>> use the client driver  (org.apache.derby.jdbc.ClientDriver) because I
>> have ready an Apache Derby Network server listening  on port 1527.
>> 
>> If someone can write me down some example, I´ll be very glad 
>> 
>> Thanks.
>> 
> 
> 
"http://mail-archives.apache.org/mod_mbox/activemq-users/200705.mbox/<[EMAIL 
PROTECTED]
">http://mail-archives.apache.org/mod_mbox/activemq-users/200705.mbox/<[EMAIL 
PROTECTED]> 
-- 
View this message in context: 
http://www.nabble.com/Data-source-configuration-of-Apache-Derby-Network-Server%C2%B4s--with-client-driver-tp13254958p19321231.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to