mq
  1. mq
  2. MQ-306

Deal with error messages when excuting "\imqcmd update bkr -o imq.system.max_size=100b"

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0-RI (Sprint 12 - 30)
    • Fix Version/s: 5.1 (RI-Bug-Fix)
    • Component/s: broker-core
    • Labels:
      None

      Description

      This was logged as glassfish issue GLASSFISH-18828. But actually it is MQ issue instead.

      [Bug Description]
      The error message shouldn't be output when update the broker by excuting "%GF_HOME%\mq\bin\imqcmd update bkr -o imq.system.max_size=100b" successfully

      [Operations]
      1、Setting the mq property by executing "%GF_HOME%\mq\bin\imqbrokerd -Dimq.system.max_size=100m" in an
      admin-console called "console1". There's no error messages output in console1
      Note:%GF_HOME% is Glassfish v4 Install Directory.

      2、After executing "%GF_HOME%\mq\bin\imqcmd update bkr -o imq.system.max_size=100b" in another admin-console
      called "console2" successfully, the following error message output in console1.

      ===========================================================================
      IMQ: ERROR: DestinationManagerConfig?: cannot parse internal value of MaxTotalMsgBytes?: java.lang.NumberFormatException?: For input string: "100b"
      IMQ: WARNING: DestinationManagerConfig?: Problem encountered while getting attribute MaxTotalMsgBytes?:
      java.lang.NumberFormatException?: For input string: "100m":
      java.lang.NumberFormatException?: For input string: "100m"
      IMQ: ERROR: DestinationManagerConfig? notification jmx.attribute.change: encountered problem while getting old
      value of attribute MaxTotalMsgBytes?: javax.management.MBeanException
      ===========================================================================

      [My Suggestion]
      when excuting "%GF_HOME%\mq\bin\imqcmd update bkr -o imq.system.max_size=100b" successfully in
      a console, the error message shouldn't be output in another admin-console.

      [Affected versions ]
      1 4.0_b41
      2 gf's trunk until 2012/06/22

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: