message queue is not starting in cluster mode

Hi All

I have two box ,box A and box B.On both box sun access manager ,directory server ,message queue and Berkeley database are running.When i start boker by this command

./imqbrokerd -cluster -a machine1:7676,machine2:7676

or

./imqbrokerd -cluster -a machine1,machine2:7676 then it gives

05/Jul/2006:11:59:30 GMT] WARNING [B4051]: Forbidden admin:

com.sun.messaging.jmq.auth.FailedLoginException: [B4051]: Forbidden admin

OS-Solaris 10 X86

Am-2005Q1

DS-5.2

Message queue-32005Q1

plz help

Thanks

Saini

[588 byte] By [rahulsaini] at [2007-11-26 8:29:22]
# 1

It looks like an authentication (or authorization) problem vs cluster problem

* are you able to run when you arent running in cluster mode (with the same instance)

* what are you using for authentication (the normal filebased or ldap)

* have you set any acl's

* did you upgrade from a very old version (3.0.1)

Linda_Schneider at 2007-7-6 21:47:58 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 2

Hi Linda thanks for the reply.

I m using filebased authentication.i m using default userid and password.

I have two box A and B.and I m using sun web server as web container for access manager.I have not created any new instance on both box.im using default.

when i run this command ./imqbrokerd on both box then it started successfully.

For cluster mode i have created one file cluster.properties.

The path of this file is /var/imq/instances/imqbroker/cluster.properties and content of this file is imq.cluster.brokerlist=A:7676,B:7676

when i start broker in cluster mode by this command

./imqbrokerd -Dimq.cluster.url=file:/var/imq/instances/imqbroker/cluster.properties on both system

when i run this command on box A then it give me

un Java(tm) System Message Queue 3 2005Q1

Sun Microsystems, Inc.

Version: 3.6 (Build 146-W)

Compile: Tue Oct 19 15:32:41 PDT 2004

Copyright ? 2004 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

This product includes code licensed from RSA Data Security.

=============================================================================== =

Java Runtime: 1.5.0_01 Sun Microsystems Inc. /usr/jdk/instances/jdk1.5.0/jre

[06/Jul/2006:17:01:50 GMT]IMQ_HOME=/

[06/Jul/2006:17:01:50 GMT] IMQ_VARHOME=/var/imq

[06/Jul/2006:17:01:50 GMT] SunOS 5.10 x86 A (4 cpu) root

[06/Jul/2006:17:01:50 GMT] Max file descriptors: 65536 (65536)

[06/Jul/2006:17:01:50 GMT] Java Heap Size: max=189376k, current=32768k

[06/Jul/2006:17:01:50 GMT] Arguments: -Dimq.cluster.url=file:/var/imq/instances/imqbroker/cluster.properties

[06/Jul/2006:17:01:50 GMT] [B1060]: Loading persistent data...

[06/Jul/2006:17:01:50 GMT] Using built-in file-based persistent store: /var/imq/instances/imqbroker/

[06/Jul/2006:17:01:50 GMT] [B1039]: Broker "imqbroker@A:7676" ready.

[06/Jul/2006:17:01:50 GMT] WARNING [B2105]: Attempting to initiate a cluster connection to B/172.23.51.146:7676 (?) failed: Connection refused

and when i run this command on box B then

===============================================================================

Sun Java(tm) System Message Queue 3 2005Q1

Sun Microsystems, Inc.

Version: 3.6 (Build 146-W)

Compile: Tue Oct 19 15:32:41 PDT 2004

Copyright ? 2004 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

This product includes code licensed from RSA Data Security.

=============================================================================== =

Java Runtime: 1.5.0_01 Sun Microsystems Inc. /usr/jdk/instances/jdk1.5.0/jre

[06/Jul/2006:17:03:41 GMT-05:00]IMQ_HOME=/

[06/Jul/2006:17:03:41 GMT-05:00] IMQ_VARHOME=/var/imq

[06/Jul/2006:17:03:41 GMT-05:00] SunOS 5.10 x86 B (4 cpu) root

[06/Jul/2006:17:03:41 GMT-05:00] Max file descriptors: 65536 (65536)

[06/Jul/2006:17:03:41 GMT-05:00] Java Heap Size: max=189376k, current=32768k

[06/Jul/2006:17:03:41 GMT-05:00] Arguments: -Dimq.cluster.url=file:/var/imq/instances/imqbroker/cluster.properties

[06/Jul/2006:17:03:41 GMT-05:00] [B1060]: Loading persistent data...

[06/Jul/2006:17:03:41 GMT-05:00] Using built-in file-based persistent store: /var/imq/instances/imqbroker/

Start Paused

[06/Jul/2006:17:03:42 GMT-05:00] ERROR [B1073]: Pausing all the services until communication with master broker is established. The services will be resumed automatically.

[06/Jul/2006:17:03:42 GMT-05:00] [B1039]: Broker "imqbroker@B:7676" ready.

When i shutdown any broker by this command

imqcmd shutdown bkr

username-admin

password-admin

it shows successfully shutdown.

I have not upgrade any verion.I have installed message queue by sun java enterprise installer.If you need and clarification plz tell me.I m trying to resolves this problem last two week.plz help me.It is very urgent.

Once again thanks Linda.

Thanks

Saini

rahulsaini at 2007-7-6 21:47:58 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...