[JIRA] Closed: (MQ-118) broker is passed hostname that resolves Loopback IP address in GlassFish cluster setup when default host "localhost"

  • From: "amyk (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Closed: (MQ-118) broker is passed hostname that resolves Loopback IP address in GlassFish cluster setup when default host "localhost"
  • Date: Wed, 4 Sep 2013 17:03:07 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/MQ-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

amyk closed MQ-118.
-------------------

    Resolution: Duplicate

> broker is passed hostname that resolves Loopback IP address in GlassFish 
> cluster setup when default host "localhost"
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: MQ-118
>                 URL: https://java.net/jira/browse/MQ-118
>             Project: mq
>          Issue Type: Bug
>          Components: mq-ra
>    Affects Versions: 4.5
>            Reporter: amyk
>             Fix For: 5.0.1 (RI-Bug-Fix)
>
>
> The following is from GlassFish forum thread
> http://forums.java.net/node/834173
> imq.hostname must not set to "localhost" for a broker in a MQ cluster. 
> JMSRA has code to check "localhost" on brokerBindAddress passed from 
> GlassFish JMS module on setting imq.hostname,  it appears that this check 
> was either bypassed or not working in this case
> ---- from forum posting
> ".....
> <code>set --port 30048 
> configs.config.server-config.jms-service.type=LOCAL</code>
> to set the clusters properties correctly then after I create the cluster 
> (create-cluster --port 30048 APP) I am setting the cluster to local:
> <code>set --port 30048 
> configs.config.APP-config.jms-service.type=LOCAL</code>
> .......
> When I start the cluster I get the following errors:
> .......
> [#|2011-08-16T17:56:37.719+01[#|2011-08-16T17:56:37.718+0100|WARNING|glassfish3.1|javax.jms|_ThreadID=10;_ThreadName=Thread-1;|[C4003]:
>  Error occurred on connection creation [localhost:27676]. - cause: 
> java.net.SocketException: Connection reset|#]
> [#|2011-08-16T17:56:37.719+0100|WARNING|glassfish3.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=17;_ThreadName=Thread-1;|Local
>  broker: [16/Aug/2011:17:56:37 BST] ERROR [B3168]: Invalid broker address 
> for this broker to run in cluster: Loopback IP address is not allowed in 
> broker address 
> mq://127.0.0.1:27676/?instName=APPAPPDEV1&brokerID=APPAPPDEV1&brokerSessionUID=7786215590325641728&ha=true&storeSessionUID=3694976803348201984
>  for cluster|#]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Closed: (MQ-118) broker is passed hostname that resolves Loopback IP address in GlassFish cluster setup when default host "localhost"

amyk (JIRA) 09/04/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close