glassfish
  1. glassfish
  2. GLASSFISH-19026

If an instance name with a space is specified with imqbrokerd, that instance cannot be shutdown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.0_b45
    • Fix Version/s: None
    • Component/s: jms
    • Labels:
      None
    • Environment:

      Windows

      Description

      If an instance name with a space is specified with imqbrokerd, that instance can be started. However, shutting down that instance fails.

      1. Start imqbrokerd with an instance name containing a space.
      imqbrokerd -name "aaa bbb"

      2. Confirm that the imqbrokerd has been started successfully.
      [#|2012-08-21T16:33:39.219+1000|FORCE|5.0|imq.log.Logger|_ThreadID=10;_ThreadName=main;|[B1039]: Bro
      ker "aaa bbb@hostname:7676" ready.

      #]

      3. Shutdown the broker fails.
      imqcmd shutdown bkr

      Shutting down the broker specified by:
      
      -------------------------
      Host         Primary Port
      -------------------------
      localhost    7676
      
      21/08/2012 4:35:04 PM com.sun.messaging.jmq.jmsclient.ExceptionHandler logCaughtException
      WARNING: [I500]: Caught JVM Exception: java.lang.StringIndexOutOfBoundsException: String index out o
      f range: -1
      21/08/2012 4:35:04 PM com.sun.messaging.jmq.jmsclient.ExceptionHandler logCaughtException
      WARNING: [I500]: Caught JVM Exception: java.lang.StringIndexOutOfBoundsException: String index out o
      f range: -1
      Error while connecting to the broker on host 'localhost' and port '7676'.
      com.sun.messaging.jms.JMSException: [C4038]: java.lang.StringIndexOutOfBoundsException: String index
       out of range: -1
      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.
      
      Shutting down the broker failed.
      

        Activity

        Hide
        David Zhao added a comment -

        Hi tak09,

        Please re-file this defect against MQ. I will close this one after that. Sorry for the inconvenience.

        -
        Thanks,
        David Zhao

        Show
        David Zhao added a comment - Hi tak09, Please re-file this defect against MQ. I will close this one after that. Sorry for the inconvenience. - Thanks, David Zhao
        Hide
        tak09 added a comment -

        I re-filed the same issue against MQ. Please refer to MQ-195

        Show
        tak09 added a comment - I re-filed the same issue against MQ. Please refer to MQ-195

          People

          • Assignee:
            David Zhao
            Reporter:
            tak09
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: