activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzztimbo <...@chan.net>
Subject Re: Data source configuration of Apache Derby Network Server´s with client driver
Date Thu, 04 Sep 2008 22:22:15 GMT

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/<d256f9c80705060907p664a8f5dveb0c50f10a1f7105@mail.gmail.com>


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/<d256f9c80705060907p664a8f5dveb0c50f10a1f7105@mail.gmail.com
">http://mail-archives.apache.org/mod_mbox/activemq-users/200705.mbox/<d256f9c80705060907p664a8f5dveb0c50f10a1f7105@mail.gmail.com>

-- 
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.


Mime
View raw message