The config you have looks okay as far as I can see, have you taken a look at the log file in data/log/servicemix.log to see if there's any kind of error showing up? Might also be worth upping the logging for activemq in etc/org.ops4j.pax.logging.cfg, you'd want to add:
log4j.logger.org.apache.activemq=DEBUG Hope that helps! On Thu, Jan 21, 2010 at 9:13 PM, pawan269 <[email protected]> wrote: > > Hi All, > > I am very new to ServiceMix or any ESB, and despite my 7 years of experience > on LAMP I never heard the term ESB before. I have almost no knowledge of > Java also, (Sorry !!!). > > I have ended up with ESB and need to setup and scale up for production > usage. > > Need help from you to configue MySQL (Posgres can also do) with servicemix. > I hope you will not be taking it as storing values generated by any > application. > > I am using servicemix-4.0.0, and here is content of > /usr/local/apache-servicemix-4.0.0/deploy/activemq-broker.xml, despite my > all tries it is not creating tables :(... > > Not sure what is wrong, PLEASE HELP !!! > > <persistenceAdapter> > <journaledJDBC dataDirectory="activemq-data" > createTablesOnStartup="true" journalLogFiles="5" 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://localhost:3306/activemq?relaxAutoCommit=true"/> > <property name="username" value="root"/> > <property name="password" value="****"/> > <property name="poolPreparedStatements" value="true"/> > </bean> > > JDBC drive is present at > /usr/local/apache-servicemix-4.1.0-psc-01-00RC1/lib/optional/mysql-connector-java-5.1.10-bin.jar > -- > View this message in context: > http://old.nabble.com/MySQL-configuration-tp27266466p27266466.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
