ACSCA practice question 10 of 15

Which one of the following operations can NOT be performed using JMX?

Full set: 60 questions
Answer options
A: Manage Alfresco subsystems
B: DebugJavaScript extensions Correct answer
C: Enable or disable servers (FTP/CIFS)
D: Set server single-user mode
Correct Answer:
B. DebugJavaScript extensions
Explanation

Java Management Extensions (JMX) in Alfresco provide a standard interface for managing and monitoring the application server. It allows administrators to perform operations such as managing subsystems, enabling or disabling server components like FTP and CIFS, and controlling system-wide settings like single-user mode. However, JMX is not designed for application-level code debugging. Alfresco provides a dedicated JavaScript Debugger tool, accessible via a specific URL, for inspecting and debugging server-side JavaScript extensions. This tool offers features like stepping through code and inspecting variables, which are outside the scope of JMX's management and monitoring capabilities.

Why Incorrect

A. Alfresco subsystems (e.g., Authentication, Synchronization) are designed to be managed (started, stopped, and configured) directly via JMX MBeans, which is a primary administrative function.
C. The FTP and CIFS servers are implemented as Alfresco subsystems. Therefore, like other subsystems, they can be enabled or disabled at runtime using JMX operations.
D. Alfresco exposes an MBean (Alfresco:Type=Configuration,name=sysAdmin) that includes an operation to enable or disable single-user mode for maintenance tasks. ---

References

1. Alfresco Content Services 7.4 Documentation, "Using the JMX client": This section details the various administrative tasks that can be performed using a JMX client like JConsole. It explicitly mentions managing subsystems. The File Servers (CIFS/FTP) are listed as manageable subsystems.

Reference: Alfresco Content Services 7.4 Documentation > Administering > Monitoring Alfresco > Using the JMX client.

2. Alfresco Content Services 7.4 Documentation, "JMX bean categories reference": This page lists the MBeans available for management. The Alfresco:Type=Configuration,name=sysAdmin MBean is documented with its attributes and operations, including setSingleUserMode(boolean enabled).

Reference: Alfresco Content Services 7.4 Documentation > Administering > Monitoring Alfresco > JMX bean categories reference > sysAdmin.

3. Alfresco Content Services 7.4 Documentation, "The JavaScript Debugger": This document describes the dedicated tool for debugging server-side JavaScript. It details how to access the debugger via its web script URL (/alfresco/s/api/javascript/debugger) and use its features, confirming it is a separate mechanism from JMX.

Reference: Alfresco Content Services 7.4 Documentation > Developing > Customizing Share > The JavaScript Debugger.

Scroll to Top