[JIRA] Closed: (MQ-321) mq dosen't work normally after setting the port of mq broker into "0"

  • From: "amyk (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Closed: (MQ-321) mq dosen't work normally after setting the port of mq broker into "0"
  • Date: Tue, 9 Jul 2013 03:47:14 +0000 (UTC)
  • Auto-submitted: auto-generated


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

amyk closed MQ-321.
-------------------

    Fix Version/s: 5.0
       Resolution: Duplicate

This issue is the duplicate of MQ-202 which has been fixed in MQ 5.0.  In 
GlassFish 4.0 release build, imqbrokerd logs error and exits as expected

$glassfish4/mq/bin/imqbrokerd -port 0

Message Queue 5.0
Oracle
Version:  5.0  (Build 14-e)
Compile:  April 12 2013 0104
.......
[#|2013-07-08T20:38:05.923-0700|SEVERE|5.0|imq.log.Logger|_ThreadID=1;_ThreadName=main;|ERROR
 Invalid property value: imq.portmapper.port=0
|#]


Broker exiting.
------------------

The GlassFish 4.0 release build# as shown in the domain server's log

[2013-07-08T20:36:40.928-0700] [glassfish 4.0] [INFO] [NCLS-LOGGING-00009] 
[javax.enterprise.logging] [tid: _ThreadID=1 _Threa
dName=main] [timeMillis: 1373341000928] [levelValue: 800] [[
  Running GlassFish Version: GlassFish Server Open Source Edition  4.0  
(build 89)]]


> mq dosen't work normally after setting the port of mq broker into "0"
> ---------------------------------------------------------------------
>
>                 Key: MQ-321
>                 URL: https://java.net/jira/browse/MQ-321
>             Project: mq
>          Issue Type: Bug
>          Components: broker-core
>    Affects Versions: 5.0-RI (Sprint 12 - 30)
>            Reporter: David Zhao
>            Assignee: amyk
>             Fix For: 5.0
>
>
> This issue is copied from 
> [GLASSFISH-18819|https://java.net/jira/browse/GLASSFISH-18819].
> [Bug Description]
> Glassfish/mq dosen't work normally after setting the port of mq broker into 
> "0"
> [Operations]
> 1、Setting the port of mq broker by executing "%GF_HOME%\mq\bin\imqbrokerd 
> -port 0"
> Note:%GF_HOME% is Glassfish v4 Install Directory.
> 2、After executing "%GF_HOME%\mq\bin\imqcmd list svc -b localhost:0", the 
> following error
> message appeared.
> ----------------------------------------------------------------------------
> Warming: [C4003]: Error occurred on connection creation [localhost:0]. - 
> cause: jav
> a.net.ConnectException: connect: Address is invalid on local machine, or 
> port is
> not valid on remote machine
> Error while connecting to the broker on host 'localhost' and port '0'.
> com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection 
> creati
> on [localhost:0]. - cause: java.net.ConnectException: connect: Address is 
> invali
> d on local machine, or port is not valid on remote machine
> Please verify that there is a broker running on the specified host and port 
> or
> use the '-b' option to specify the correct broker host and port.
> ----------------------------------------------------------------------------
> [My Suggestion]
> I think that firstly, mq should not allow setting the port of mq broker as 
> "0", secondly,when user
> sets the port of mq broker as "0", mq should give a error message, for 
> example,
> "[B4027]: Invalid property value: port=0" in the admin-console
> [Affected versions ]
> 1 4.0_b42
> 2 gf's trunk until 2012/06/21

-- 
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] Created: (MQ-321) mq dosen't work normally after setting the port of mq broker into "0"

David Zhao (JIRA) 07/09/2013

[JIRA] Closed: (MQ-321) mq dosen't work normally after setting the port of mq broker into "0"

amyk (JIRA) 07/09/2013
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close