[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: ActiveMQ 5.15.8 fail over cluster - web console - purging a queue
From:       Jean-Baptiste_Onofré <jb () nanthrax ! net>
Date:       2022-06-22 16:32:51
Message-ID: CAB8EV3QYu0jmBdY8YUbzHDQCAO3AQgek6yiZAXQPkGnUz_W=hg () mail ! gmail ! com
[Download RAW message or body]

Hi Francisco

No, only one broker is active at a time. The master is active and has
the lock, the slave is started but passive waiting for the lock.

I just tried and it works without problem for me: I purged, deleted
queue on master console without problem. If I stop master, the slave
become the master and consistent in term of queue (at least for the
persistent queue).
I tested with ActiveMQ 5.15.15, 5.16.5 and 5.17.1.

Can you please share your version, activemq.xml and test case ?

Thanks,
Regards
JB

On Wed, Jun 22, 2022 at 5:38 PM MENDEZ Francisco
<francisco.mendez@thalesgroup.com.invalid> wrote:
>
> Hi JB,
>
> Thanks for your reply.
>
> Yes, I am using "lock", so it should work as you mentioned.
>
> Now, temporarily I have the Slave down (not running); would this affect P=
urging a Queue with the Web-Console on the Master node ?
> Perhaps, to Purge Queues in this scenario,  both Master and Slave need to=
 be running, would this be the case ?
>
>
>
> -----Original Message-----
> From: Jean-Baptiste Onofr=C3=A9 <jb@nanthrax.net>
> Sent: Wednesday, June 22, 2022 12:45 AM
> To: users@activemq.apache.org
> Subject: Re: ActiveMQ 5.15.8 fail over cluster - web console - purging a =
queue
>
> Hi Francisco
>
> Just to be clear: are you using master/slave via lock or network of broke=
rs with masterslave URL ?
>
> I'm sure master/slave lock works (I'm using it :)).
> So I guess you are using NoB with masterslave URL.
>
> Regards
> JB
>
> On Wed, Jun 22, 2022 at 12:01 AM MENDEZ Francisco <francisco.mendez@thale=
sgroup.com.invalid> wrote:
> >
> > Hello,
> >
> > When using ActiveMQ standalone installation, I am able to purge a queue=
 or delete a message from queue using the web console;  But when configurin=
g ActiveMQ as Fail Over cluster (using two nodes - master and slave configu=
ration); when attempting to purge a queue through the web console; I get a =
message that an exception happens and the purge did not work.
> >
> > Looking at the activemq log file, there is a java.lang.UnsupportedOpera=
tionException ?
> >
> > does anyone know about this?
> > I wonder if this is related to user permissions, but using the admin ac=
count, I still got the same error I mentioned above.
> >
> > or is this related to the master/slave fail over configuration?   (note=
:  at this time only the master node is running,  do I need to have the sla=
ve node running as well when purging a queue ? )
> >
> >
> > Thanks in advance for any help/feedback.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic