Issue Details (XML | Word | Printable)

Key: GLASSFISH-17278
Type: Bug Bug
Status: Resolved Resolved
Resolution: Works as designed
Priority: Major Major
Assignee: David Zhao
Reporter: amyk
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
glassfish

invalid setting imq.cluster.masterbroker=mq: //localhost:27676/ for a broker running on different machine is passed to brokers in cluster

Created: 07/Sep/11 08:17 PM   Updated: 04/Sep/13 05:01 PM   Resolved: 04/Jun/13 07:30 AM
Component/s: jms
Affects Version/s: 4.0.1
Fix Version/s: 4.0.1

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments: 1. Text File query.txt (10 kB) 07/Sep/11 08:17 PM - amyk

Issue Links:
Duplicate
 

Tags: 3_1_2-review
Participants: amyk, David Zhao, Nigel Deakin, poisond and Satish Kumar

  • Sub-Tasks:
  • All
  • Open

 Description  « Hide

This issue is reported from the following glassfish forum thread (attached query.txt from the posting)
http://forums.java.net/node/840957

GlassFish JMS module+JMSRA passes the following invalid cluster configuration settings to broker for a remote broker, in this case the master broker, running on a different machine from this broker
imq.cluster.masterbroker=mq://localhost:27676/
imq.cluster.brokerlist=mq://ubu2:27676/,mq://localhost:27676/

When a remote broker in a cluster runs on different machine, 'localhost' in imq.cluster.brokerlist or imq.cluster.masterbroker for that broker would not make sense. For example 2 brokers, 1 on machine1 and another on machine2, it doesn't make sense to set

imq.cluster.brokerlist=localhost:broker1-port,localhost:broker2-port

because it would mean broker1 should look for broker2 on its own machine1 -ie. 'localhost', and broker2 should look for broker1 on its own machine2.



Sort Order: Ascending order - Click to sort in descending order
Satish Kumar made changes - 21/Nov/11 08:29 AM
Field Original Value New Value
Tags 3_1_2-review
Satish Kumar made changes - 13/Dec/11 05:48 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Fix [ 2 ]
amyk made changes - 04/Jun/13 05:25 AM
Resolution Won't Fix [ 2 ]
Status Closed [ 6 ] Reopened [ 4 ]
Assignee Satish Kumar [ sats ] David Zhao [ liang.x.zhao ]
amyk made changes - 04/Jun/13 05:25 AM
Affects Version/s 4.0.1 [ 16061 ]
Affects Version/s 3.1.1 [ 14740 ]
amyk made changes - 04/Jun/13 05:38 AM
Summary invalid setting imq.cluster.masterbroker=mq: //localhost:27676/ is passed to brokers in cluster invalid setting imq.cluster.masterbroker=mq: //localhost:27676/ for a broker running on different machine is passed to brokers in cluster
Description This issue is reported from the following glassfish forum thread (attached query.txt from the posting)
http://forums.java.net/node/840957

GlassFish JMS module+JMSRA passes the following invalid cluster configuration settings to broker
imq.cluster.masterbroker=mq://localhost:27676/
imq.cluster.brokerlist=mq://ubu2:27676/,mq://localhost:27676/

This issue is reported from the following glassfish forum thread (attached query.txt from the posting)
http://forums.java.net/node/840957

GlassFish JMS module+JMSRA passes the following invalid cluster configuration settings to broker for a remote broker, in this case the master broker, running on a different machine from this broker
imq.cluster.masterbroker=mq://localhost:27676/
imq.cluster.brokerlist=mq://ubu2:27676/,mq://localhost:27676/

When a remote broker in a cluster runs on different machine, 'localhost' in imq.cluster.brokerlist or imq.cluster.masterbroker for that broker would not make sense. For example 2 brokers, 1 on machine1 and another on machine2, it doesn't make sense to set

imq.cluster.brokerlist=localhost:broker1-port,localhost:broker2-port

because it would mean broker1 should look for broker2 on its own machine1 -ie. 'localhost', and broker2 should look for broker1 on its own machine2.
David Zhao made changes - 04/Jun/13 07:30 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Works as designed [ 7 ]
David Zhao made changes - 04/Jun/13 07:30 AM
Fix Version/s 4.0.1 [ 16061 ]
Fix Version/s 3.1.2 [ 15100 ]
amyk made changes - 04/Sep/13 05:01 PM
Link This issue is duplicated by MQ-118 [ MQ-118 ]