Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 2:07 AM, phpslacker wrote: > Good news. I decided to start from a completely fresh installation and > follower your instructions above and she worked. yay! > > In case you're interested i've attached a diff between the new and old xml > conf to this post > > http://www.nabbl

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Dejan Bosanac
You can also try dropping activemq database in your MySQL server. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jul 7, 2009 at 9:54 AM, phpslacker wrote: > > > > bsnyder wrot

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
bsnyder wrote: > > > To use MySQL for persistence using the default activemq.xml config > file, follow these steps: > > 1) Uncomment the MySQL DataSource Sample Setup bean definition near > the end of the file > 2) Comment out the amqPersistenceAdapter > 3) Uncomment the journaledJDBC adapter

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
bsnyder wrote: > > what version of MySQL are you using? > quin...@qbuntu:/opt/activemq/bin$ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3144 Server version: 5.0.51a-3ubuntu5 (Ubuntu) bsnyder wrote: > > > Are you still seeing the same

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
Hey bruce/dejan I've edited my conf file so many times i think it best to start from scratch So i'll try a completely fresh installation of activemq Lets see if that works -- View this message in context: http://www.nabble.com/Can%27t-set-MySQL-persistence-adapter-on-startup-tp24362359p243686

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 1:23 AM, phpslacker wrote: > I've been starting up like this: > > r...@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 j

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
Dejan Bosanac wrote: > > As far as I can see, you have two tags in your config > file. Didn't test it, but can you leave only one that uses mysql and try > it > out? > Hi Dejan, I saw that too *blush* I did comment out the amq persistenceAdapter tag But i still can't start activemq -- V

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Dejan Bosanac
As far as I can see, you have two 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.net On

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
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)u8...@4vyy9&5R\"F)R=6-E+G-N>61E );'

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 12:11 AM, phpslacker wrote: > Thanks for that BUT there must be a misunderstanding here. I did exactly > those things you listed above. I'm gonna upload that conf file again: > > http://www.nabble.com/file/p24367713/activemq.xml activemq.xml Yep, that file contains all the

Re: Can't set MySQL persistence adapter on startup

2009-07-06 Thread phpslacker
bsnyder wrote: > > On Mon, Jul 6, 2009 at 2:33 PM, phpslacker wrote: >> >> Hey guys, >> >> I'm having trouble starting activemq with mysql persistence adapter. >> Activemq won't start up instead it bombs out a gazillion exceptions >> >> Below is my activemq conf file and the output of trying to

Re: Can't set MySQL persistence adapter on startup

2009-07-06 Thread Bruce Snyder
On Mon, Jul 6, 2009 at 2:33 PM, phpslacker wrote: > > Hey guys, > > I'm having trouble starting activemq with mysql persistence adapter. > Activemq won't start up instead it bombs out a gazillion exceptions > > Below is my activemq conf file and the output of trying to start activemq > with this co