On 6/13/07, Arif Mohd <[EMAIL PROTECTED]> wrote:

Hi,
   I configured as follows

        <amq:persistenceAdapter>
           <!--<amq:journaledJDBC journalLogFiles="5"
dataDirectory="./data/amq"/> -->
           <!-- To use a different datasource, use th following syntax : -->
           <amq:journaledJDBC journalLogFiles="5" dataDirectory="../data"
dataSource="#mysql-ds"/>
    </amq: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://localhost:3306/test?relaxAutocCommit=true"/>
    <property name="username" value="xxx"/>
    <property name="password" value="yyy"/>
    <property name="poolPreparedStatements" value="true"/>
  </bean>


Also i changed the following in servicemix.bat

-Dderby.storage.fileSyncTransactionLog=false

Well the configuration looks fine to me. Does this happen again if you
clear the data directory inside the ServiceMix directory?

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to