You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by lernit2007 <er...@googlemail.com> on 2010/04/19 10:51:24 UTC

Broker goes down when database is restarted or goes down

Hello,

if my jdbc-database is restarted or goes down, then the broker goes down
too. It is possible to say that the broker always try to connect to the
database or how can I solve this problem. Thanks im behaviour.
-- 
View this message in context: http://old.nabble.com/Broker-goes-down-when-database-is-restarted-or-goes-down-tp28287626p28287626.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Broker goes down when database is restarted or goes down

Posted by Gary Tully <ga...@gmail.com>.
Do the comments on https://issues.apache.org/activemq/browse/AMQ-2498 help
at all?

On 21 April 2010 09:07, lernit2007 <er...@googlemail.com> wrote:

>
> I use the last activemq release version.
>
>
> lernit2007 wrote:
> >
> > Hello,
> >
> > if my jdbc-database is restarted or goes down, then the broker goes down
> > too. It is possible to say that the broker always try to connect to the
> > database or how can I solve this problem. Thanks im behaviour.
> >
>
> --
> View this message in context:
> http://old.nabble.com/Broker-goes-down-when-database-is-restarted-or-goes-down-tp28287626p28287969.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Re: Broker goes down when database is restarted or goes down

Posted by magellings <ma...@qg.com>.
If you use c3p0 as a connection pooler, then you can run a slave which will
retry to obtain the lock on the lock table.  Then when the database is
restarted, or goes down, the master goes down, and the slave broker will
take over when the database comes back up.  You'll then need something to
restart the former master so it can become slave.



lernit2007 wrote:
> 
> I use the last activemq release version.
> 
> 
> lernit2007 wrote:
>> 
>> Hello,
>> 
>> if my jdbc-database is restarted or goes down, then the broker goes down
>> too. It is possible to say that the broker always try to connect to the
>> database or how can I solve this problem. Thanks im behaviour.
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Broker-goes-down-when-database-is-restarted-or-goes-down-tp28287626p28288021.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Broker goes down when database is restarted or goes down

Posted by lernit2007 <er...@googlemail.com>.
I use the last activemq release version.


lernit2007 wrote:
> 
> Hello,
> 
> if my jdbc-database is restarted or goes down, then the broker goes down
> too. It is possible to say that the broker always try to connect to the
> database or how can I solve this problem. Thanks im behaviour.
> 

-- 
View this message in context: http://old.nabble.com/Broker-goes-down-when-database-is-restarted-or-goes-down-tp28287626p28287969.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.