As far as I can see, you have two <persistanceAdapter> tags in your config
file. Didn't test it, but can you leave only one that uses mysql and try it
out?
Cheers
--
Dejan Bosanac
Open Source Integration -
http://fusesource.com/ActiveMQ in Action -
http://www.manning.com/snyder/Blog -
http://www.nighttale.netOn Tue, Jul 7, 2009 at 9:23 AM, phpslacker <
quintonparker@...> wrote:
>
>
>
> bsnyder wrote:
> >
> > If the activemq.xml file resides in the conf directory, then you
> > should be able to start up ActiveMQ using the bin/activemq startup
> > script. Is this how you are starting up ActiveMQ?
> >
> > Bruce
> > --
> > perl -e 'print
> > unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> > );'
> >
> > ActiveMQ in Action:
http://bit.ly/2je6cQ> > Blog:
http://bruceblog.org/> > Twitter:
http://twitter.com/brucesnyder> >
> >
>
> Hey bruce,
>
> I've been starting up like this:
>
> root@qbuntu:/opt/apache-activemq-5.2.0/bin# ./activemq
> xbean:file:/somewhere-else/conf/activemq.xml
>
> I've also tried the method you describe above but I still get the same
> result. Which MySQL and DBCP jars did you use? Listing of my lib/optional
> directory:
>
> root@qbuntu:/opt/apache-activemq-5.2.0/lib/optional# ls -lta
> total 13864
> drwxr-xr-x 2 root root 4096 Jul 7 08:13 .
> -rw-r--r-- 1 root root 703265 Jul 7 08:13 mysql-connector-java-5.1.6.jar
> -rw-r--r-- 1 root root 174864 Nov 6 2008 activemq-xmpp-5.2.0.jar
> -rw-r--r-- 1 root root 6631615 Nov 6 2008 activemq-rar-5.2.0.rar
> -rw-r--r-- 1 root root 78153 Nov 6 2008 activemq-optional-5.2.0.jar
> -rw-r--r-- 1 root root 38313 Nov 6 2008 activemq-pool-5.2.0.jar
> -rw-r--r-- 1 root root 81146 Nov 6 2008 activemq-jmdns_1.0-5.2.0.jar
> drwxr-xr-x 4 root root 4096 Nov 6 2008 ..
> -rw-r--r-- 1 root root 130203 Aug 8 2008 xbean-spring-3.4.jar
> -rw-r--r-- 1 root root 34409 Aug 8 2008 jetty-client-6.1.11.jar
> -rw-r--r-- 1 root root 188974 Aug 7 2008 spring-jms-2.5.5.jar
> -rw-r--r-- 1 root root 231371 Jul 30 2008 spring-tx-2.5.5.jar
> -rw-r--r-- 1 root root 411090 Jul 30 2008 xstream-1.3.jar
> -rw-r--r-- 1 root root 473406 Jul 30 2008 spring-context-2.5.5.jar
> -rw-r--r-- 1 root root 287288 Jul 30 2008 spring-core-2.5.5.jar
> -rw-r--r-- 1 root root 485785 Jul 30 2008 spring-beans-2.5.5.jar
> -rw-r--r-- 1 root root 326392 Jul 30 2008 spring-aop-2.5.5.jar
> -rw-r--r-- 1 root root 102837 Jul 24 2008 commons-dbcp-1.2.jar
> -rw-r--r-- 1 root root 118726 Jul 24 2008 commons-beanutils-1.6.1.jar
> -rw-r--r-- 1 root root 224754 Jul 24 2008 commons-httpclient-2.0.1.jar
> -rw-r--r-- 1 root root 24544 Jul 24 2008 xmlpull-1.1.3.4d_b4_min.jar
> -rw-r--r-- 1 root root 37477 Jul 24 2008
> geronimo-j2ee-connector_1.5_spec-2.0.0.jar
> -rw-r--r-- 1 root root 367444 Jul 24 2008 log4j-1.2.14.jar
> -rw-r--r-- 1 root root 2141382 Jul 24 2008 derby-10.1.3.1.jar
> -rw-r--r-- 1 root root 87077 Jul 24 2008 commons-pool-1.4.jar
> -rw-r--r-- 1 root root 103896 Jul 24 2008 activeio-core-3.1.0.jar
> -rw-r--r-- 1 root root 559366 Jul 24 2008 commons-collections-3.1.jar
>
>
> Thanks again, appreciate the help
>
>
>
>
>
>
> --
> View this message in context:
>
http://www.nabble.com/Can%27t-set-MySQL-persistence-adapter-on-startup-tp24362359p24368380.html> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>