You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by garima015 <ga...@rediffmail.com> on 2007/03/23 15:24:31 UTC
Unable to recognize DB2Driver
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#a9635901
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Unable to recognize DB2Driver
Posted by James Strachan <ja...@gmail.com>.
On 3/23/07, garima015 <ga...@rediffmail.com> wrote:
>
> With jdbc and persistence as true it is giving really bad performance.
> any idea how to improve this?
Try using the journal which helps. Though if really high performance
is required you could try AMQStore in 4.2
--
James
-------
http://radio.weblogs.com/0112098/
Re: Unable to recognize DB2Driver
Posted by garima015 <ga...@rediffmail.com>.
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.
Re: Unable to recognize DB2Driver
Posted by tabshift <be...@acoreus.de>.
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.