![]() ![]() When the bootAMX operation of the boot-amx MBean ( amx-support domain) is clicked on that latter MBean, the full complement of AMX MBeans is available as shown in the remainder of the images. The first image shows the standard JVM Platform MBeans available and the images following that one show GlassFish-specific MBeans including the amx-support and jmxremote domains. The next set of images demonstrates using JConsole to view MBeans exposed via GlassFish and the JVM. Besides the MBeans that GlassFish exposes itself, the JVM has built-in MBeans since J2SE 5 that can be monitored in relation to the hosted GlassFish instances as well. GlassFish also supports monitoring and management via Java Management Extensions ( JMX), including JSR 77 (" J2EE Management") as I have blogged about before in my post Simple Remote JMX with GlassFish.īecause GlassFish supports a JMX interface, it can be easily monitored and managed with readily available tools such as JConsole and JVisualVM. The two approaches shown in this post so far for monitoring and managing GlassFish (web-based Admin Console GUI and GlassFish Admin Command Line Interface) are specific to GlassFish. list-commands (lists available commands) Īdditional information regarding the GlassFish Admin Command Line Interface is available in Learning GlassFish v3 Command Line Administration Interface (CLI).version to see version of GlassFish (shown in the screen snapshot below).deploy and other deployment subcommands.list-applications to list deployed applications.There are numerous sub-commands available and some of those are listed here: You can use this utility instead ofĪs the beginning of the asadmin help indicates, the asadmin utility is an alternative to the GUI-based "Administration Console interface." Use the asadmin utility to perform administrative tasks for A very small snippet from the top of this help output is shown next:Īsadmin - utility for performing administrative tasks for The command asadmin help can be used to learn more about the available commands. Running asadmin start-domain is used to start a Domain in GlassFish. ![]() ![]() In some cases, a command-line approach is preferred and GlassFish supports command-line administration with the GlassFish Admin Command Line Interface. The GlassFish Admin Console GUI offers advantages of a GUI such as ease of learning and using, but also comes with the drawbacks of a GUI (can take longer to get through the "overhead" of using the GUI approach for things that are easily done from the command line and does not work as well in scripts and headless environments). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |