GlassFish Server Message Queue has a broker logger, which can be useful for debugging Java Message Service (JMS) applications, including message-driven bean applications. You can adjust the logger’s verbosity, and you can send the logger output to the broker’s console using the broker’s -tty option. For more information, see the Oracle GlassFish Server Message Queue 4.5 Administration Guide.
Note - JMS resources are supported only in the full GlassFish Server, not in the Web Profile. See Chapter 17, Using the Java Message Service.