activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garima015 <garima_ind...@rediffmail.com>
Subject Re: Unable to recognize DB2Driver
Date Fri, 23 Mar 2007 17:21:48 GMT

With jdbc and persistence as true it is giving really bad performance.
any idea how to improve this?


tabshift wrote:
> 
> You simply need the JDBC Type 4 driver for connecting to DB2 databases.
> This file is called db2jcc.jar. Get it and put it in ActiveMQ's lib-Dir.
> 
> 
> 
> garima015 wrote:
>> 
>> Hi,
>> 
>> I am using  incubator-activemq-4.0.2.jar  and is configuring DB2 in
>> activemq.xml using
>> 
>> <bean id="db2" class="org.apache.commons.dbcp.BasicDataSource"> 
>>     <property name="driverClassName" value="com.ibm.db2.jcc.DB2Driver"/> 
>>     <property name="url" value="URL"/> 
>>     <property name="username" value="USER"/> 
>>     <property name="password" value="PASS"/>   
>>   </bean> 
>> 
>> On start of broker i am getting this error
>> ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
>> I searched in forums but seems nobody has got this error before.
>> Am i missing something in configuration.
>> Any help will be really appreciated.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-recognize-DB2Driver-tf3454188s2354.html#a9639467
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message