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#a9638719
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to