Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3842

Java Broker should report platform and memory size on startup

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Broker-J
    • Labels:
      None

      Description

      It would be useful if the Java Broker reported its platform (Java version and OS) and maximum memory size on startup. The existing operational log mechanism could be easily utilised to achieve this. This information would be useful in a support context and would aid faster problem resolution.

        Activity

        Hide
        gemmellr Robbie Gemmell added a comment -

        Looks good to me.

        Show
        gemmellr Robbie Gemmell added a comment - Looks good to me.
        Hide
        k-wall Keith Wall added a comment -

        Patch applied. Hi Robbie, can you review this commit?

        Show
        k-wall Keith Wall added a comment - Patch applied. Hi Robbie, can you review this commit?
        Hide
        k-wall Keith Wall added a comment -

        This change will give two new lines of output during startup (BRK-1010/BRK-1011):

        [Broker] BRK-1006 : Using configuration : /Users/keith/src/qpid/qpid/java/build/etc/config.xml
        [Broker] BRK-1007 : Using logging configuration : /Users/keith/src/qpid/qpid/java/build/etc/log4j.xml
        [Broker] BRK-1001 : Startup : Version: 0.15 Build: exported
        [Broker] BRK-1010 : Platform : JVM : Apple Inc. version: 1.6.0_29-b11-402-10M3527 OS : Mac OS X version: 10.6.8 arch: x86_64
        [Broker] BRK-1011 : Maximum Memory : 1,069,416,448 bytes
        [Broker] MNG-1001 : Startup
        [Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999
        [Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099
        [Broker] MNG-1004 : Ready
        [Broker] BRK-1002 : Starting : Listening on TCP port 5672
        [Broker] BRK-1004 : Qpid Broker Ready
        
        Show
        k-wall Keith Wall added a comment - This change will give two new lines of output during startup (BRK-1010/BRK-1011): [Broker] BRK-1006 : Using configuration : /Users/keith/src/qpid/qpid/java/build/etc/config.xml [Broker] BRK-1007 : Using logging configuration : /Users/keith/src/qpid/qpid/java/build/etc/log4j.xml [Broker] BRK-1001 : Startup : Version: 0.15 Build: exported [Broker] BRK-1010 : Platform : JVM : Apple Inc. version: 1.6.0_29-b11-402-10M3527 OS : Mac OS X version: 10.6.8 arch: x86_64 [Broker] BRK-1011 : Maximum Memory : 1,069,416,448 bytes [Broker] MNG-1001 : Startup [Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999 [Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099 [Broker] MNG-1004 : Ready [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [Broker] BRK-1004 : Qpid Broker Ready

          People

          • Assignee:
            gemmellr Robbie Gemmell
            Reporter:
            k-wall Keith Wall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development