users@glassfish.java.net

Issues with JMS cluster

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Dec 2008 16:01:34 PST

Hi Please help

[b]Config.properties :[/b]

imq.cluster.port=7878
imq.cluster.brokerlist=A:7676,B:7676
imq.cluster.masterbroker=A:7878
imq.instanceconfig.version=300
imq.cluster.transport=tcp
imq.cluster.hostname=A
imq.cluster.url=file\:/export/home/cns/cluster.properties

Note : port 7676 is free

issue:

Could not start cluster service because Cannot assign requested address:
java.net.BindException: Cannot assign requested address
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at com.sun.messaging.jmq.jmsserver.multibroker.fullyconnected.ClusterListener.initTCPListener(ClusterImpl.java:1509)
        at com.sun.messaging.jmq.jmsserver.multibroker.fullyconnected.ClusterListener.<init>(ClusterImpl.java:1409)
        at com.sun.messaging.jmq.jmsserver.multibroker.fullyconnected.ClusterImpl.start(ClusterImpl.java:1000)
        at com.sun.messaging.jmq.jmsserver.multibroker.CommonProtocol.startClusterIO(CommonProtocol.java:181)
        at com.sun.messaging.jmq.jmsserver.multibroker.ClusterBroadcaster.startClusterIO(ClusterBroadcaster.java:113)
        at com.sun.messaging.jmq.jmsserver.Broker.<init>(Broker.java:1008)
        at com.sun.messaging.jmq.jmsserver.Broker.main(Broker.java:1491)
[25/Dec/2008:04:09:07 CST] [B1047]: Shutting down broker...
[25/Dec/2008:04:09:07 CST] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[25/Dec/2008:04:09:07 CST] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[S3002]: Could not log message to com.sun.messaging.jmq.util.log.FileLogHandler:/var/imq/instances/mqbroker/log/log.txt.
java.io.InterruptedIOException
[25/Dec/2008:04:09:07 CST] WARNING [B2105]: Attempting to initiate a cluster connection to jai.voiplab.blr/B:7676 (???) failed: [B4256]: Unable to get cluster service port from broker jai.voiplab.blr/B:7676 (???)
[25/Dec/2008:04:09:07 CST] [B1077]: Broadcast good-bye to all connections ...
[Message sent by forum member 'anzy' (anzy)]

http://forums.java.net/jive/thread.jspa?messageID=323242