You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by vezee <ar...@yahoo.com> on 2009/10/08 23:19:20 UTC

Need help to make mysql(mysql cluster 7.0) work with AMQ 5.20

Hello,

I have installed mysql cluster 7.0 as a standalone along with ActiveMQ 5.20
on Solaris 10.. Not yet configured the cluster thou. Also, copied
mysql-connector-java-5.1.10-bin.jar to ..lib/optional folder. The
configuration i have for setting up mysql in AMQ is as follows:
----------------------------
<persistenceAdapter>
             <journaledJDBC journalLogFiles="5"
            dataDirectory="${activemq.base}/activemq-data"
            dataSource="#mysql-ds"/>
         </persistenceAdapter>

<bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
      <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
      <property name="url"
value="jdbc:mysql://test.domain.com/activemq?relaxAutoCommit=true"/>
      <property name="username" value="root"/>
      <property name="password" value="password"/>
      <property name="maxActive" value="200"/>
      <property name="minPoolSize" value="5">
      <property name="maxPoolSize" value="10">
      <property name="acquireIncrement" value="3">
      <property name="poolPreparedStatements" value="true"/>
</bean>
-------------------------------------------------------
-------------------------------------------------------
When i start the AMQ, it just comes up fine BUT i don't see any reference to
"mysql" anywhere in the logs. The logs are in the DEBUG mode. 

Anyone any idea? Is it expected behaviour?

http://www.nabble.com/file/p25811806/activemq-mysql.xml.txt
activemq-mysql.xml.txt 

Attached the config and log for reference.

-vezee
-- 
View this message in context: http://www.nabble.com/Need-help-to-make-mysql%28mysql-cluster-7.0%29-work-with-AMQ-5.20-tp25811806p25811806.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.