activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klate <Klaus.Terj...@bank-verlag.de>
Subject ActiveMQ and DB2
Date Thu, 06 Apr 2006 14:18:53 GMT

i'am trying to get ActiveMQ 4.0 (RC2) working with DB2. The current 
configuration (spring application xml) looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd";>
<beans>
<bean id="persistenceadapter" 
            class="org.apache.activemq.store.jdbc.JDBCPersistenceAdapter">
    <property name="dataSource" ref="db2"/>
  </bean>

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

If  start activemq  i get this message:

WARNING: Database driver NOT recognized: 
[ibm_db2_jdbc_universal_driver_architecture].  Will use default JDBC 
implementation.

and the consumer throws this 
exception:

INFO: Sync error occurred: java.io.IOException: Non-atomic batch failure. 
The 
batch was submitted, but at least one exception occurred on an individual 
member of the batch. Use getNextException() to retrieve the exceptions for 
specific batched elements.
java.io.IOException: Non-atomic batch failure.  The batch was submitted, but 
at least one exception occurred on an individual member of the batch. Use 
getNextException() to retrieve the exceptions for specific batched elements.
...

Can anybody help ? 

Best Regards 

klate



--
View this message in context: http://www.nabble.com/ActiveMQ-and-DB2-t1406269.html#a3785333
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message