[JIRA] Updated: (MQ-213) If imqbrokerd is started with empty service list, no client can't connect to broker

  • From: "amyk (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Updated: (MQ-213) If imqbrokerd is started with empty service list, no client can't connect to broker
  • Date: Sun, 17 Feb 2013 05:12:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


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

amyk updated MQ-213:
--------------------

        Summary: If imqbrokerd is started with empty service list,  no client 
can't connect to broker  (was: If imqbrokerd is started with an invalid 
option, the broker does not respond at all. )
    Description: 
1. Start imqbrokerd with the value of imq.service.activelist empty.
{noformat}
C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqbrokerd 
-Dimq.service.activelist=
{noformat}

Once the command is executed, the broker starts normally.

2. imqcmd cannot be used for that broker. For example, try imqcmd list dst. 

{noformat}
C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqcmd list dst
Username: admin
Password:
Listing all the destinations on the broker specified by:

-------------------------
Host         Primary Port
-------------------------
localhost    7676

Error while connecting to the broker on host 'localhost' and port '7676'.
com.sun.messaging.jms.JMSException: [C4098]: Unknown broker service: admin
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.

Listing destinations failed.
{noformat}


  was:

1. Start imqbrokerd with the value of imq.service.activelist empty.
{noformat}
C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqbrokerd 
-Dimq.service.activelist=
{noformat}

Once the command is executed, the broker starts normally.

2. imqcmd cannot be used for that broker. For example, try imqcmd list dst. 

{noformat}
C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqcmd list dst
Username: admin
Password:
Listing all the destinations on the broker specified by:

-------------------------
Host         Primary Port
-------------------------
localhost    7676

Error while connecting to the broker on host 'localhost' and port '7676'.
com.sun.messaging.jms.JMSException: [C4098]: Unknown broker service: admin
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.

Listing destinations failed.
{noformat}



This is as expected because you deliberately didn't specify any service for 
broker to start up with to serve any client

> If imqbrokerd is started with empty service list,  no client can't connect 
> to broker
> ------------------------------------------------------------------------------------
>
>                 Key: MQ-213
>                 URL: http://java.net/jira/browse/MQ-213
>             Project: mq
>          Issue Type: Bug
>         Environment: Glassfish V4.0 b45 Windows
>            Reporter: tak09
>            Assignee: Ed Bratt
>            Priority: Trivial
>
> 1. Start imqbrokerd with the value of imq.service.activelist empty.
> {noformat}
> C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqbrokerd 
> -Dimq.service.activelist=
> {noformat}
> Once the command is executed, the broker starts normally.
> 2. imqcmd cannot be used for that broker. For example, try imqcmd list dst. 
> {noformat}
> C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqcmd list dst
> Username: admin
> Password:
> Listing all the destinations on the broker specified by:
> -------------------------
> Host         Primary Port
> -------------------------
> localhost    7676
> Error while connecting to the broker on host 'localhost' and port '7676'.
> com.sun.messaging.jms.JMSException: [C4098]: Unknown broker service: admin
> 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.
> Listing destinations failed.
> {noformat}

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

        


[JIRA] Updated: (MQ-213) If imqbrokerd is started with empty service list, no client can't connect to broker

amyk (JIRA) 02/17/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close